Reading car fault codes in a browser with a cheap ELM327 adapter and Web APIs
A developer explains how a low-cost ELM327 OBD-II adapter, Chrome, and browser APIs such as Web Serial and Web Bluetooth can read engine fault codes without installing software. The write-up focuses less on the protocol itself than on the quirks of real adapters and browsers, which take up most of the code. The author, who built the diagnostic site diagnost.net, shares snippets from its client-side code. Support is limited to Chromium-based browsers on desktop and Android, since Safari and Firefox lack these APIs and iOS blocks Bluetooth and USB access for all browsers. The post also covers browser user-gesture requirements for opening device pickers and the fact that serial ports accept any baud rate, so adapters must be identified by sending a test command.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in