# Turbo Gauge
This is a custom-built digital boost gauge for my car. It runs on the **Waveshare 1.85" LCD Dev Board** and talks to my car over Bluetooth using a **V-LINK OBD2 adapter**.

I built this because I wanted something that looked more modern and "futuristic" than a standard needle gauge, but still gave me the data I actually care about.

### What it shows
*   **Boost/Vacuum**
*   **Peak pressure** 
*   **Stats Hub**


### Hardware
*   **Brain/Screen:** [Waveshare 1.85" LCD Dev Board](https://www.waveshare.com/esp32-s3-lcd-1.85.htm) 
*   **Link:** V-LINK OBDII Bluetooth adapter (MUST BE BLE VERSION).

### How it works
The code is split up so it doesn't lag. One core of the ESP32 handles the Bluetooth data from the car, and the other core handles the graphics. I’ve optimized the drawing so the needle moves at a high frame rate, while the background text only updates every 10 frames to save power and keep things snappy.

### Setup
1.  Plug the V-LINK into your car's OBDII port.
2.  Flash this code to the Waveshare board using the Arduino IDE or PlatformIO.
3.  Turn the car on.
4.  The gauge will scan, find the adapter, and start sweeping.

**Note:** If your adapter has a different Bluetooth name (not "V-LINK" or "OBDII"), you'll need to tweak the `connect_to_vlink()` function in the code.
