Introduction: GPS Boat Speedometer
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!
Step 1: Schematic and Code
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.
Step 2: The Shield
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.
Step 3: The Meter
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.
Step 4: Power Supply
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.
Step 5: Housing
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.
Step 6: Alarm
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.
Step 7: Waiting for Next Season
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.