-
Notifications
You must be signed in to change notification settings - Fork 51
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
A3967 support #53
Comments
Hi, |
I have success with eh floppy drive so far but I don't know how to do the
same thing with scanners. Could you let me know how you are doing it?
…On Tue, Apr 9, 2019, 4:51 PM tobiaslp12 ***@***.***> wrote:
Hi,
so i modified the floppy code a bit and my scanner is now playing
notes(not sure if correct though; but YAY).
The only thing that is not working is the reset function. It technically
works but i deactivated it, because it moves the scanner head backwards,
even if it is already at the end, which means the rubber band (which moves
the scanner) skips.
How do I modify the reset function to only move the amount, it moved
forward, backwards?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#53 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AsQtHMuVYx5ZC_7je_bUzDKB074BcUgJks5vfP1RgaJpZM4b55jz>
.
|
Hi I connected the wires of the stepper motor to the Easy Driver by Brian Schmalzhaus(1 coil to the a pins and the other coil to the b pins). To power the stepper motor and the driver I currently use a lab power supply(I can change the volt etc). Be sure what power input your stepper needs. I am planning to connect a pc psu rather than the lab psu to the GND and M+ pins to power the stepper and driver. The driver can be connected as a floppy drive to the arduino and the GND pin to GND on the arduino. In my code I used 2 more pins for the speed control. Here is a simple pin table:
I need to make the code a little clearer so i'll post it when it is. It still has some problems like:
I hope you could understand how i got it to work and I could help you. |
Well, I finally did it and created a pull request (my first, yay) #105. The EasyDriver instrument needs two switches for direction changing and reset functions. The reset function is disabled by default because stepper motors can take too long to reset fully which is a bit annoying. Another reason is that by using these switches the position of the stepper motor is not important as it will always change direction if a switch is triggered. If you want to use the reset function, just uncomment the parts I commented with: "Uncomment this if you want to be able to reset the drivers!". Also make sure the variable max_position is big enough for all stepper motors connected to the arduino to fully reset. |
This has been merged into master now, and should be ready to test. I haven't uploaded a binary of the Java application yet, but the new Arduino code should be backward compatible in that regard so you should be able to just grab the source for the Arduino code, open it in the IDE, and upload it. If you get a chance to check it out, let me know how it goes so I can fix any issues. |
Hi, So thanks for helping me out with this issue and my first ever commit to a github project :) I think this issue can be closed now. |
Glad you got it working! For what it's worth (I am not a lawyer), you should be okay posting a sample. YouTube's been pretty okay with copyrighted songs existing, I just can't monetize them. Would love to hear/see a sample though! |
So it took me a while to make the third demo but here are three demos of nine floppy drives with a scanner (driven with the easydriver): |
Nice! It sounds great! And yeah, I don't know if I'm more impressed by the YouTube algorithm or the floppy drives that one of them is so good it recognizes the songs. Most of my videos got copyright claimed (even the public domain ones 😠 ), so that's a shame. |
Hi,
I want to use an unipolar stepper motor in a scanner. I have the stepper connected to an EasyDriver (4.4) but i have no idea on how to make the instrument code. Has anyone done this or are there just some small adjustments to the L298N code?
Thanks in advance
Tobias
(btw. I like the new version of moppy; Can you add to the wiki to open the .bat file with admin perm. bc i had to do it for it to work)
The text was updated successfully, but these errors were encountered: