Coder Social home page Coder Social logo

Comments (5)

Sammy1Am avatar Sammy1Am commented on August 20, 2024

A few additional details might help point toward a solution:

  • Are you using Moppy, or MoppyAdvanced
  • When you say each drive works independently, do you mean they each work when you hook them up to pins 2 and 3? Or does the second drive work on pins 4 and 5 only when the first floppy is disconnected?
  • When it fails to play music, are there any errors? Is the RX light on the Arduino blinking when you start playing the MIDI file?

If there aren't any software errors, the RX light is blinking, and both drives fail when they're hooked up, I would tend to suspect it's a wiring / grounding issue.

from moppyclassic.

Shoop63 avatar Shoop63 commented on August 20, 2024

We are using MoppyAdvanced.
The drives work in 2 and 3 and also in 3 and 4.
There are no errors that show up and the RX light does blink.

I agree and think its a grounding issue but I'm not too sure on how to go about fixing it. We have Cat5 ethernet cables for our wiring and I've tried using the copper cable from a Coaxial cable to bring the ground wires together and run them into the arduino. I think that is my point of failure.

from moppyclassic.

Sammy1Am avatar Sammy1Am commented on August 20, 2024

(Hoping you meant 4 and 5 instead of "3 and 4" =P )

My suggestion for the grounding is to run a single wire from the Arduino's GND port, and take the ground wires on the Cat5 coming from the floppy drives and wire-nut them all together (or something similar to get them all connected), rather than try to run a bunch of wires to the Arduino.

Possibly helpful background: the way the floppy drive interface works (or at least my understanding of how it works) is that the even pins are held at 5v by the floppy's internal circuitry. When they're floating (i.e. not connected to anything) the pin is essentially in the "OFF" state. When one of the even pins is connected to ground, it's considered "ON". Because the even numbered pins are connected to the Arduino's outputs, when the Arduino turns a pin "OFF", it brings it to the Arduino's ground level. If the level of the pin matches the drive's internal ground, then the drive sees it as on. If the Arduino's ground level is different, or if something is interfering with bringing the even pin to ground, it won't work.

(Apologies to anyone who actually understands circuitry if I butchered that explanation)

from moppyclassic.

Shoop63 avatar Shoop63 commented on August 20, 2024

We got it working. It was the ground wire. Thanks for the help.

from moppyclassic.

Sammy1Am avatar Sammy1Am commented on August 20, 2024

Not a problem; glad you got it working! =)

from moppyclassic.

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.