0

Adafruit Ultimate GPS shield SD not initializing
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Ultimate GPS shield SD not initializing

by ks12 on Thu Feb 04, 2021 5:27 pm

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.

ks12
 
Posts: 9
Joined: Tue Feb 02, 2021 3:39 pm

Re: Adafruit Ultimate GPS shield SD not initializing

by Dad5019 on Sun Jul 11, 2021 5:31 pm

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

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

Re: Adafruit Ultimate GPS shield SD not initializing

by adafruit_support_carter on Mon Jul 12, 2021 2:35 pm

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

adafruit_support_carter
 
Posts: 20567
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

by Dad5019 on Mon Jul 12, 2021 3:15 pm

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.

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

Re: Adafruit Ultimate GPS shield SD not initializing

by adafruit_support_carter on Mon Jul 12, 2021 3:23 pm

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

You can see your GPSLOG00.TXT files, etc?

adafruit_support_carter
 
Posts: 20567
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

by Dad5019 on Mon Jul 12, 2021 4:01 pm

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.

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

Re: Adafruit Ultimate GPS shield SD not initializing

by adafruit_support_carter on Tue Jul 13, 2021 11:00 am

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

adafruit_support_carter
 
Posts: 20567
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

by Dad5019 on Tue Jul 13, 2021 11:57 am

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 39 times

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

Re: Adafruit Ultimate GPS shield SD not initializing

by adafruit_support_carter on Tue Jul 13, 2021 1:14 pm

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

adafruit_support_carter
 
Posts: 20567
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Ultimate GPS shield SD not initializing

by Dad5019 on Tue Jul 13, 2021 2:10 pm

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.

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

Re: Adafruit Ultimate GPS shield SD not initializing

by adafruit_support_carter on Tue Jul 13, 2021 2:42 pm

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

adafruit_support_carter
 
Posts: 20567
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.