Pages: [1]   Go Down
Author Topic: microSD power usage  (Read 3366 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm adding a microSD socket to a board that I want to be as miserly as possible with power usage.

Is it worth adding the facility to cut the power from the socket to save power when the card is not being used?

I gather some go into a uW standby mode anyway if not being accessed, if that's the case it's not worth the extra hardware, especially if there's a large overhead in starting the card up again.

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The DC Characteristics of this spec might be of use to you:
http://www.robotshop.com/PDF/microSD_Spec.pdf

Looks like just stopping the clock will drop current down to 0.6mA.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Looks like just stopping the clock will drop current down to 0.6mA.
That's a start, lower would be good though.

BTW that dock is blank unless you want to install a Chinese character set, which I didn't do because my Chinese isn't up to scratch smiley

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

BTW that dock is blank unless you want to install a Chinese character set, which I didn't do because my Chinese isn't up

Haha.  Either my Chinese is getting that good, or most of the document is in English.  smiley-wink

Here's a screenshot of the DC Characteristics table for your reference.  (The rest of the document I don't think would be of much use.)


* Screen Shot 2012-02-05 at 3.24.11 PM.png (108.06 KB, 754x624 - viewed 37 times.)
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
most of the document is in English.
All I could see was a few drawings, not one character of text. Go figure.

Thanks for that. I guess it may also depend on manufacturer etc but that's a figure to work with.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I found one card that uses 150uA in standby. I think I'll forget cutting power and if you want to data log for 6 months off a battery then just use the right card. OTOH if I have some spare hardware I may still add the feature.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

How did you go with this? I am trying to do the exact same thing but with little success. Ive got similar readings for the sleeping SD (about 150uA) however seeing how the Ultra Mini Arduino I have uses 1.7uA while sleeping and the accelerometer I'm using to generate the interrupt uses 50uA it seems like a real waste.

Ive been using a transistor to switch the SD card on and off however simply interrupting the VCC or GND doesn't change the SD's power consumption that much. It only drops 20uA or so. More accurately, if I measure the power consumed by the Arduino and the SD its starts around 150uA, disconnecting SD vCC drops to 130uA, disconnecting SD GND drops again slightly. Then disconnecting Data In and the clock drops the power to 1.7uA (just the power being used by the board).

Disconnecting the Data Out is a bit unpredictable. If the SD is the only device on the bus the power spikes and quickly drops however if the accelerometer is connected by SPI the power spikes then slowly drops but never gets as low. I find this strange as while sleeping the accelerometer doesn't use the SPI bus, it simply delivers and interrupt and before sleep I'm calling SPI.end() to shutdown the BUS.

Ejecting the card does the same thing. Power spike then a decrease to 1.7uA

How do I achieve this with hardware. Put a transistor on each pin of the SD????

Any help would be great.
 
« Last Edit: February 08, 2012, 08:16:52 am by fireman_sam6986 » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,

Ive been trying to get this working but with little success. Is there a simple way to turn the SD off?

Thanks
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm back from the internet free wilderness.

In my design I have just cut the VCC but I am not using SPI to interface with the SD so I can just turn the 5-6 pins I am using to inputs. That way I think there should be almost no leakage.

If the SPI has to be used for other devices you are in trouble because I would be pretty certain that the SD circuitry will be being powered through the MOSI, MISO and SCK pins.

Maybe use a TXB0104 chip, this will both level convert (5v -> 3v3) and isolate when the power is removed from the SD.

______
Rob 
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the reply, hope you had a good weekend smiley-razz

Nothing is using the bus while the Arduino is sleeping so I guess I could try setting the pins as inputs before sleep? Do I need to pull them Low?
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8602
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

He he, my whole life is a weekend, we were in the bush for a couple of weeks.

Quote
Do I need to pull them Low?
I would do so or they will be floating, maybe 10 or 100k resistors.

______
Rob
« Last Edit: February 23, 2012, 08:08:38 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: