GithubHelp home page GithubHelp logo

Comments (13)

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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.

gusmuncher avatar gusmuncher commented on July 22, 2024

ide
this is all that appears

from moppy2.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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.

gusmuncher avatar gusmuncher commented on July 22, 2024

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.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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.

gusmuncher avatar gusmuncher commented on July 22, 2024

Selecting the right COM port shows this (sorry about the quality)

20230922_155026

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.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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.

gusmuncher avatar gusmuncher commented on July 22, 2024

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.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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.

gusmuncher avatar gusmuncher commented on July 22, 2024

slika

also the program i installed to make the gui launch is called adoptium

from moppy2.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

Okay, so, this seems weird, but could you try:

  1. Switching the Condition menu to "Custom" and changing the text field to true.
  2. 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.

gusmuncher avatar gusmuncher commented on July 22, 2024

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.

Sammy1Am avatar Sammy1Am commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.