Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:26 02 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : LS 20031 GPS from Sparkfun

Author Message
Herry

Senior Member

Joined: 31/05/2014
Location: Australia
Posts: 261
Posted: 06:17am 19 Mar 2016
Copy link to clipboard 
Print this post

Has anyone successfully used the Sparkfun GPS unit with built in aerial, known as the LS 20031? Were there any problems with its update rate of 5 per second? Also any hardware tips (it doesn't come with a connector. You have to solder on a right angle header). Does the normal code work with it?
Senior?!  Whatever it says, I'm a complete and utter beginner...
 
MM_Wombat
Senior Member

Joined: 12/12/2011
Location: Australia
Posts: 139
Posted: 11:05am 19 Mar 2016
Copy link to clipboard 
Print this post

All should work ok. The datasheet indicates the default speed is 1Hz and baudrate is 9600.

GPS Pin 5 (left-most when viewed from above) : No connection (or ground)
GPS Pin 4 : to Micromite ground (GND) pin
GPS Pin 3 : to Micromite Com1 Rx pin
GPS Pin 2 : No connection
GPS Pin 1 (right-most when viewed from above) : to Micromite 3.3V pin

The arduino had problems because the recieve buffer was too small, but the Micromites buffer is 256 characters.

I have the U-blox Neo-6M working fine @ 9600 baud

MM_Wombat
Keep plugging away, it is fun learning
But can be expensive (if you keep blowing things up).

Maximite, ColourMaximite, MM+
 
Herry

Senior Member

Joined: 31/05/2014
Location: Australia
Posts: 261
Posted: 02:01pm 24 Apr 2016
Copy link to clipboard 
Print this post

I am not having much luck with this. With the Sparkfun Venus, I have a project working fine, Baud rate 9600.

With the LS 20031, the project does not work and the whole program locks up. I have the power to the LS 20031 OK and it blinks when it has acquired the satellites, but the prog locks up as soon as I connect the TX. Anyone actually used this device successfully?
Senior?!  Whatever it says, I'm a complete and utter beginner...
 
srnet
Senior Member

Joined: 08/08/2014
Location: United Kingdom
Posts: 164
Posted: 07:27pm 24 Apr 2016
Copy link to clipboard 
Print this post

  MM_Wombat said  The arduino had problems because the recieve buffer was too small, but the Micromites buffer is 256 characters.

I have the U-blox Neo-6M working fine @ 9600 baud

MM_Wombat


Interesting, I have been using the Ublox7, Ublox8 as well as a couple of other 9600 GPS with softserial on a 8Mhz Pro Mini, no problems.

There is one issue with the TinyGPS++ library and the Ublox, you have to check that the altitude has updated before using the fix.

There is GPS code for my LoRa lost model locator here;

https://goo.gl/IeEiC1


$50SAT is Silent but probably still working.
For information on LoRa visit http://www.loratracker.uk/

 
Herry

Senior Member

Joined: 31/05/2014
Location: Australia
Posts: 261
Posted: 10:03am 26 Apr 2016
Copy link to clipboard 
Print this post

Still no luck. I note the LS20031 is a TTL device, so presumably that is not the problem, and it can be interfaced directly with the Micromite? The project works perfectly with the Sparkfun Venus. The mystery is why is hangs the whole program.Edited by Herry 2016-04-27
Senior?!  Whatever it says, I'm a complete and utter beginner...
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 11:02am 26 Apr 2016
Copy link to clipboard 
Print this post

  MM_Wombat said  
GPS Pin 5 (left-most when viewed from above) : No connection (or ground)
GPS Pin 4 : to Micromite ground (GND) pin
GPS Pin 3 : to Micromite Com1 Rx pin
GPS Pin 2 : No connection
GPS Pin 1 (right-most when viewed from above) : to Micromite 3.3V pin


I believe the above information is incorrect. From the data sheet:

  Quote  

LS20031
Pin #....Name....Type...Description
-----------------------------------------------
1........VCC.....P......Power input
2........RX......I......Data input (TTL level)
3........TX......O......Data output (TTL level)
4........GND.....P......Ground


So, the Micromite TX line would connect to pin 2 of the LS20031 and the Micromite RX line attached to pin 3 of the LS20031.

--Curtis
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
Herry

Senior Member

Joined: 31/05/2014
Location: Australia
Posts: 261
Posted: 11:17am 26 Apr 2016
Copy link to clipboard 
Print this post

I don't think the connections are the problem. My LS20031 shows a blinking light correctly when it has sufficient acquisitions. And I see no reason to connect the LS20031 RX line. As we only need to read the NMEA sentences, the TX line should be enough, shouldn't it?

However, I'm puzzled by the baud rate. The data sheet shows 9600, but much material about this unit with the Arduino (where it is being used by many) seems to strongly favour 57600.Edited by Herry 2016-04-27
Senior?!  Whatever it says, I'm a complete and utter beginner...
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 192
Posted: 11:35am 26 Apr 2016
Copy link to clipboard 
Print this post

Do you get the data when the GPS is connected to a USB serial converter and you run TeraTerm on your PC?
Rob White
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 11:38am 26 Apr 2016
Copy link to clipboard 
Print this post

  Herry said  However, I'm puzzled by the baud rate. The data sheet shows 9600, but much material about this unit with the Arduino (where it is being used by many) seems to strongly favour 57600.


I noticed 57600 reference too, but the docs clearly indicates 9600. I would take a USB to TTL adapter and connect it directly to the module. Then using Tera Term (or similar) step through the various baud rates until you see good data.

--Curtis
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025