Building a Better OBD-II Scanner
When the check engine light comes on in your car, it is nice to be able to find out what the problem is before taking it to a mechanic. While there are plenty of OBD-II scanners on the market that can help you do just that, building your own gives you a lot more freedom in terms of what you can do with the data coming from your vehicle's computers. A recent project from the YouTube channel How To Electronics shows how an ESP32 microcontroller and a handful of other electronic components can be turned into a wireless automotive diagnostic tool that puts a wealth of information at your fingertips.
Rather than cobbling together a collection of development boards, the maker designed a custom PCB in EasyEDA Pro. At the core of the board is an ESP32-S3 microcontroller, which is responsible for communicating with the vehicle's electronic control units (ECUs) and relaying the information it collects to an Android app via Bluetooth Low Energy.
A CAN bus transceiver serves as the interface between the microcontroller and the vehicle's CAN bus. A buck converter steps the 12-volt supply available at the OBD-II port down to 3.3 volts to power the electronics. A USB-C port and a USB-to-UART converter were also incorporated into the design to make programming and debugging easier.
Next, the maker got hold of an aftermarket OBD-II connector and soldered the power, ground, and two CAN bus wires to the board. That was about all there was to the hardware side of the project, but there was still quite a bit of work to be done on the software side.
To speed things along, the maker enlisted the help of the Rake Labs AI-powered embedded development platform to write the firmware for the ESP32-S3. It churned out nearly 1,500 lines of code, which were then refined over the course of several rounds of testing in an actual vehicle. AI was also leveraged in the development of a companion Android app.
The finished device was put to the test in a 2019 BMW X1. Within seconds of establishing




Comments
No comments yet. Be the first to share your thoughts.