GPS Boat Speedometer

by rjkorn in Outside > Boats

4408 Views, 46 Favorites, 0 Comments

GPS Boat Speedometer

IMG_0736.JPG

When looking at the GPS sentence structure is said "Speed over ground, Knots" and I immediately thought Boat....

This could easily be adapted to any other use even that power wheels jeep!

Schematic and Code

GPS_Boat_Speedometer.bmp

All you really need is a 1K resistor on the PWM out pin connected to an analog meter movement. Or better yet a 5K pot. I don't like pots because they drift from vibration but it would make it easier to calibrate the meter.

I usually like to adjust the resistor so a value of 240 gives full scale deflection. This way you can "pin" the needle....

I added a relay for an over speed alarm and a serial port to echo the raw GPS data to other devices.

The Shield

IMG_0717.JPG
IMG_0402.JPG
IMG_0713.JPG
IMG_0718.JPG
IMG_0716.JPG

The shield is pretty straight forward. Almost verbatim from the data sheet for the Max232 chip.

I used a KSP-13 Darlington since I have dozens left over from other projects. You could probably get away with a 2N2222 but the Linkit One has a 1mA output limit so I like the extra gain.

The Meter

IMG_0739.JPG
IMG_0740.JPG
IMG_0738.JPG
IMG_0737.JPG

This can be a hard choice. I prefer older or obscure analog meters.

I chose this great edge view meter I got at a surplus house.

Its only 200uA for full scale so no amplifier needed from the Linkit One's PWM output.

Power Supply

IMG_0742.JPG
IMG_0741.JPG
IMG_0731.JPG

I used a commercial USB car charger adapter module. This is overkill but you can tap off it for other devices.

If you get one of these shorty USB cables you can connect the Linkit One without any soldering. Just make sure you get the right one or you'll have leftovers too.

Housing

IMG_0749.JPG
IMG_0751.JPG
IMG_0754.JPG
IMG_0752.JPG
IMG_0761.JPG
IMG_0755.JPG
IMG_0760.JPG
IMG_0759.JPG
IMG_0762.JPG
IMG_0764.JPG
IMG_0763.JPG

For an enclosure I used an old Wall Wart box. This also came form a surplus house. It was never used but got pretty discolored after years in the drawer.

All the power components fit in the bottom. A spacer keeps the Linkit from touching anything. Its a tight fit so no mounting bolts just a little foam rubber will do it.

First time around I tried using a coax power jack. BIG MISTAKE. They fall out easily on bumps as found out in my car. Its worse on choppy waters. Use aviation connectors and you'll be much happier. The 4 pin is for power in and meter out. The 7 pin handles serial data and alarm contacts.

Alarm

IMG_0746.JPG
IMG_0748.JPG
IMG_0747.JPG

Audible alarms probably wouldn't do me much good. You can use red 12V pilot lights like these. I went for the BIG Jeweled indicators to match my meter's age.

Waiting for Next Season

IMG_0739.JPG
IMG_0763.JPG

It's done and waiting for the spring. I may make a smaller version for my golf cart. Too bad I don't have a snowmobile to try it on.