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.
Adafruit Ultimate GPS shield SD not initializing
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Dad5019
- Posts: 7
- Joined: Sat Apr 16, 2016 9:53 pm
Re: Adafruit Ultimate GPS shield SD not initializing
The shield_sdlog does not work. Writes nothing to sd card even with a strong gps signal.
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Ultimate GPS shield SD not initializing
Does the example here work as expected?
https://learn.adafruit.com/adafruit-dat ... -1949410-9
https://learn.adafruit.com/adafruit-dat ... -1949410-9
- Dad5019
- Posts: 7
- Joined: Sat Apr 16, 2016 9:53 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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.
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Ultimate GPS shield SD not initializing
Does the example here work as expected?
https://learn.adafruit.com/adafruit-dat ... -1949410-9
You can see your GPSLOG00.TXT files, etc?
https://learn.adafruit.com/adafruit-dat ... -1949410-9
You can see your GPSLOG00.TXT files, etc?
- Dad5019
- Posts: 7
- Joined: Sat Apr 16, 2016 9:53 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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.
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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
Are you running the example sketch as is? Or did you modify it?
https://github.com/adafruit/Adafruit_GP ... _sdlog.ino
- Dad5019
- Posts: 7
- Joined: Sat Apr 16, 2016 9:53 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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.
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 (22.9 KiB) Viewed 292 times
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Ultimate GPS shield SD not initializing
Is the UNO R3 the only arduino board you have available?
- Dad5019
- Posts: 7
- Joined: Sat Apr 16, 2016 9:53 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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.
try again in a few months.
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adafruit Ultimate GPS shield SD not initializing
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
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
Please be positive and constructive with your questions and comments.