Skip to the content
2 layersOBDGauge, the printed circuit board in 3D

A custom configurable gauge for K-line OBD interfaces

Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
37
Pads
91
Tracks, vias
167, 0
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
22 Dec 2024
Updated
23 Sep 2026

Overview

OBDGauge is an open-source printed circuit board by tealvince, from the tealvince/OBDGauge repository on GitHub, published under the GPL-2.0 licence. It is a 2-layer board with 25 parts on 37 nets, routed with 167 tracks and 0 vias.

It is built around the TM1637 and LM2903. Its parts include 8 resistors, 4 connectors, 2 diodes, 2 switches and 1 capacitor. It belongs with the interfaces and adapters boards of this library.

Main components

2

README

README.md

vOBD: The K-line Super Gauge

By Vince Lee (c)2024-2026

Description

This project is a custom OBD cluster gauge and experimentation platform for ECUs with a k-line interface, driven by an Arduino nano and intended to be installed in a 2" diameter circular pod.

prototype

Feature overview

  • 25 displayable parameters, including instantaneous and cumulative stats
  • Metric/Imperial units
  • Ability to hide/show individual gauges
  • Built-in readiness monitor reader
  • Built-in engine code reader
  • Built-in menu to clear engine codes
  • Adjustable brightness
  • Iso-9140, Kwp-2000 (slow) and Kwp-2009 (fast) interfaces
  • Numeric display with color led ring
  • Persisting of settings with auto-save on power-off
  • Auto-detect and cycling of protocols on startup or disconnect
  • Custom circuit board layout

Supported gauges (functionality is vehicle-dependent)

  • Battery voltage level
  • Accumulated runtime
  • Accumulated distance
  • Average fuel efficiency
  • Average speed
  • G-Force
  • Wheel Horsepower
  • Gear
  • NV Ratio (rpm/speed)
  • Speed
  • Tachometer
  • Coolant temp
  • Air intake pressure
  • Air intake flow
  • Throttle percentage
  • Engine load
  • Timing advance
  • Fuel tank level
  • Fuel consumption rate
  • Air/Fuel trim
  • Air/Fuel equivalence ratio
  • O2 a/b sensor voltages

General usage

  • Press button 2 to advance to the next gauge.
  • Press button 1 to see the previous gauge.
  • Long press button 1 to change brightness
  • Long press button 2 to open the settings menu.
  • Press button 2 to advance to the next item in settings menu.
  • Press button 1 to backup to previous item in settings menu.
  • Long press button 2 to select an item in the settings menu.

Settings menu items

  • Back (return to main display)

History

  • Erase all (clear cumulative/average gauges)
  • Erase cumulative distance
  • Erase cumulative fuel
  • Erase cumulative time
  • Adjust cumulative distance
  • Adjust cumulative fuel
  • Adjust cumulative time

Brighness

  • brightness levels 1-5

Gauges

  • Toggle current gauge units (metric/us)
  • All gauges to SI Units
  • All gauges to US Units
  • Hide current gauge
  • Show gauge (select from list)
  • Auto hide/show gauges based on supported PIDs
  • See info (dump raw hex data from current gauge)

Codes

  • Check readiness status
  • Read codes
  • Clear codes

Values

  • Burn adjustment (set multiplier to fine-tune fuel usage/efficiency stats)
  • Vehicle weight adjustment (used to calculate HP)
  • Show gear NV ratio thresholds
  • Start gear auto-detect drive cycle
  • Add gear
  • Remove gear
  • Edit gear threshold (1-8)

Modes

  • Toggle Loop mode (auto-advance gauges)
  • Toggle Demo mode (simulate ECU reponses)
  • Toggle Debug mode (show received bytes)
  • Enter Sniff mode (listen to K+ line and show received data; use with Y cable and other device)

Hardware

circuit board

  • Custom circuit board
  • Arduino nano every
  • Neopixel 16-LED ring light
  • TM1637 4-Digit LED numeric display
  • LM2903 Dual comparator IC
  • 2N3906 Transistor

Circuit

schematic

To read to and write from the K-Line, a dual comparator chip does the work of converting between 5V and 12V logic levels, using voltage dividers to yield 6V and 2.5V reference voltages. The output of the "write" comparator goes to a PNP transistor to pull the k-line low when sending data back to the PCM, safely sinking more current than the comparator can on its own.

To power the arduino, an ignition-switched 12V output is fed to the built-in regulator on the Arduino Nano Every (previous iterations used an external voltage regulator with a plain Arduino Nano, whole upper voltage limit was only 12V). A large capacitor briefly keeps the unit running long enough to save state to persistent memory after the ignition is turned off.

Software

The gauge software is written in C++ with minimal libraries to drive the LED displays. Serial communication is done with raw bit banging, implementing serial port communication purely in software timed off the Arduino microsecond timer.

Testing

Try out the software or experiment with code changes in a simulated environment using the following WOKWI project. Recommend enabling Demo Mode from the settings menu since the ECU itself is not simulated:

https://wokwi.com/projects/430523461712229377

Case

The case and internal spacers and supports are 3D printed. Stl files are included, as well as an svg for the front glass with laser cut holes for the buttons.

Case parts include:

  • front glass (laser cut acrylic)
  • case body (3d printed)
  • case rear (3d printed)
  • light mask for led ring (3d printed)
  • button extensions (3d printed)
  • left and right led digit spacers/supports (3d printed)
  • led ring spacer/support (3d printed)

Parts

25
QtyValueFootprintReferences
515KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R2, R3, R4, R6
2GNDTEST2, TEST3 LOG
2MountingHole_2.1mmMountingHole:MountingHole_2.1mmHOLE1, HOLE2
1+12TestPoint:TestPoint_Loop_D3.50mm_Drill0.9mm_BeadedTEST1
110000uFCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC1
110KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR8
11KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR7
130KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR5
13906Package_TO_SOT_THT:TO-92Q1
19V REGConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1DiodeDiode_THT:D_DO-35_SOD27_P12.70mm_HorizontalD1
1LEDLED_THT:LED_D3.0mmD2
1LM2903Package_DIP:DIP-8_W7.62mm_Socket_LongPadsU1
1NANO EVERYModule:Arduino_NanoA1
1NeopixelConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1OBDConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1SW1Button_Switch_THT:SW_PUSH_6mm_H8.5mmSW1
1SW2Button_Switch_THT:SW_PUSH_6mm_H8.5mmSW2
1TM1637Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3

Similar boards

  • 2 layers50 × 110 mmOgham merged v1.0, the printed circuit board in 3D

    Ogham merged v1.0

    keeos-io/ogham

    Ogham — a dual-voice bytebeat synthesizer for Eurorack. Firmware (MIT) and hardware (CC BY-SA 4.0).

    109 parts3
  • 2 layers62 × 58 mmArdustat, the printed circuit board in 3D

    Ardustat

    SeryiBaran/ardustat

    Термостат на Arduino

    16 parts2
  • 2 layers78.7 × 74.9 mmCentral panel, the printed circuit board in 3D

    Central panel

    bitsandpixels-io/kids-control-panel

    Spaceship-like control panel for kids, based on Arduino

    40 parts1MIT
  • 2 layers67 × 54 mmMp3alarm, the printed circuit board in 3D

    Mp3alarm

    fehlfarbe/ESP32-Alarm-clock

    This is an ESP32 based alarm clock that plays mp3 files from SD, webstreams or even FM radio. You can configure multiple alarms and add new songs to your sd card with a simple webinterface.

    69 parts1MIT
  • 2 layers43.8 × 21 mm036INCH 5DIGIT, the printed circuit board in 3D

    036INCH 5DIGIT

    galopago/panel-mount-7-segment-display

    Open source 7 segment serially controlled led display that fits inside a generic 45x26mm panel mount plastic enclosure. Upgrade your function specific panel meter PCB with a new one controllable by your preferred MCU.

    10 parts1MIT
  • 2 layers97 × 23.7 mmHomegreen Node Basic, the printed circuit board in 3D

    Homegreen Node Basic

    pmalessa/homegreen-Node

    The system is based on an inexpensive node, which is able to control up to 3 pumps and can be powered by nearly any conventional powerbank.

    67 parts1
  • 2 layers72 × 47.5 mmUsb 7seg, the printed circuit board in 3D

    Usb 7seg

    realglobe-Inc/usb_7seg

    Mac, LinuxマシンにUSBで接続できて追加ドライバ不要で表示できる7セグLED

    8 parts1
  • 2 layers112 × 48 mmRc v1, the printed circuit board in 3D

    Rc v1

    davidlim4318/Baseball-Machine

    MAE 156 Capstone Project Code Files

    30 parts

Questions

What parts does the OBDGauge use?

25 parts, built around the TM1637 and LM2903. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the OBDGauge KiCad files?

From the tealvince/OBDGauge repository on GitHub, at the commit this page was made from: the board is src/kicad/OBDGauge.kicad_pcb and its schematic src/kicad/OBDGauge.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the OBDGauge design in my own project?

Its repository publishes it under the GPL-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).