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.
18 thoughts on “Storage For Your Hacking Needs”
Leave a Reply
Please be kind and respectful to help make the comments section excellent. (Comment Policy)
Happy π Day
Cheers Happy pie Day
Huh, I didn’t know SD cards could interface via SPI. Learn something new every day.
There are Atmega libraries for this as well, I believe the uzebox has the hardware, if not the software already:
http://belogic.com/uzebox/
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
http://www.youtube.com/watch?v=hWWsSn_QKLM
lol and i thought i was crazy for making a IDE arduino shield, I should finish that :)
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
The floppy connector SD thing was from way back in 2006
http://hackaday.com/2006/09/12/floppy-connector-mmc-card-slot/
Not to mention you can bend header pins http://hackaday.com/2009/08/18/cheap-sd-card-cradle/
Can we have some NEW and REAL hacks please!
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.
Is the name switching to HackEveryOtherDay? :)
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…
Don’t everybody douche up the place at once now…
(?)
Who the heck is using Jal anyway? Please re-post with with a C-library that supports FAT, that would make it useful.
Thank you bob… :D
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.
JALv2 does support 18F PIC’s, and yes, there is a FAT32 library that will work on both SD cards and hard disks.