LS20031 with Arduino Uno

Tips and questions relating to the GPS modules from SFE

Moderator: phalanx

Post Reply
jb63
Posts: 12
Joined: Tue Dec 15, 2015 3:46 am

LS20031 with Arduino Uno

Post by jb63 » Tue Dec 15, 2015 3:54 am

Recently got a GPS unit from a local store but can't get it to work. I did the wiring as instructed on the sparkfun page (), The unit is definitely doing something as it's blinking (not regularly), but I can't get it to talk back to the PC (WIndows 7).

Anyone got detailed step-by-step instructions to get this to work?

User avatar
Ross Robotics
Support Volunteer
Posts: 2007
Joined: Thu Jun 07, 2012 9:33 pm
Contact:

Re: LS20031 with Arduino Uno

Post by Ross Robotics » Tue Dec 15, 2015 7:45 am

------------------------------------------------------------------------------------------------------------------------------------------------------------
//codlink
Available for circuit and PCB design, just PM me!

jb63
Posts: 12
Joined: Tue Dec 15, 2015 3:46 am

Re: LS20031 with Arduino Uno

Post by jb63 » Tue Dec 15, 2015 9:30 am

I never expected a solution immediately with the first reply. My intent was to start a dialogue/discussion and maybe some other people have stumbled upon issues as well, and hence, my request for a 'step-by-step' process that might be out there.

The alternative would be for me to post tons of info about my specific configuration, both hardware and software ... and then we'll go into data overload.

But ok, we're smart enough here, and your point is well taken. Darn, I wrote a PhD thesis, I should be able to ask all the right questions ;)

jb63
Posts: 12
Joined: Tue Dec 15, 2015 3:46 am

Re: LS20031 with Arduino Uno

Post by jb63 » Tue Dec 15, 2015 6:07 pm

I managed to get the software to work, but now it does not get any readings ... Any clue what is wrong here?

Code: Select all

Testing TinyGPS library v. 13
by Mikal Hart

Sats HDOP Latitude  Longitude  Fix  Date       Time     Date Alt    Course Speed Card  Distance Course Card  Chars Sentences Checksum
          (deg)     (deg)      Age                      Age  (m)    --- from GPS ----  ---- to London  ----  RX    RX        Fail
-------------------------------------------------------------------------------------------------------------------------------------
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        
**** **** ********* ********** **** ********** ******** **** ****** ****** ***** ***   *******  ****** ***   0     0         0        

jb63
Posts: 12
Joined: Tue Dec 15, 2015 3:46 am

Re: LS20031 with Arduino Uno

Post by jb63 » Wed Dec 16, 2015 5:51 am

Got it to work, issue resolved!

To get the wiring/program to work, follow instructions on this page

https://www.sparkfun.com/tutorials/176

Then, to translate the NMEA readings (in an Arduino Serial Monitor), copy/paste to this page

http://rl.se/gprmc

Do not use the TinyGPS code, it's for a demo only and does not work. It spits out only *** and does not actually talk to the GPS unit.

jremington
Support Volunteer
Posts: 2148
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: LS20031 with Arduino Uno

Post by jremington » Wed Dec 16, 2015 8:23 am

Do not use the TinyGPS code, it's for a demo only and does not work. It spits out only *** and does not actually talk to the GPS unit.
Nonsense. TinyGPS works well if used correctly.

jb63
Posts: 12
Joined: Tue Dec 15, 2015 3:46 am

Re: LS20031 with Arduino Uno

Post by jb63 » Thu Dec 17, 2015 2:34 pm

Fair enough, TinyGPS dose NOT work directly 'out-of-the-box' and needs some serious tweaking. For beginners, and in my assessment, Tiny (no matter how great it is), is NOT the way to go ... it is not for beginners.

jremington
Support Volunteer
Posts: 2148
Joined: Fri Jun 15, 2007 9:41 pm
Location: Eugene, Or

Re: LS20031 with Arduino Uno

Post by jremington » Thu Dec 17, 2015 5:36 pm

needs some serious tweaking.
Can you provide the details of what you had to do to make TinyGPS work?
I have never needed to tweak it, but I'm sure that others would be interested.

Post Reply