Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanner to L298N #112

Closed
zseawq123452 opened this issue Oct 27, 2020 · 5 comments
Closed

scanner to L298N #112

zseawq123452 opened this issue Oct 27, 2020 · 5 comments

Comments

@zseawq123452
Copy link

I connected the scanner and the L298N
However, when executed, the scanner motor only makes a small sound, and the header does not move. Which one more need to be modified?

@Sammy1Am
Copy link
Owner

I don't have any experience with L298Ns, so I can't help too much. Can you manually trigger the L298N, and does it work as expected then? (I.e. is the issue on the L298N-side of things, or the Arduino side of things)

@zseawq123452
Copy link
Author

Yes, I solved the low sound of the motor. But still, the header doesn't move. Is there anything I can modify in the code?

@Sammy1Am
Copy link
Owner

You'll need to figure out what the issue is (the head not moving is just a symptom) before we can really talk about modifications.

Are you able to manually trigger the L298N (using the signal lines you've hooked to the Arduino) and get it to move?

@zseawq123452
Copy link
Author

Yes I triggered it manually and it moved.

@Sammy1Am
Copy link
Owner

Sammy1Am commented Nov 6, 2020

Alright, it sounds like the connection from the L298N to the scanner is fine then. My only additional troubleshooting tips are:

  • Confirm that you commented the #define INSTRUMENT_FLOPPIES line, and you that you uncommented the #define INSTRUMENT_L298N line in MoppyConfig.h.
  • Double check that there are no errors in the Arduino IDE when you upload the firmware (sometimes it's very subtle about its failures)
  • Double check the connections to the Arduino. If there's any ambiguity, maybe try a different pin? (I've never connected an L298N so I don't really know anything about the pinout)

As far as I can tell, the code is mostly correct as others (see #113) are currently having success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants