Sammy1Am / Moppy2

The evolution of the Musical flOPPY controller
Other
309 stars 50 forks source link

First drive stops working when i connect second one #184

Open T0biasCZe opened 1 year ago

T0biasCZe commented 1 year ago

I have two floppy drives, both work when standalone, but when i connect the second drive while 1st is connected, the first one stops playing correctly and just starts skipping at the start floppy.webm

Sammy1Am commented 1 year ago

Hmmm, that's an interesting one. Thanks for the video though that helps a bit. A couple quick things to check:

There's no "detection" of what's connected to the Arduino, the firmware will just keep doing the same thing regardless of what's plugged in, so this points to some sort of wiring/hardware/floppydrive weirdness.

T0biasCZe commented 1 year ago

they are connected through old 200W ATX power supply, and there are few resistors between 5V and gnd to create load for the psu yes i have the ground pins on each floppy data pins connected to arduino gnd (though it would be enough to connect just 1 floppy, since the data ground and power ground is connected... so it would go from data pin on floppy 1 to power pin on floppy 1, then over the atx power cable onto the second floppy power and then to second floppy data.... :DDD) also, it odes like this only when floppy 2 is playing. if floppy 2 is not playing any sound, then the floppy 1 starts acting normally

Sammy1Am commented 1 year ago

(though it would be enough to connect just 1 floppy, since the data ground and power ground is connected... so it would go from data pin on floppy 1 to power pin on floppy 1, then over the atx power cable onto the second floppy power and then to second floppy data.... :DDD

In theory this is true, but consequently floppy ribbon cables would really only need half as many pins (why put them in there at all if the computer's PSU is grounding both the drive and the motherboard?). In practice, things can be a little more nuanced, so it's worth checking :).

It sorta seems like there are some signaling issues between the Arduino and the drives-- weird that it's always the 1st drive that drops off. I'm asking about the ground a lot because the drives "sense" the data coming from the Arduino when the voltage drops below a certain point, so if the ground is noisy or fluctuating or something, it might have trouble receiving all the data.