SD/MMC card FAT module? (need to write data log to SD card)
charliez
Posts: 6
Is there an SD/MMC card FAT module that I can use to write to an SD card?
How are you folks doing it? Does Parallax make one? Is there an article in Nuts & Volts I haven't read?
Thanks!
How are you folks doing it? Does Parallax make one? Is there an article in Nuts & Volts I haven't read?
Thanks!
Comments
MMC-RTC1 at
http://www.bipom.com/periph_boards.shtm
and
from
uMMC Serial Data Module
http://www.roguerobotics.com/products/electronics/ummc
Michael
You can download the datasheet there too.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
"I reject my reality, and substitute yours." NOT Mythbusters
·
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
If possible, I'd rather not add to the chip count (need more power, and routing complexity) and board space (need more physical space)
If you're thinking that you may be able to access an SD/MMC card without some sort of external hardware, it's just not going to happen. In fact, there is no access to any mass storage device with most microcontrollers. They're just not "geared" that way.
If you're looking for a standard library that will work with any of these devices, there is no standard, and thus no library, I'm afraid.
I can tell you from personal experience, that the SD Datalloger that Bean is offering works flawlessly:
www.sddatalogger.com
It also offers "free" RAM storage if that is required for your application, and I don't believe the other products offer that advantage. It also is able to write both fixed and variable length records.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
www.compsys.com has a board with source code for the Pic microcontroller. It might not be possible with Basic Stamp due to code size limitations but possible elsewhere.
The sddatalogger looks interesting and small, but it is pricier than a uALFAT chip/board.
Thanks!
·
The uALFAT is only cheaper if you don't do your homework. The SD Datalogger comes with a 32 MB SD card, the uALFAT comes with NONE. The uALFAT requires a 3.3 V regulated power supply which is probably not available, which you must provide, but the SD Datalogger will work fine with ANY voltage from 3.6 volts to 7.2 volts. With the uALFAT you will also have to supply a 32 KHZ crystal, and no such crystal must be added to the SD Datalogger.
After you price up the additional things you need to add to the uALFAT, I think you'll find the SD Datalogger is quite a bargin at the indicated price of $69.95 US.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Certainly an interesting perspective, and seems I could use your insights here.
I am really looking at this from a production perspective. If I have to add to the chip count, I'd like to do it with as least cost as possible (I will not be buying unneeded components such as an SD card my customers won't use). Power supply components are simple to add with SMD devices, as are crystals. Total cost is still less than SD datalogger. With firmware and thus no additional chips, I can do without more board space, or power consumption.
With the rage of flash MP3 players there must be a solution to this problem that combines the mcu and SD access into one chip.
Am I wrong here?
Thanks!
Just for future reference, and to avoid any additional confusion, what you're looking for is called an OEM (original equipment manufacturer) solution. Most folks who have asked for SD/MMC card access here on these forums want a single BOARD (not single chip) solution. They're not really interested in building up the chip so it can be used with their microcontroller.
In your case, you may want to look at the uALFAT chip only:
http://www.ghielectronics.com/uALFAT.htm
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Post Edited (Bruce Bates) : 6/23/2006 10:16:15 AM GMT
Please contact me if you are interested in using my data logger in an OEM solution.
terry@hittconsulting.com
bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
"I reject my reality, and substitute yours." NOT Mythbusters
·
Another issue is pacing: After the Stamp issues a command with a SEROUT, it takes about a millisecond for it to set up the SERIN command to receive the response. That response might be data or it might be an error code or a handshake. The SDdatalogger has a configurable delay between characters. In constrast, both the Roguerobotics card and the uALFAT return many of their responses too fast for the Stamp to pick them up. I have been able to get those other cards to work with the Stamp, but it takes workarounds, as the error codes are lost and the system has to operate open loop. The uALFAT does have three interfaces, not only serial but also fast SPI and I2C (!), and lots of advanced capabilites, but it is more complicated and has more signal wires to the Stamp. The SDdatalogger is much more Stamp friendly.
By the way, Bruce, I think the 32khz crystal for the uALFAT is required only for the RTC function, not for the memory, and I'm not sure the RTC commands are actually implemented.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
I have been told that JUST the 32K of RAM with the serial interface is worth the price of the data logger. And your right those 32MB cards are hard to find. And do add somewhat to the price. But I wanted to give customers a "Ready to go" solution.
If you have a BOE board, you can just plug in the 3-wire cable into one of the servo connectors, and you're off like a prom dress.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
"I reject my reality, and substitute yours." NOT Mythbusters
·
You're right as rain regarding finding those 32 MB cards, but I honestly didn't look too hard, since, as you know, one can use the SD Datalogger's "Convert" (!CC) command which apparently re-calculates the geometry of larger cards. That's another real nice feature. I can use the 128 MB SD card I have either in the SD Datalogger, or in my digital camera. That also saves a few bucks!
Maybe we should give it the kindly nickname of "The Penny-pincher" That does NOT reflect the professional construction of the unit however, I should point out!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Simple, easy and fairly cheap.