The Globalsat ND100 is a simple, well documented USB GPS dongle, that works out of the box on the Raspberry. One of the main reasons I chose this dongle
Basically, what all these simple GPS dongles do, is emulate a USB to serial device. After plugging it in to your Raspberry, you’ll probably end up finding something like this in the dmesg output:
[ 1948.976211] usb 1-1.3: new full-speed USB device number 6 using dwc_otg
[ 1949.078597] usb 1-1.3: New USB device found, idVendor=067b, idProduct=2303
[ 1949.078635] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1949.078650] usb 1-1.3: Product: USB-Serial Controller D
[ 1949.078664] usb 1-1.3: Manufacturer: Prolific Technology Inc.
[ 1949.087957] pl2303 1-1.3:1.0: pl2303 converter detected
[ 1949.092279] usb 1-1.3: pl2303 converter now attached to ttyUSB0
Continue reading Getting data from the GPS dongle
Ultimately, the Pi is going to be powered by a car battery. Because we don’t want to drain the battery when the car is off, I searched for a way to switch off the Pi as well. Of course, when you have a switched cigarette lighter socket on your car (as most cars do), it will never drain your battery. But it will also quite rigorously shut down your Pi by just killing the power to it. Not so nice when you’re in the middle of writing data to your database on the SD card…
Continue reading Power
Why a Raspberry Pi B+? For starters, that’s what I had lying around I ordered one for testing, and later decided to use it for this project. The project can be done on an A(+) or B model, but as the A(+) only has one USB port, you probably end up using expensive breakout boards and doing a lot of wiring. I plan to do as little as possible wiring, so the four USB ports on the B+ come in handy. Here in Holland, the prices for the four versions don’t differ that much, all versions are available just under € 30, so it makes sense to just go for the B+.