TrackDuino: Unterschied zwischen den Versionen

Aus
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
 
__TOC__
 
__TOC__
 
<br />
 
<br />
## TrackDuino ##
+
== TrackDuino ==
  
 
Track Display for a 1541 Floppy Drive
 
Track Display for a 1541 Floppy Drive
  
 
<br />
 
<br />
### Nessecary Hardware ###
+
===  Nessecary Hardware ===
  
 
* an old 1541 or 1541-II Floppy Drive
 
* an old 1541 or 1541-II Floppy Drive
Zeile 14: Zeile 14:
  
 
<br />
 
<br />
### Nessecary Software ###
+
===  Nessecary Software ===
  
 
* Arduino Workbench
 
* Arduino Workbench
Zeile 22: Zeile 22:
  
 
<br />
 
<br />
### TrackDuino can do for you ###
+
===  TrackDuino can do for you ===
 
- either display the current track  
 
- either display the current track  
 
- or work as an I2C slave device sending the current track
 
- or work as an I2C slave device sending the current track
  
 
<br />
 
<br />
### How does it work ###
+
===  How does it work ===
  
 
After reset the current track is unknown.
 
After reset the current track is unknown.

Version vom 23. August 2019, 15:05 Uhr


TrackDuino

Track Display for a 1541 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
[1]
  • 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.


![Screenshot](/docu/7-Seg-blau.jpg)