PDA

View Full Version : Solved Using SDHC card with PropBOE?



HShanko
03-30-2012, 09:15 PM
I finally got a micro SD card. But when I got home and looked the package over, I noticed it read "microSDHC' card with adapter.

My question, it is 4 GB size. Is that a problem?

It is SDHC, is that a problem?

Store, Walmart, didn't have any 2 GB, just lot of larger sizes. I'm green to SD cards. Don't have anything that uses one, except for a Rayman 3.5" LCD touchscreen pcb, and that hasn't had an SD card usage yet.

If this SD card is OK, how would one format it? And, again, what format is best?

ratronic
03-30-2012, 09:39 PM
Harley I tried Kye's driver which is supposed to use higher capacity cards but have not tried anything bigger than a 2gb card with it. Here is the beginning of a program that uses it with the PROPBOE pins.

Edit you can format them on your computer and maybe with kyes code?
Con

_CLKMODE = XTAL1 + PLL16X
_XINFREQ = 5_000_000
DO = 22
CLK = 23
DI = 24
CS = 25

Var

Obj
io : "parallax serial terminal"
sd : "sd-mmc_fatengine"

Pub Init

io.start(115200)
waitcnt(clkfreq*2+cnt)
if sd.fatEngineStart( DO, CLK, DI, CS, -1, -1, -1, -1, -1)
sd.mountpartition(0)

Kye
03-30-2012, 09:49 PM
My driver supports SDHC no problem. It actually works better with the most generic brand non-specialty cards too. Kingston, SanDisk, etc.

HShanko
03-30-2012, 10:06 PM
Thank you Ratronic and Kye.

That is good news. Now I can open the packaging and 'touch' these little gems. I do have a USB i/f'd card reader that I hopefully can format them with.

Duane Degn
03-31-2012, 04:12 AM
Harley,

I hope you've seen my PropBOE-Bot project (http://forums.parallax.com/showthread.php?138903-PropBOE-Bot&p=1086427&viewfull=1#post1086427). I'm using an 8 GB card to record the robot's path and then having the robot read from the SD card to "replay" the previously recorded path.

I personally think it's pretty cool.

HShanko
03-31-2012, 07:41 PM
Got a question with microSD cards? The package doesn't mention anything about its insertion direction. I'm guessing the raised edge is a finger-nail grasping device to remove it after inserted. That means the contacts are at the back of the socket for the card, and the label means the contacts are towards the pcb. Photos are prior and after insertion:

Duane Degn
03-31-2012, 07:51 PM
Yes, you've got it correct.

Oh, and don't sneeze without securing the card first. Those things are really easy to lose.

HShanko
03-31-2012, 09:54 PM
Thanks Duane,

I just wasn't sure. I had a web site once that talked about all the various memory cards. I just didn't realize how tiny they are. A penny can completely cover microSDs; maybe a dime can also.

I don't know what's supposed to retain microSD cards. The socket on the PropBOE doesn't seem to hold it in very firmly. No push in/push to release like I have on a full-size SD card socket on Rayman's 3.5" LCD touchscreen pcb. (On that board, I lucked out on batteries; charged them back in Aug 2010 and they are still working; probably check the display several times a month.)

Lots to check out yet on the PropBOE, for sure. Such fun.