Comments (13)
Take a close look at the output of the Arduino IDE (or screenshot it here if it seems weird), but there's a decent chance something failed while trying to upload the code. The Arduino IDE is very subtle about telling you it failed to upload the code unfortunately.
from moppy2.
from moppy2.
Ah, after closer inspection of the images (thank you for sending those), you have the step and direction pins swapped. The red wire should be on Arduino pin 2, and the black on 3.
from moppy2.
Thank you for pointing that out! The arduino now sends a signal that corresponds to the one shown in your tutorial, but my floppy drive still does the same thing as before. Could this just mean that my floppy drive is faulty?
here is a video of the issue.
https://github.com/Sammy1Am/Moppy2/assets/144593320/c42d8e6c-2985-44d7-b937-4e0801d7d619
from moppy2.
The videos are sort of helpful as the two clicks seem to suggest that:
- The Arduino probably is properly flashed (otherwise shouldn't be sending two signals on reset).
- The step and direction pins are backward.
Now I know you already tried switching them around once, but the startup tone probably causes the head to reverse direction a couple times, and each of those would be interpreted as a single step if the pins were swapped. So maybe try switching them back? (Sorry, not super helpful, I know)
You said manually touching the wires together works though, which would seem to suggest that it's NOT a floppy drive issue and is an Arduino issue. But if things uploaded successfully to the Arduino, then the Arduino is also fine and you don't have an issue... but something is clearly not working 😜
Another thing to check: when you open the MoppyControlGUI and select the correct COM port, does the Arduino information show up in the upper right of the GUI?
This shouldn't be the case, but another thing to try would be trying the other Drive Sel pin (like if you're using B use A or vise versa). I have seen at least one drive that was hardwired to be the one I wasn't expecting. Again, if manually tapping wires works as expected then this isn't an issue, but if you're looking for other things to try.
from moppy2.
Selecting the right COM port shows this (sorry about the quality)
playing a midi file then stopping it makes the floppy drive make a sound but that's about all that happens.
here is a video of the drive doing its thing when i either reset it or stop it while the GUI is playing a midi file
20230922_152149.mp4
I tried to use another drive select pin (pin 14 i believe) and it did the same thing.
Also I dont know if this helps at all but while playing a midi file the arduino's LED stays red and doesn't flash.
from moppy2.
Phew, sorry, life got pretty busy for a bit. Which MIDI file are you trying?
Because it's showing up in the UI (thank you for the screenshot) you've got everything uploaded on the Arduino side, so that's fine. And the reset noise when you reset or stop seems to suggest that the wiring is also correct (you can triple-check by manually moving the read head out a ways and see if the reset button brings it back to the beginning).
So all I've got left for guesses is that the MIDI file is weird, or the notes aren't being mapped correctly or something.
from moppy2.
No worries man. I tried using two of the three midi files that were included in the moppy software folder which are "turret opera" and "tetris"
but i have one thing to point out. When i was trying to open the java file for the first time it kept crashing so i installed a software (forgot what it's called) which had an older version of java and only then was i able to launch it.
so maybe it's that.
from moppy2.
Both of those MIDI files should have worked. (Just making sure)
Unfortunately I'm a little bit stumped. Seeing the Arduino in the GUI means the firmware flashed to the Arduino successfully, and the computer is communicating with it. The reset functionality working when you press stop or reset suggests that your floppy drive is probably wired correctly. The MIDI files were my last guess, but both of those should have notes on the first channel that would go to that drive.
I guess one last thing I can think of: could you post a screenshot of the whole MoppyControllerGUI window? Maybe something got messed up with the mapper scripts that were set up. 🤷♂️
from moppy2.
also the program i installed to make the gui launch is called adoptium
from moppy2.
Okay, so, this seems weird, but could you try:
- Switching the Condition menu to "Custom" and changing the text field to
true
. - Switching the Sub Address menu to "Custom" and changing the text field to
1
.
The default Condition is filtering on channels 1-4, but then the Sub Address does a +1, which seems to suggest that c should be 0-3. So... it's possible I screwed that up forever ago and no one's caught it somehow? Seems weird, like I said, but maybe that's what's going on.
Looks like Adoptium is some kind of Java runtime. If that were the problem I would expect more to be broken, so I think it's probably fine.
from moppy2.
It works now! thank you so much for your help!
I managed to connect all 3 drives and all of them work :D
from moppy2.
Hooray!
That's crazy that apparently that mapping script has been wrong this whole time but no one else has noticed. I'll file a bug for it and hopefully fix that eventually.
from moppy2.
Related Issues (20)
- Windows Java Runtime Error HOT 2
- MoppyGUI wont connect to arduino HOT 2
- Compilation error: 'TIMER_RESOLUTION' was not declared in this scope HOT 7
- Nothing happens HOT 1
- code not compilation HOT 4
- Notes per channels HOT 1
- MoppyControlGUI.bat crashes HOT 10
- Default Sub-Address Script is Wrong
- Флоппи HOT 1
- ControlGUI sends mdi data to serial, board serial led indicates data comes but the floppy motor doesn't move HOT 10
- Startup Sound should default to true HOT 1
- ESP32 support HOT 2
- Issue with MoppyControlGUI HOT 9
- Using without GUI ? HOT 8
- Error when uploading to Arduino R3 HOT 32
- .Bat file not openning correctly HOT 1
- Checking COM port in Network Bridges list causes error - Failed to open serialPort HOT 5
- How to connect fdd to esp8266 HOT 2
- MoppyControlGUI not starting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moppy2.