TrackDuino: A track display for a 1541 floppy drive.
- An old 1541 or 1541-II Floppy Drive
- An Arduino Nano [3€]
- A TM1637 display (4x 7 segment) [1€]
- A bundle jumper-wire [1€]
- Arduino Workbench
- Arduino Lib: digitalWriteFasthttps://github.com/NicksonYap/digitalWriteFast
- Arduino Lib: TimerOne
- Display the current track
- Work as an I2C slave device sending the current track
After reset the current track is unknown.
If floppy drive starts, the Arduino starts reading data from inserted floppy disk. It simply reads the data from internal IO device via 6522. Each track contains some data sectors, and each sector has an sector-header. The sector-header contains information about the current track# and sector# and some others.
As soon the track number is extracted from sector data it display the track number (or offers it as I2C slave). Now it is easy to track the change of track by reading the data for the stepper motor.