microSD module from Libelium
I am starting my review series talking about the microSD module from Libelium. It is a tiny board (45x23mm) that can be used with any microcontroller platform able of communicating over SPI. I got it with a 1GB microSD card and a set of male headers that allow connecting the board to the digital pins 8 to 13. It is also possible to connect the board directly to Arduino’s programming header, since the SPI port is the one used to burn the Arduino bootloader.
The nice thing about the microSD module is that when connected to the digital pins, you won’t need any other wires to get it to work. Pulling pin 8 to HIGH is enough to power up the SD card. Libelium, on their wireless sensor networks website, have made great documentation of their board.
I am writing some code examples for them for some months now. We work together in some other open source project. I ask if it was OK to pre-release some of the code I am making for them regarding SD cards. After getting a green light, I invested my Sunday night in making a nice library for this article to be found at my open source repository.
I have now a good tool to push data into the card (with some limitations), read existing files, append strings to files, log sensor data or play pre-recorded sounds (more to come on this topic). The module’s form factor make it great to be included in many of the projects I face in my everyday work. I hope I hadn’t given Dave Mellis the second microSD module we got.
Remember you can win one of this modules if you participate in Libelium’s design contest. If you cannot wait that long, it is not expensive to get one and start with your experiments.
If you want more references about this design on Arduino.cc, visit:
– http://www.arduino.cc/playground/Learning/SDMMC
– http://www.arduino.cc/playground/Main/SimilarBoards
– http://www.arduino.cc/playground/Main/Resources
For getting the board’s code:
– http://blushingboy.net/p/SDuFAT/
For getting the board:
February 23rd, 2009 at 22:08:54
Hi
Is there anyone who knows the scheme of microSD module??
Thank you
February 24th, 2009 at 22:21:40
You should ask Libelium for it, it is their design.
However, more or less all the designs dealing with SD cards have a similar starting point which is to have resistor bridges to interface the pins of the card, since they work at 3V3 and the microcontroller runs at 5V.
Hope that helps.
April 10th, 2009 at 09:44:48
Hello,
I would like to ask if the file you provide is ok, because even though I run the code and everything seems fine, it seems there is a problem with the file and I get an error when it comes to read the file or write. Forgive me if i am new in these thing, but I am really interested in your work cause of my diploma project.
Thank you
April 12th, 2009 at 08:57:00
Hej,
if you hare having problems with my code, please go to: http://blushingboy.net, register as user and post your issues at: http://blushingboy.net/p/SDuFAT/issues/
I am pretty sure this library works, so I might have to give you a hand configuring it for your set-up. Your feedback will help me making it easier for others as well, please get back with your questions.
/d
February 15th, 2011 at 10:03:56
I can only save the values 12 – 16 times in the SD card after that the code that is in http://blushingboy.net/ don’t work
February 15th, 2011 at 14:50:12
mmm.
Why don’t you send an email to them?
thanks for commenting
Davide