Configure UPDATE Rate on adafruit gps breakout

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
luckyodisetti
 
Posts: 2
Joined: Fri Nov 24, 2017 5:56 am

Configure UPDATE Rate on adafruit gps breakout

Post by luckyodisetti »

Using the Adafruit gps breakout board with raspberry pi. Interfacing directly with the ttyUSB0 using python Serial interface or gpsd both give update data only 1 per second. The update rate says 10hz so im assuming i should get close to 10 updates per second. Am i missing some configuration ?

User avatar
Franklin97355
 
Posts: 23902
Joined: Mon Apr 21, 2008 2:33 pm

Re: Configure UPDATE Rate on adafruit gps breakout

Post by Franklin97355 »

In the downloads section, there is a command sheet for the module and you need to set the baud rate high enough to allow the update rate first or the command will be ignored.

User avatar
luckyodisetti
 
Posts: 2
Joined: Fri Nov 24, 2017 5:56 am

Re: Configure UPDATE Rate on adafruit gps breakout

Post by luckyodisetti »

I am using a raspberry pi so cannot make use of the arduino library that is available.

However i did try the following on the terminal and i still get only 1 update per second

//setting baudrate
>echo $PMTK251,57600*2C > /dev/ttyUSB0

//setting update rate to 100 milliseconds
>echo $PTK220,100*2F > /dev/ttyUSB0

No Lucky, it continues to only send at 1 per second. Appreciate the help!

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

Return to “Ask an Engineer! VIDEO CHAT (closed)”