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

A round AMOLED gauge that lives in the driver-side air vent of a Hyundai i30 N, reading the car live over the OBD-II port: oil temperature - the number the car's own dashboard hides behind a menu - plus coolant, boost…

Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
11
Pads
31
Tracks, vias
33, 6
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
12 Oct 2026
Updated
7 Nov 2026

Overview

Carrier is an open-source printed circuit board by kubiq, from the kubiq/n-gauge repository on GitHub, published under the MIT licence. It is a 2-layer board with 10 parts on 11 nets, routed with 33 tracks and 6 vias.

README

README.md

N Gauge

The pod on the dash, showing oil and coolant on a cold engine

A round AMOLED gauge that lives in the driver-side air vent of a Hyundai i30 N, reading the car live over the OBD-II port: oil temperature - the number the car's own dashboard hides behind a menu - plus coolant, boost, tyre pressures, a g-meter, GPS speed and a lap timer. It logs every drive to an SD card, uploads the logs home by itself as the car starts - over the phone's hotspot and a WireGuard VPN - and a phone app pulls them off it and shows each drive on a map.

Everything here was built for one car and is in daily use in it. It is a hobby project, published in case the findings, the code or the approach help someone with the same car or the same board.

The driver's view: the pod above the left vent, beside the cluster The pod switched off - a printed housing on the vent

From the driver's seat, beside the car's own cluster; and switched off - the 3D-printed housing replaces the left air vent's surround.

The phone app: every drive, named after where it went and grouped by week, with the gauge in the header - its last sync, like a watch in Garmin Connect; a tap on it syncs, then the phone is back on the internet. A drive on the map, coloured by speed, and its speed, boost, temperatures and voltage over time. More in mobile/.

Oil and coolant Boost and torque The g-meter Tyre pressures and temperatures

GPS speed and trip The lap timer, with the delta to the best lap The lap timer with the oil over-temperature warning around it Waking up: the N badge until the car answers

The gauge's screens - oil and coolant, boost, the g-meter, tyres, GPS, and the lap timer 1.8 s up on the best lap, the arc filling up to the line - then the oil over its warning on the in-lap, a red rim over whichever screen is up, and the N badge it wakes up with. Swiped through on the gauge; these are from the simulator on a made-up track session (sim/screenshots.sh).

What it does

  • Gauges: oil and coolant (concentric arcs, with a cold-engine "not ready" state, and over-temperature warnings on every screen), boost, a g-meter, the four tyre pressures and temperatures, GPS speed and trip distance, a lap timer that finds the start/finish line by itself (tap START in the pit, then drive), with how far the line is and the live delta to the best lap.
  • Logging: a CSV of every drive (2 Hz, decoded values - battery voltage, fuel rate, lambda, catalyst and fuel rail among them), a GPX track at 25 Hz, a sleep log, and for each track session a Racelogic .vbo with every channel, which lap analysers open (HackTheTrack, Circuit Tools). Logs can be encrypted to a key only the phone holds, so a card taken out of the gauge gives nothing away. GPS points are kept only while the car talks or really moves, so a parked car's GPS drift is not a drive.
  • Upload home: as the car starts - in the garage or setting off, where the GPS matters least - the gauge joins the phone's hotspot (a phone routine turns it on when it connects to the car's Bluetooth), opens a WireGuard tunnel into the home network and sends a small service on the home server (server/) whatever it lacks, resuming where the last upload stopped. The logs go as encrypted as they are on the card. Set up once in the app: the hotspot, the VPN (the gauge makes its own key; the app shows its public half for the router) and the server, with a time limit for how long the hotspot is the gauge's. Measured first, with a test build: transmitting costs ~6 dB of GNSS signal at any WiFi power, so it happens in the seconds an upload takes, not the whole drive.
  • Waking up: the N badge until the car answers, so the gauges never show a row of dashes; with a PC on USB, a status page for the desk.
  • Power: deep sleep when the car goes quiet, ~11 mA parked (about 57 days on the battery); wakes on CAN activity, the button, or the door opening (the IMU's wake-on-motion).
  • Phone: its own WiFi access point with settings pages, OTA firmware updates with rollback, and an Android app (mobile/) that joins it from a QR code on the gauge, syncs the logs by itself and then lets go of the gauge's WiFi, so the phone is back on the internet. Each drive is named after where it started and ended (offline, from GeoNames - your own places like "Home" win), grouped by week, with its track on a map and its speed, boost, temperatures and voltage as charts. Delete a drive and it goes from the gauge too. A notification says when the gauge has a new drive (it puts a mark in its WiFi beacon), the synced drives can be saved to a folder by themselves, and the gauge's System card shows which part of it holds the internal RAM. English or Czech; dark themes or light.
  • Diagnostics: a line per boot on the card (GPS rate, clock, CAN, RAM, why it last reset - and after a watchdog reset, which task it was), and the gauge's own WiFi repairs a join that got no address.

Hardware

Part
Waveshare ESP32-S3-Touch-AMOLED-1.75466×466 round AMOLED, touch, IMU, PMU, SD slot
SN65HVD230CAN transceiver, on OBD pins 6 and 14
u-blox NEO-M9NGNSS, 25 Hz
TPS5430 buck12 V → 5 V from OBD pin 16
3D-printed vent podreplaces the left air vent; STLs in mechanical/pod
carrier PCBKiCad, in hardware/carrier - replaces the breakout boards

Things worked out about the i30 N

Most of this took real drives and a lot of wrong turns; the reasoning, and the wrong turns, are in DECISIONS.md.

  • Oil temperature is byte 34 of the Mode 22 reply to DID 0xE001 (engine ECU, 0x7E0): °C = raw × 0.7435 − 49.2, matched against the dashboard up to 100 °C. Mode 01 PID 0x5C is not supported. Byte 25 of the same reply looks like oil but is coolant-derived - and correlating bytes against the coolant curve picks it, which is how it was wrongly used for weeks.
  • Coolant as the dashboard shows it is byte 25 of that reply, a few degrees below PID 0x05.
  • Tyre pressures and temperatures come from the TPMS module (0x7A0, DID 0xC00B), not the ECU.
  • The OBD port is behind a gateway: no broadcast traffic reaches it, only replies to requests - so brake, pedal and steering cannot be read passively there.
  • Gear is derived from rpm ÷ speed; the measured ratios are in config.h.
  • Battery / charging voltage is plain Mode 01 PID 0x42: 14.4-15.0 V running, 9.9-10.6 V cranking, 12.1-12.7 V just after switching off. Then the ECU answers 0.00 V for a few seconds before going quiet - drop it, it is not the battery.

Repository

Path
firmware/car_gauge_v1the gauge firmware (Arduino, ESP32 core 3.x, LVGL 9)
mobilethe Android app (Expo / React Native)
serverthe upload service the gauge sends its logs to (Python, Docker)
simthe gauge firmware on a PC: its screens in a window, fed a recorded drive
testshost tests of the firmware's pure logic
hardware, mechanicalcarrier PCB, 3D-printed parts
DECISIONS.mdwhy things are the way they are
PROTOTYPE_GUIDE.md, PRINTING_GUIDE.mdwiring the prototype; printing the pod

Building

Firmware (details):

sh
./scripts/setup-libs.sh          # Arduino core, pinned libraries, lv_conf
./scripts/build.sh gauge flash   # compile and flash over USB
./scripts/test.sh                # host tests
./scripts/check.sh               # before a commit: tests, both firmware builds, the sim, the server

The upload server (details), on the home server:

sh
cd server && echo "UPLOAD_TOKEN=$(openssl rand -hex 16)" > .env
docker compose up -d --build

The gauge on a PC (details) - needs SDL2 and CMake:

sh
sim/run.sh                       # the newest drive in data/, in a window
scripts/make_track_gpx.py        # a made-up track session to drive it with
sim/screenshots.sh               # these screenshots, into docs/gauge/

App (details):

sh
cd mobile && ./scripts/build-apk.sh install   # release APK onto a phone over adb

Caveats

  • Not affiliated with Hyundai. "Hyundai", "i30 N" and the N badge used in the boot screen and the app icon are Hyundai's trademarks; they appear here only to say which car this is for.
  • The gauge only reads - standard OBD and diagnostic requests, nothing that writes to the car. Still: it is your car, your OBD port and your responsibility, and a device on the dash must not distract from driving or sit in an airbag's path.
  • Built and tested on one car, a European i30 N Fastback. Other model years or markets may answer differently.

Licence

MIT. Third-party assets keep their own licences - see firmware/assets/README.md. The place names in the app (mobile/assets/places) are from GeoNames, CC BY 4.0.

Parts

10
QtyValueFootprintReferences
3M3 to podMountingHole_3.2mm_M3H1, H2, H3
1Buck IN+ wire padTestPoint_THTPad_D2.0mm_Drill1.0mmJ7
1Buck OUTPinSocket_1x04_P2.54mm_VerticalJ4
1CAN SN65HVD230PinSocket_1x06_P2.54mm_VerticalJ2
1Display H2PinHeader_1x08_P2.54mm_VerticalJ1
1GNSS GY-GPSV3PinSocket_1x04_P2.54mm_VerticalJ3
1OBD cableJST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ5
1Rs wire padTestPoint_THTPad_D2.0mm_Drill1.0mmJ6

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    10 parts1kGPL-3.0

Questions

What parts does the Carrier use?

10 parts. 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 Carrier KiCad files?

From the kubiq/n-gauge repository on GitHub, at the commit this page was made from: the board is hardware/carrier/carrier.kicad_pcb and its schematic hardware/carrier/carrier.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Carrier design in my own project?

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