Building a Raspberry Pi Speedometer
Back in April of last year, the speedometer failed in my ‘94 Explorer.
Rather than fix the speedometer, I opted to build a new one using a Raspberry Pi.
BOM (~$100):
- Raspberry Pi 4 (~$40)
- Plastic Case (~$7)
- Raspberry Pi 3.5” LCD Display (~$30)
- Raspberry Pi-compatible GPS Receiver (~$20)
FYI: If you buy something through an Amazon link, I may earn a commission.
I discarded the top of the Raspberry Pi case, and I used a dremel tool to cut out room for the HDMI bridge that connects the LCD display to the Pi.
I set up Raspbian using NOOBS, installed Navit, and hooked up my hardware. At this point, I had a functioning speedometer and GPS display.
Next, I set up automatic login and configured Navit to launch at boot.
I used command strips to adhere the box to my dashboard (while being easy to remove), ran the magnetic GPS receiver to the underside of the roof, and ran power from a cigarette-lighter adapter. I conveniently already had a power source off the ignition switch, so the Raspberry Pi only gets power when the car is turned on. If you wire yours to an always-on power source, I suggest some kind of inline switch to make sure you don’t cause a parasitic leak.
We’re in business! After this photo, I customized Navit to make the MPH value much larger and more readable using Navit’s customization settings.
The Raspberry Pi has served as good replacement for the speedometer, and honestly was probably faster than replacing the speedometer cable that went bad in the first place. GPS is usually acquired within 15-30 seconds of starting (much faster than the cheap electronic speedometers I tested first).
Is it sexy? Not really. I don’t care - I got it working in an afternoon.