No access to SD - Card - Shield due to wrong circuit (?)

Hi at all,

for my latest project I try to read out the data of nine different pressure sensors and save them to an SD - Card. For this I use an Arduino Micro and the RTC Data Logger Shield ASC7503RTC from Elecrow. Unfortunately the circuit I built up does not work. To check, where the problem occurs I made the Arduino give out warnings on the Serial.monitor after each step. It turns out, that verytime I try to save the data to the shield, the SD - card remains empty. Somehow the circuit does not seem to access the card. The sensor data is displayed correctly on the Serial.monitor though.

For the SPI - Bus I used the pins as follows:

D13 on SD- card Shield to D13 on the Arduino micro
D12 on SD- card Shield to D12 on the Arduino micro
D11 on SD- card Shield to D11 on the Arduino micro
D10 on SD- card Shield to D10 on the Arduino micro

A5 on SD- card Shield to A5 on the Arduino micro
A4 on SD- card Shield to A4 on the Arduino micro

Additionally I connected:
5V on the Arduino to 5V of the SD - card shield
GND on the Arduino to GND of the SD - card shield

Do you think there is anything wrong with the circuit?

I would be very glad, if someone had suggestions for me.

Greetings (;

With all the close instructions, one can only assume the wiring is kosher, but you do not appear to be using pin D4 which is typical for the SD chip select.

Perhaps the card has not been properly formatted. Check the sticky on this matter.

I guess your code is a secret.

Hi,

thanks a lot for your fast reply.
I checked the format of the Card. This seems to be ok. I also unwired everything and combined the SD - card shield with the Arduino Uno to see, if the code works - and it worked.
So I attached the Shield to an Arduino Nano. The funny thing about it is, everytime I mount the shield directly on top of the Arduino, the code works. When I put the Arduino on an Bread - Board and connect the matching pins with wires, it doesn't.
To be sure that the hardware works correctly I used an multimeter and checked each pin, but they also seem to be alright.
This is really strange to me.
Have you ever heard of sth. like this?

Hola,

for those who stumble across the same problem:

Wiring the individual pins is stupid.
Solution: It is much more easier to use the SPI - Bus - Pins.

Connect each pin of the array in the SPI box on the Arduino Board to the appropriate pin in the box of the SD - card Shield. To simplify the wiring it can help you to create a bundle of six cables (one for each pin in the box) e.g. with the help of small heat shrink tubes. If you look closely at the SD - card shield and the Arduino you can see that one of the solderings in the SPI box is square - shaped, instead rounded. When connecting the pins make sure the square one is connected to the square one. Be careful, this is important, if you connect the pins wrongly you might kill your board!
To run the RTC additionally connect pin A5 on the Shield to pin D3 on the micro (SDA) and pin A4 on the Shield to pin D2 on the micro (SCL).

At least this worked for me (;

If it works, it works, but all seems like nonsense. I would suggest that the reason why

the circuit does not seem to access the card

is because you had no wire to the chip select pin on the shield. Having it work on the Uno proves nothing except that there is nothing intrinsically wrong with the shield, but it does suggest that the wiring thereto from the Nano is not kosher.