New Gen of Data Loggers not working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- UVMLab
- Posts: 2
- Joined: Thu Feb 17, 2022 6:28 pm
New Gen of Data Loggers not working
We just ordered a new batch of data loggers and they are not working for the old code. This current generation was purchased Jan 2022, the last set was purchased July 2020. The RTC is working, but the SD card is not. We cannot get it to read the card with either the code that was used on the old data loggers or with generic SD card code. It is saying that it cannot create a file on the SD card. The cards are formatted to FAT32 and we are unsure what is going wrong. The only difference is the old shields have worse soldering connections, and the new shields have better ones because we used flux. Please help! Is there a manufacturing error on the SD card system?
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: New Gen of Data Loggers not working
To verify you have two different versions, see here for the differences:
https://learn.adafruit.com/adafruit-dat ... -1948732-2
The key thing to note with the newer version is that the SPI connection (SD card uses this) is moved to the 2x3 header and connects to the ICSP header on the Arduino main board.
Are you using an Arduino main board with an ICSP header?
Did the 2x3 header get soldered to the shield?
https://learn.adafruit.com/adafruit-dat ... ep-2172270
https://learn.adafruit.com/adafruit-dat ... -1948732-2
The key thing to note with the newer version is that the SPI connection (SD card uses this) is moved to the 2x3 header and connects to the ICSP header on the Arduino main board.
Are you using an Arduino main board with an ICSP header?
Did the 2x3 header get soldered to the shield?
https://learn.adafruit.com/adafruit-dat ... ep-2172270
- UVMLab
- Posts: 2
- Joined: Thu Feb 17, 2022 6:28 pm
Re: New Gen of Data Loggers not working
yes, it did. I am using the redboard because I have a series of I2C components on the system as well, but don't think that should conflict.
The code seems to be working randomly, sometimes the SD card file will be opened and written on, and other times not. All that has been changing is the file name. Is there a file naming convention for the arduino system I should be aware of?
The code seems to be working randomly, sometimes the SD card file will be opened and written on, and other times not. All that has been changing is the file name. Is there a file naming convention for the arduino system I should be aware of?
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: New Gen of Data Loggers not working
By redboard, do you mean Sparkfun's Arduino board?
https://www.sparkfun.com/products/13975
If not, please link to the specific Arduino board being used.
Randomly working sounds like some kind of connection issue. Or other pin conflict. If you can post a photo of the Data Logger shield itself, we can look for anything obvious.
https://www.sparkfun.com/products/13975
If not, please link to the specific Arduino board being used.
Randomly working sounds like some kind of connection issue. Or other pin conflict. If you can post a photo of the Data Logger shield itself, we can look for anything obvious.
Please be positive and constructive with your questions and comments.