Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Help to read 5 1/4" floppy disks via Arduino?

  1. #1
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Help to read 5 1/4" floppy disks via Arduino?

    OK, I've got my stack of 5 1/4" floppy disks that I want to see if they still work. Not that there's anything valuable on them, but it would be nice to rip them.

    I've got my Arduino waiting for usage. And I'm trying to figure out where to get code.
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  2. #2
    Moderator TLHarrell's Avatar
    Join Date
    Jan 2012
    Location
    Morgan Hill, CA
    Posts
    1,143

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    I have a hammer! I can put things together! I can knock things apart! I can alter my environment at will and make an incredible din all the while! -Calvin

  3. #3
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    OK, I don't have an LCD to hook it up to; is it important? Also, what desktop software would I need?
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  4. #4
    Moderator TLHarrell's Avatar
    Join Date
    Jan 2012
    Location
    Morgan Hill, CA
    Posts
    1,143

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    I have no idea. I just found that on Google.
    I have a hammer! I can put things together! I can knock things apart! I can alter my environment at will and make an incredible din all the while! -Calvin

  5. #5
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Worst part about it? The code was submitted by a guest, so I can't track the guy down
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  6. #6
    Fox Furry crenn's Avatar
    Join Date
    Apr 2005
    Location
    In the shadows behind you
    Posts
    4,067

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Looks like the LCD prints debug information from what I can see at a quick glance, it will output raw serial data.

    This could also help:
    http://www.interfacebus.com/PC_Floppy_Drive_PinOut.html
    http://dwellertech.blogspot.com.au/2...iga-disks.html

    Can't seem to find a project to read them, mainly make the floppy drive make noise.
    Antec Sonata II | Pioneer DVR-212
    Good news! You can follow my website or follow me on twitter!

  7. #7
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Well, he's got a Kryoflux reading the floppies, not an Arduino.

    I wonder if that Arduino code is outputting a raw disk image over serial...?
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  8. #8
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Hmmm, half the connectors are ground. I've got more than 17 inputs on my Arduino. Tinker time methinks...
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

  9. #9
    Fresh Paint
    Join Date
    Jan 2013
    Posts
    2

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Hi =) I'm the guy who built the floppy autoloader in the blogspot post you linked.. Coincidentally, I'm also the same guy who uploaded that pastebin snippet =)

    As for reading floppies with an arduino.. it's doable, but insane.. the code I posted is able to reliably retrieve the pulse widths of the written data, but the arduino only has enough ram to store about 64 widths.. a standard track on a 3.5" disk could have over 56000 widths to process.. I couldn't get the data out of the arduino fast enough without destroying the accurate timing of the data being read..

    You can easily control motor on/off, step direction, and move the head, but to read & capture the data stream, you'll need to think differently.. maybe a 5.25" disk sends data slow enough that you'll have more luck (data speed is related to the rotational speed of drive, and storage density.. I was trying to read a 3.5" DD disk, that rotates in about 200ms, so within 200ms, you have to measure the widths between each pulse from the rdata line, and either store them, or process them out into 4us,6us,8us buckets, and store that to take less space.. either way the arduino either has too little ram, or too little time to do the i/o to push the data elsewhere)

    I've had more success with a 'maple', (actually an olimexino-stm32) which runs a little faster, and crucially has dma.. I got one of those to use timer data capture with dma to automatically measure the time between pulses from the rdata line, and then store the data out to an fram chip via spi.. the fram was big enough to store 64k widths.. so then the whole thing could read 1 side of 1 track, push it to the fram over spi, then pull it back from the fram, and store it down to the sdcard attached.

    That was enough for the proof of concept I wanted ;p and I'd learnt enough to know just how fickle reading data like this can be (especially when custom track formats/copy protection comes into play) so I then bought a kryoflux, as although I'll still probably finish mine, I needed something that would 'just work' to read all the floppies in the video ;p reused the original arduino to replace the motherboard of the autoloader, controlling the motor/sensors.

    It's all good fun tho =) use a kryoflux if you care about the data, but if you want to just tinker & learn how to build your own controller, go right ahead, I can offer a few pointers if you get stuck!

  10. #10
    The floppy drive is no longer obsolete. AmEv's Avatar
    Join Date
    Nov 2010
    Location
    Idaho, USA
    Posts
    3,052

    Default Re: Help to read 5 1/4" floppy disks via Arduino?

    Schweet! Author and builder has joined the party!

    Yeah, I was almost thinking of a computer-side app that would pick up the data stream, and creating a disk image. I'm an early (not original, not quite SammyIAm) adopter of floppy drive music, so I know my way around floppy drives relatively well.

    I know that 5 1/4"ers are slower, less data, and physically larger. By how much slower, I'm not sure.
    Two years. They were great. Let's make the next ones even better!

    Tri.fecta

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •