Adafruit Industries

Reading floppy disk data, part 3! itsa pulse party


Listen Later

OK so part 1 we got our wiring worked out and found an index pulse. Part 2 is we started getting MFM data coming out. Now we're capturing pulses with gpio bitbanging, and storing all the pulse widths in a large memory array. each track has a 500Khz signal, and outputs data every 5 Hz, so we have a max of 100K samples worst case.
since we're using a cortex arm with 192K~256K of RAM (the RP2040 has 264K!), its no biggie to store all the pulses in an array. here we are reading track 1 and binning the pulses: we're seeing three pulse width bins stand out, about 40 count, 62 count and 85 count. but there's also a couple ultra short pulses (25 count) and an ultra long pulse (~200 count).
each count is about 48ns-ish so that translates to 2us, 3us and 4us bins, with a few 1us and one or two 10us+. not exactly sure whats up with those outliers. do we ignore them? are they start-of-data markers? We also noticed that track 0 has way more unusually long or unbinned pulses, like almost 100 different values. its a little mysterious, we'll have to investigate if there's something special about track 0!
Part 2:
https://youtu.be/frnJ7pWr5Zg
Part 1:
https://youtu.be/ceyM6vYpT74
#floppy
#retro
#gpio
#bitbang
#pulse
#rp2040
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: https://www.instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------
...more
View all episodesView all episodes
Download on the App Store

Adafruit IndustriesBy Adafruit Industries

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

13 ratings


More shows like Adafruit Industries

View all
3D Printing Projects by Adafruit Industries

3D Printing Projects

11 Listeners

Raspberry Pi by Adafruit Industries

Raspberry Pi

23 Listeners

Ask an Engineer by Adafruit Industries

Ask an Engineer

2 Listeners

Collin's Lab by Adafruit Industries

Collin's Lab

3 Listeners

New Products by Adafruit Industries

New Products

3 Listeners

Show and Tell by Adafruit Industries

Show and Tell

0 Listeners

3D Hangouts by Adafruit Industries

3D Hangouts

1 Listeners

Circuit Playground by Adafruit Industries

Circuit Playground

0 Listeners