Adafruit Ultimate GPS shield SD not initializing

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ks12
 
Posts: 9
Joined: Tue Feb 02, 2021 3:39 pm

Adafruit Ultimate GPS shield SD not initializing

Post by ks12 »

Hello, I recently picked up the Ultimate GPS shield and was attempting to use my Uno R3 to do some SD logging.
I have followed the steps and been successful in getting a direct and softserial uses to produce coordinates however when I move on to log these via the micro SD I am no longer successful. I've tried ver 1.3 1.2 of the adafruit library as instructed but I neither get the sheild_sdlog code to recognize my SD nor a simple Arduino ex SD readwrite.

User avatar
Dad5019
 
Posts: 7
Joined: Sat Apr 16, 2016 9:53 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by Dad5019 »

The shield_sdlog does not work. Writes nothing to sd card even with a strong gps signal.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by adafruit_support_carter »

Does the example here work as expected?
https://learn.adafruit.com/adafruit-dat ... -1949410-9

User avatar
Dad5019
 
Posts: 7
Joined: Sat Apr 16, 2016 9:53 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by Dad5019 »

I am using a ultimate GPS SD card shield with the program shield_sdlog (with a arduino UNO). All the program does is create one data file after another on the SD card. GPSLOG00.TXT then GPSLOG01.TXT up to GPSLOG99>TXT then stops. None of the files on the SD card have any data in them even though there are 10 or more satellites detected using a parsing program which prints out valid data to the serial monitor.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by adafruit_support_carter »

Does the example here work as expected?
https://learn.adafruit.com/adafruit-dat ... -1949410-9

You can see your GPSLOG00.TXT files, etc?

User avatar
Dad5019
 
Posts: 7
Joined: Sat Apr 16, 2016 9:53 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by Dad5019 »

Yes I can see the GPSLOG00.TXT type files on the SD card but they have zero data in them. I tried using one of the SD card example programs (LOGGER) and the example program does work; writing data to the SD card. So the shield works but not with the shield_sdlog program.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by adafruit_support_carter »

OK, and the SD card in general seems OK since it's actually creating and seeing the files. So it's not an issue with the SD card format, etc.

Are you running the example sketch as is? Or did you modify it?
https://github.com/adafruit/Adafruit_GP ... _sdlog.ino

User avatar
Dad5019
 
Posts: 7
Joined: Sat Apr 16, 2016 9:53 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by Dad5019 »

I did not modify it. I got the program by pressing the big green button on the instructions. I did not go directly to
https://github.com/adafruit/SD. When I try the program you just gave me I am getting a compile error. Some problem with the SD library. I will start over and go directly to github to get the SD library.
Attachments
Adafruit01.JPG
Adafruit01.JPG (22.9 KiB) Viewed 291 times

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by adafruit_support_carter »

Is the UNO R3 the only arduino board you have available?

User avatar
Dad5019
 
Posts: 7
Joined: Sat Apr 16, 2016 9:53 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by Dad5019 »

Thank you for all your help you have been extremely patient but I cannot spend more time with it right now. I''ll
try again in a few months.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

Post by adafruit_support_carter »

OK. Sorry this is not working. FWIW - I set up an UNO to try this out and I'm seeing similar issues. Reading the SD card works stand alone. Reading the GPS works stand alone. But trying to put them all together for a logger example seems to be hitting some memory limits. This isn't too surprising since an UNO is fairly limited. But this all worked at one point, so may be a case of things having changed (grown in size) with time.

Also, the "SD Logging" page of the guide appears to be out of date. The SD library it links is archived:
https://github.com/adafruit/SD

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

Return to “Arduino Shields from Adafruit”