Raspberry Pi: How to get GPS working

How to install USB GPS dongle to Raspberry Pi Raspbian Wheezy.

I needed GPS on my Raspberry Pi to do some wardriving and I found Globalsat BU-353 GPS USB receiver SiRF III dongle which has worked perfectly.

First we have to install GPSD and GPS-Clients with apt-get:

apt-get install gpsd gpsd-clients

After that you could get gpsd working with it’s .conf file but I haven’t so I just use short script to get my GPS working:

pkill gpsd
gpsd -n -D 2 /dev/ttyUSB0

Save that example as gps.sh and give it enough rights:

chmod +x gps.sh

Now run that script and test if your GPS is working using cgps:

cgps -s

You should shortly see some NMEA data and more location data like latitude, longitude, time and so on… If you get those to your screen your GPS is working OK.

1 comment to Raspberry Pi: How to get GPS working

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>