TrackDuino: Unterschied zwischen den Versionen

Aus
Wechseln zu: Navigation, Suche
(TrackDuino)
(TrackDuino)
Zeile 5: Zeile 5:
 
Track Display for a 1541-II Floppy Drive.
 
Track Display for a 1541-II Floppy Drive.
  
<gallery mode="traditional" widths=160px heights=160px perrow=4 caption="">
+
<gallery mode="traditional" widths=100px heights=100px perrow=7 caption="">
 
Image:TrackDuinoSchematic.gif
 
Image:TrackDuinoSchematic.gif
 +
Image:Arduino Nano.jpg
 
Image:TrackDuino01.jpg
 
Image:TrackDuino01.jpg
 
Image:1541-II-VIA 2.jpg
 
Image:1541-II-VIA 2.jpg

Version vom 27. September 2019, 14:03 Uhr


TrackDuino

Track Display for a 1541-II Floppy Drive.


Nessecary Hardware

  • an old 1541 or 1541-II Floppy Drive
  • an Arduino Nano [3€]
  • a TM1637 display (4x 7 segment) [1€]
  • a bundle jumper-wire [1€]


Nessecary Software

  • Arduino Workbench
  • Arduino Lib: digitalWriteFast
Nickson Yap digitalWriteFast
  • Arduino Lib: TimerOne


TrackDuino can do for you

  • either display the current track
  • or work as an I2C slave device sending the current track


How does it work

After reset the current track is unknown.

If Floppy Drive starts the Arduino starts reading data from inserted Floppy Disc. 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 simple to track the change of track by reading the data for the stepper motor.


Weblinks