
Adding floppy disk support to CircuitPython, step 2
About this episode
OK now that we've gotten the motor up and running, and the drive selected in step 1 - we know our wiring is correct. step 2 is getting data out! unlike almost all protocols we're used to, there's no clock pin on floppy data. it comes out in MFM format (at least, this floppy disk format does) which means we get a series of ~500kHz open-drain pulses with short negative widths, and varying positive widths that indicate flux transitions. now the proper thing to do here is use a PLL to sync up with the pulses since the motor speed can vary a few %, then convert the pulse widths to bits of data. but we're gonna do it dirty to start, and just busy-poll the pin using a fast register gpio read and collect pulse widths, then maybe decode and bitpack them on the fly. not sure if this is workable yet, but it looks OK so far: just started collecting the data pulses and they seem to be binnable.
part 1 is here:
https://youtu.be/ceyM6vYpT74
#floppy #python #arduino
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 from Adafruit Industries
#newproducts JP’s Product Pick of the Week 11/24/26 LTC4316 I2C Address Translator https://www.adafruit.com/product/5914 Deep discount during livestream Visit the Adafruit shop online - http://www.ada…
Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Subscribe to Adafruit on YouTube: http://adafru.it/subscr…
Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Subscribe to Adafruit on YouTube: http://adafru.it/subscr…
Notes document is available here, with timecodes: https://github.com/adafruit/adafruit-circuitpython-weekly-meeting/blob/main/2026/2026-11-23.md Join here for the chat all week: http://adafru.it/disco…
Learn how to send I2S audio over the LT8912B DSI to DVI converter here: https://learn.adafruit.com/adafruit-lt8912b-dsi-to-dvi-converter/i2s-audio Visit the Adafruit shop online - http://www.adafruit.…