-
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
ControlGUI sends mdi data to serial, board serial led indicates data comes but the floppy motor doesn't move #206
Comments
Also tried testing drives by shorting pins as per guide video , motor moves back-forth indicating no hardware errors in drives Another think I tried is connecting two drives to pins 1,2,3,4 and only one of the drives work (with old Moppy(classic) INO + GUI 2.0) , the second doesn't move |
I don't think you'll be able to successfully use the MoppyClassic embedded
code with the 2.0 GUI. Please stick to using the newer embedded code as
well and let me know what happens.
Also, just want to confirm that "pins 1,2,3,4" means 2,3,4,5 (since 0 and 1
are COM pins)
…On Tue, Mar 19, 2024, 09:29 Stilyan Georgiev ***@***.***> wrote:
Also tried testing drives by shorting pins as per guide video , motor
moves back-forth indicating no hardware errors in drives
Another think I tried is connecting two drives to pins 1,2,3,4 and only
one of the drives work (with old Moppy(classic) INO + GUI 2.0) , the second
doesn't move
On board reset however, both drives make the little 'tone'.
—
Reply to this email directly, view it on GitHub
<#206 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADSF6BZXR6MHGDXL6FBH4LYZBRU3AVCNFSM6AAAAABE546HTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGYZTANZWHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Using the classic INO on the board with GUI 2.0 was just an experiment, to see if I would get something out of it.
Correct, that was confusing statement from my side. The test setup currently is: Moppy2.0 INO uploaded to the board, no errors. The avrdude while uploading determines the board signature 0x1e950f (probably m328p). As mentioned before, both boards (an Uno and Nano) are clones, non-originals. They use the CH340 driver. Moppy2.0 GUI opens via .bat When MDI starts, the serial led on board indicates activity but floppy motor doesn't move. Please let me know if more details are needed. I can also take pictures of the setup / screenshots of the GUI if necessary. |
Thank you for the additional information, it sounds like things are pretty much set up correctly. A couple notes:
|
When reset button is pressed the floppy makes a little sound but doesn't move the motor forth and backwards as shown in the video. This behavior is the same with another floppy as well, doesn't seem to be hardware issue with the floppy itself. When I'm playing around with the wires, shorting 18-DIR with 17-GND and tapping the 20-STEP the motor moves forward
Not sure if what I get on my setup considers as the 'melody', but since the board was hooked to the USB of a docking station, I tried the USB on the laptop itself. COM number changed when cable was switched but the same result, the GUI didn't show the board. |
Managed to get the motor moving with simple piece looking like so
where step = 2 ; dir = 3 (the corresponding pins) the thing movies back and forth with this |
The video was very helpful, that is not the startup melody, so it seems that the 2.0 code is not uploaded or working correctly. However the sound you are getting is probably the code resetting the drive, so there's some kind of Moppy code on there, but it might be the 1.0 code. Double check that you're definitely using the latest 2.0 code, and then I guess maybe copy and paste the full output from the IDE upload process. Sometimes it will fail to upload but be very subtle about it. |
Got it working. It is also worth mentioning to anyone reading this with similar problems - use the provided sample MDI files! Not all MDI files found on the net play for some reason. Now is play time, need to hook the 4 more floppies I got and start searching for more to make an orchestra. Thanks for your help and the work on this repo, really appreciate not having to write this up from scratch myself. |
Glad you got it working! The startup melody should default to true though: Maybe double check you're on the latest version, or let me know where you found it was disabled (maybe I've missed something) |
Oh no! Just downloaded the zip file and it's false there! 😕 What?! I'll have to fix that. |
System is Win10
Using Moppy 2.0
Tried Uno and Nano (chinese clones) to the same result
On startup or board reset the floppy indicates with a tone
Set baud rate 9600 and picked correct COM (confirmed via hardware manager)
In the upper right corner there is no indication that board is picked by the GUI software
When mdi starts the led of serial on board starts blinking
Nothing on the floppy , no movement, nothing
When using old Moppy (classic) INO on the board + the GUI 2.0
Again in upper right corner empty but the floppy motor starts moving , however , no melody , just some weird movements back and forth
The text was updated successfully, but these errors were encountered: