ELM327 Explained: How the OBD-II Adapter Works, Clones, AT Commands and Best Apps

CAN Bus4 min read
ELM327 AT commands and OBD-II PID request in a terminal
On this page

ELM327 is the name of a microcontroller made by ELM Electronics that translates between a computer and a car’s OBD-II diagnostic port. It understands all the legislated OBD-II protocols (CAN, K-line, J1850) and gives the computer a simple text interface: you send a command such as 01 0C and it returns the engine speed. Almost every cheap Bluetooth, Wi-Fi and USB OBD adapter on the market uses an ELM327 or a copy of it.

This guide explains what the adapter really does, why so many clones cause problems, and how to talk to a car with AT commands yourself.

How an ELM327 works

  1. Your app sends text commands over Bluetooth, Wi-Fi or USB.
  2. The ELM327 picks the right vehicle protocol (or detects it automatically).
  3. It sends the request on the car’s bus, collects the answer and returns it as hex text.
Command typeExampleWhat it does
AT commandATZConfigures the adapter itself (reset, protocol, headers)
OBD request01 0CMode 01, PID 0C: engine rpm
Read codes03Stored diagnostic trouble codes
Clear codes04Clear codes and the check engine light

The meaning of every PID, such as 0C for rpm or 05 for coolant temperature, is explained in our guide to OBD-II PIDs. Which pins the adapter uses is in the OBD-II pinout guide.

Supported protocols

ProtocolUsed by
ISO 15765-4 CAN (11 and 29 bit, 250 and 500 kbit/s)All US cars from 2008, most cars worldwide since
ISO 9141-2 and ISO 14230-4 (KWP2000)Older European and Asian cars (K-line)
SAE J1850 PWM and VPWOlder Ford and GM

Genuine chips and clones

ELM Electronics stopped selling the chip for cheap adapters long ago, and most adapters sold today use clone firmware on another microcontroller. Many report “v1.5” or “v2.1”, version numbers that the original never had in that form.

TypeGood forCommon problems
Cheap clone (often “v2.1”)Reading engine codes and basic dataMissing commands, slow, drops connection, no MS-CAN, sometimes no K-line
Better clone (often “v1.5” with PIC chip)Basic diagnostics, many appsQuality varies by seller
Branded compatible (OBDLink, vLinker, Veepeak)Reliable diagnostics, coding apps, FORScanCosts more

If you only read engine codes, a cheap adapter is fine. For module coding, Ford’s MS-CAN or any writing to the car, buy a branded adapter. Our FORScan guide explains why.

Bluetooth, Wi-Fi or USB

ConnectionProsCons
Bluetooth ClassicWorks with Android and WindowsNot visible to iPhone apps
Bluetooth LEWorks with iPhone and AndroidNeeds an app that supports BLE
Wi-FiWorks with iPhonePhone loses internet while connected
USBMost reliable, fastestNeeds a laptop

Talk to the car yourself

With a USB or Bluetooth adapter, open a serial terminal (PuTTY, screen or a terminal app) at the adapter’s baud rate and type:

ATZ        reset, shows the version
ATE0       echo off
ATL0       linefeeds off
ATSP0      automatic protocol
ATDP       display the protocol it found
0100       which PIDs are supported
010C       engine rpm
03         read stored codes

The rpm answer 41 0C 1A F8 means: 41 is the reply to mode 01, 0C is the PID, and the value is (0x1A x 256 + 0xF8) / 4 = 1726 rpm.

The ELM327 can also show raw CAN traffic with ATMA (monitor all), but its small buffer overflows on a busy bus. For real CAN sniffing a dedicated CAN adapter and tools such as can-utils work much better.

Apps that work with ELM327

AppPlatformGood for
Torque ProAndroidLive data dashboards, logging
Car ScannerAndroid, iOSCodes, live data, some coding
OBD Auto DoctorAndroid, iOS, WindowsClear interface, multi-protocol
FORScanWindows (Lite on phones)Ford, Mazda module access
OBDeleven, CaristaAndroid, iOSUse their own adapters for full features

Frequently asked questions

What is the difference between ELM327 v1.5 and v2.1?

Both are usually clones. Many v2.1 clones leave out commands that some apps need, while better v1.5 clones implement more of them. The number on the box says little about quality.

Can an ELM327 read ABS and airbag codes?

The ELM327 itself can send any request, but reading ABS, airbag and body modules needs an app that knows the manufacturer’s diagnostic requests, and sometimes a bus the adapter cannot reach.

Will an ELM327 drain my battery?

Some adapters stay powered from pin 16 when the car is off. Unplug them when you do not use them, or buy one with a sleep mode.

Can I code my car with an ELM327?

Some apps code certain models through ELM327 adapters, but a dropped Bluetooth connection during a write can damage a module. Use a reliable branded adapter, preferably USB, and a battery charger.

Can an ELM327 sniff the CAN bus?

Only in a limited way, using the monitor command. Its buffer is too small for busy buses. A dedicated USB-CAN adapter with SocketCAN is the right tool.

From reading PIDs to reading the whole bus

An ELM327 shows what the car chooses to report. Our Car Electronics and Car Hacking course takes you underneath: raw CAN frames, how diagnostic requests are built and how to decode messages that no app shows.

Written by

Taifun Mamedov

Founder and instructor at Ocsaly Academy.

Courses by Taifun Mamedov

Share this article