I built a cheap ESP32-powered OBD into my car, and it shows me what my dashboard doesn't

I built a cheap ESP32-powered OBD into my car, and it shows me what my dashboard doesn't

Published Dec 3, 2026, 8:30 AM EST Maker, meme-r, and unabashed geek, Joe has been writing about technology since starting his career in 2018 at KnowTechie. He's covered everything from Apple to apps and crowdfunding and loves getting to the bottom of complicated topics. In that time, he's also written for SlashGear and numerous corporate clients before finding his home at XDA in the spring of 2023. He was the kid who took apart every toy to see how it worked, even if it didn't exactly go back together afterward. That's given him a solid background for explaining how complex systems work together, and he promises he's gotten better at the putting things back together stage since then. Ever wanted your car's dashboard to show you more of what's happening under the hood? That's possible with a cheap ELM327 dongle, but what you'll probably end up with is another chip cloned to pretend to be an ELM327. That's a compatibility nightmare, to be honest, so I wanted to see if I could use an ESP32 board instead. If you use the right one, you get a CAN controller and onboard Bluetooth, and all you need then is a bit of wiring to get things working. Next, add an OBD scanner app to your Android Auto homepage; then you get GPS navigation and a better look at what your drivetrain is doingon the road. It was a surprisingly simple build, although it came with a few things that might be a dealbreaker for ongoing use. The ESP32-C6 has almost everything a Bluetooth OBD-II reader needs The ESP32-C6 has a built-in CAN controller (Espressif calls this TWAI if you have a first-party board), so you don't need an ELM327 chip at all. The Seeed Studio one I used was $6, but I needed a transceiver to reach the bus, some wiring, a buck converter to drop from 12V to 5V, and an OBD plug to get things going. That's still way under a decent OBDII reader's cost, even if it might look jankier. Picking the C6 means Bluetooth LE only, and that rules out some Android apps I've used plenty of OBD reader apps, and some work better than others. Not every app supports BLE on Android, although iPhone users won't have issues. Car Scanner is the only app I've found to reliably work on both, and it'll work with Wi-Fi-based readers as well. What the C6 can't do There are a few more limits. Because your ESP32-based reader is CAN-based, you don't get K-line or J1830 support. That's mainly cars from before 2008 in the US. The ESP32 also has no sleep circuitry, so pin 16 is always live and draining the battery. Adding that isn't difficult, but it does require components I don't have on hand. Also, check whether your car limits what can plug into the OBD port, because some newer ones need specific readers, and I'm pretty sure a project board won't suffice. The sketch makes the ESP32-C6 answer like an ELM327 Apps send the same AT commands as they'd send to a store-bought dongle, and the board translates them to CAN The ESP32-C6 firmware I used makes the board advertise over Bluetooth Low Energy (BLE) with the FFF0 service that Vgate-style adapters use. It takes AT commands like ATZ, ATE0, and the like, and answers like an ELM327 would. This turns hex requests into CAN frames at 500 kbps with 11-bit IDs, and stitches any long commands back together so things like VIN numbers display correctly. That makes it virtually identical to the V-gate OBDII adapter I bought last year for $38, except I can't reflash that one to make other projects. I don't have a sleep function built yet, or a nice surround, but that's okay for occasional diagnostics use. I don't plan to keep the ESP32 plugged into the OBD port and drawing power all the time. Getting it to compile took two fixes I made two minor errors along the way, but neither was difficult to fix. The Arduino software wants you to put Sketch files in a folder of the same name, and I forgot to install the NimBLE-Arduino 2.x package before the first compile, so of course it failed. I had to hard-code 12.0V into the firmware, so the adapter-voltage reading is fake, and the protocol will accept AT commands that the car might not support, but that's also fine really. Third-party OBD-II apps show what the car's own software keeps to itself The dash gives you a few gauges and a warning light, the port gives you the numbers behind them The various dials and readouts on your dash are not really designed for granular troubleshooting. Being able to see the actual coolant temperature instead of just getting a warning light when it gets too high is great, especially if your car is getting older. I can now see engine load, throttle position, and accurate digital RPMs, plus the VIN and calibration IDs straight from the ECU, which I can compare to the ones stamped on the frame to ensure there was never an engine swap. My dashboard shows me almost none of that. Not that I need to see it while driving, but if something feels off about how the engine is performing, it's nice to scroll through the data and see if anything shows up. Maybe it's just the change in weather, or my imagination, but either way it's nice to have confirmation. A check engine light becomes a code, a description, and a snapshot I hate the check engine light on my car. It's a mysterious warning that could mean I need to change the oil, or it could herald something more serious. So far, it's only been about routine services, even when the fan belt shredded itself on the highway. But I've always wanted to know what else that notification means, and now I can scroll through at my leisure. I'm not sure why cylinder 4 keeps misfiring; I replaced all the plugs not long ago, and the valves and seals were checked at the time. I'll definitely mention it the next time the oil is changed, or maybe make a service appointment before then if it keeps happening. It's a ten-year-old car at this point, and I keep expecting more issues to crop up, but it's only been standard consumable items so far. Logging, graphs, and custom dashboards Being able to see more data about my car's performance was one of the main reasons I wanted an OBDII reader in the first place, and third-party apps give me just that. I get more granular fuel efficiency stats, including rolling 7-day averages, 0-60 timing, and the ability to graph one value against another. Without an expensive OBDII reader, I don't get stats on anything not related to the powertrain. I'd love ABS performance stats, airbag sensor data, or the ability to adjust things like the rear parking sensors. But those are nice-to-haves, not essential, and seeing what's going on with the powertrain helps me diagnose issues way earlier than they become a problem. A cheap ESP32-C6 turned out to be a decent diagnostics tool Here's the thing. If you want a decent project that has immediate practical use, you could do worse. I'm genuinely impressed that an ESP32-C6 can read the CAN bus, and with an additional transceiver it can write to it. But it's not a straight swap. While it's miles better than any cheap OBDII adapter, a quality one costs less than $40, and then the value proposition drops. Plus, the adapter has sleep mode and a few other features that are essential if you plan to keep it plugged in.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.