This is the design files for an Arduino Floppy-Drive controller that is MIDI Controlled. It is a combination of the MIDI Stepper Synth V1 and Moppy Software.
The core method for controlling the floppy drives is the use of a non-blocking delay. If you want to make a stepper motor play at a certain frequency, simply pulse the pin at that specified frequency. In this case however, the position of the drive head is important, so we simply need to track the position and reverse direction when that point is reached.
Refer to the schematic for pinouts. The header pins connect to the IDE connector of the floppy drive and maintain the ground reference.
Look at this pinout:
We need to connect "drive select" together (Pins 11 and 12) to enable the drive and then connect the Step and Direction to the Shield.
12 - Drive Select (Enable)
11 - Drive Select Ground
18 - Direction
17 - Direction Ground
20 - Step
19 - Step Ground
There is a two pin header (J14) that is the programming jumper. The jumper should be installed here and removed when the Arduino is being programmed. This is because the MIDI Rx line is also use to program the Arduino when its being flashed.