arduino data logger- SD init fail

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jim3003
 
Posts: 4
Joined: Wed Aug 24, 2022 11:00 am

arduino data logger- SD init fail

Post by jim3003 »

Shield PN 1141, on an UNO R3. Two issues: first, I cannot upload any code when the shield is attached. I only get the "not synced" error and eventual timeout. Code uploads fine to the bare board. This is inconvenient, but not a killer.
Second, just running the SD library example CardinfoSD with CS set to pin 10, initialization worked once, telling me the wiring was OK, but then that it could not read FAT32. Now, I just get Initialization failed. Using 32G Sandisk HC I, slow formatted with SD utility, card R/W fine from card reader. Windows.
The RTC works fine.
Any suggestions deeply appreciated!

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: arduino data logger- SD init fail

Post by dastels »

Please post a clear photo(s) showing the header soldering on the shield.

Dave

User avatar
jim3003
 
Posts: 4
Joined: Wed Aug 24, 2022 11:00 am

Re: arduino data logger- SD init fail

Post by jim3003 »

like these?
Attachments
IMG_0404.jpg
IMG_0404.jpg (185.92 KiB) Viewed 256 times
IMG_0403.jpg
IMG_0403.jpg (227.14 KiB) Viewed 256 times

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: arduino data logger- SD init fail

Post by dastels »

What I see looks reasonable. What about the row on the other side?

Dave

User avatar
jim3003
 
Posts: 4
Joined: Wed Aug 24, 2022 11:00 am

Re: arduino data logger- SD init fail

Post by jim3003 »

Here's a picture, but it seems pretty much the same. I also checked continuity through the ICSP pins/header, and they were all good. Thanks for thinking about this!
Attachments
IMG_0408.jpg
IMG_0408.jpg (319.74 KiB) Viewed 244 times

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: arduino data logger- SD init fail

Post by dastels »

That row looks fine as well. Between the card not working and not being able to upload with the shield installed makes me think something is shorted. Something SPI related since the card uses SPI while the RTC uses I2C (and works). Double check the ICSP pins. check that there is no continuity between any of the pins. and maybe check/redo the soldering. Check the reset button on the shield while you're at it. Does the soldering look clean? Does pressing it reset the UNO? Does grounding the reset pin (shield installed) reset the UNO?

Dave

User avatar
jim3003
 
Posts: 4
Joined: Wed Aug 24, 2022 11:00 am

Re: arduino data logger- SD init fail

Post by jim3003 »

Hi Dave, based on your remarks and suspicion, I scraped and scoured around the ICSP pins, even under the header plastic bit, and sure enough, it got better. I'll take more care in future, thanks for the guidance. (FYI- the reset button worked)
I really appreciate your taking the time to help!

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: arduino data logger- SD init fail

Post by dastels »

Glad to help!

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”