Storage for your hacking needs

Sometimes your project needs a lot of non-volatile ROM, right on cue [Matthew] let us know how to not only connect, interface, read, and write to SD cards with a PIC over serial, but also how to do the above mentioned with an old PATA HDD. For those without a PIC/serial connection don’t fret, [nada] let us know about his Bus Pirate SD card hack, of which our personal favorite part is the creative use of an old 5.25″ floppy connector as the SD card socket.


  1. mrgoogfan says:

    Happy π Day

  2. Georgio says:

    Cheers Happy pie Day

  3. Peter says:

    Huh, I didn’t know SD cards could interface via SPI. Learn something new every day.

  4. nubie says:

    There are Atmega libraries for this as well, I believe the uzebox has the hardware, if not the software already:

  5. nubie says:

    The Uzebox does have SD, in fact somebody is using it to play NTSC video on an 8-bit Atmega with a resistor based DAC

  6. The Moogle says:

    lol and i thought i was crazy for making a IDE arduino shield, I should finish that :)

  7. Peter says:

    The SD/Floppy connector trick has been around for quite a while now with the old WRT54G DD-WRT mod using it for SD card expansion. Infact, I thought that was on hackaday? lol

  8. ChalkBored says:

    The floppy connector SD thing was from way back in 2006

  9. nubie says:

    Not to mention you can bend header pins

  10. Dude says:

    Can we have some NEW and REAL hacks please!

  11. nes says:

    The PATA library is very good: This gives me a thought: with 320GB laptop drives so cheap right now, why not make a 500 song jukebox without bothering with the MP3 format or any compression at all. A PIC could easily handle reading the raw audio off the drive and forwarding the data to an amp via I2S or something similar.

    I wonder how difficult it would be to rip an audio CD with the same setup and make a self contained system.

  12. Mark says:

    Is the name switching to HackEveryOtherDay? :)

  13. Rizla++ says:

    Is this even useful??? It says in their FAQ that Jalib supports only 10, 12 and 16 series of PICs (I can’t understand why Jaluino works with a 18F4550 though). And I hate Jal…

  14. strider_mt2k says:

    Don’t everybody douche up the place at once now…


  15. bob says:

    Who the heck is using Jal anyway? Please re-post with with a C-library that supports FAT, that would make it useful.

  16. Rizla++ says:

    Thank you bob… :D

  17. lowlysoundtech says:

    Man, I wish I would’ve packrat-ed that 5.25″ drive, so many uses out of that and an old dot matrix printer.

    @nes – I would love to have a music player that can handle raw audio without it being my Droid.

  18. Matt says:

    JALv2 does support 18F PIC’s, and yes, there is a FAT32 library that will work on both SD cards and hard disks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 96,434 other followers