SD Card Shorting?

Hi

I am working on a project for a carbonation chamber. I had successfully interfaced the SD card reader, LCD moniotr, CO2 sensor and arduino successfully. During this time I was able to take the SD card out to check it and then when i put it back in it would continue writing to the file no problem.

However, i was testing out a relay with a 24V DC supply i managed to fry my Arduino and LCD. Having replaced these components and successfully trialed my relay i decided to retry the previous set up. However, now when i take the SD card out and put it back in it doesn't continue to write to the text file , even though i havent changed the set up.

Is there anything obvious i will have missed? I followed the Adafruit tutorial when wiring up SD card reader

Since you've fried everything else, what makes you sure the SD isn't fried as well ?
Also - I'm assuming that you open/close the file system properly when changing the card...

If you remove an SD card in the middle of it being accessed then you will destroy it. If not immediately then sooner or later.

This is a major problem on the Raspberry Pi where you can't just remove the power to turn it off.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
In particular how you are powering you project and controlling the 24V relay.

Thanks.. Tom.. :slight_smile:

Sorry for the delay in replying. I have now tried swapping the SD card for a new one, and it still doesn't continue writing when i take it in and out. I have attached a quick drawing of the circuit ( just to clarify it is Digital pin 13 - CLK, 12 - DO, 11 - DI and 10 - DS). Apologies for the bad drawing, I need to get a proper sketch drawn up online at some point.

Also, i use the LCD backlight as a guide as to when the SD card is being written to so i am reasonably confident i haven't been taking it ut whilst it is being accessed.

Cheers

Hi,
OPs ciruit;


The one thing you have not mentioned/changed is the SD Card read/write PCB.

Have you checked that?

Tom.. :slight_smile:

Hi

Yeah i have swapped out the SD card reader itself as well. I have another spare one so may try that just to triple check.

The standard Arduino cannot do this. What have you done to enable this feature?

Show your code.

Which SD breakout board do you have? The SD card itself is 3.3V only and your schematic shows 5V going to the card. Some cards will work for a short time at 5V and then fail.

You can swap things all you like, the fact remains as mentioned in reply #2, this is something you can not do.

Hi All

Sounds like I am not going to be able to do what I wanted to do, so will just have to do the normal switch the power off and on when i take the card out and in. Thanks for all your help!!