Blog · 2026-11-10

How does OBD2 work with CAN?

Stefan Bogdanescu

Founder & Senior Architect

Decoding OBD2 and CAN: Polling vs. Broadcasting

Understanding the relationship between the OBD2 protocol and Controller Area Network (CAN) requires distinguishing between how data is transmitted on the bus versus how a diagnostic tool requests specific information. You are correct that standard CAN operation does not rely on polling in the traditional sense; it is a broadcast medium where every node receives all traffic, filtering locally to decide what to keep. However, OBD2 introduces a specific layer of abstraction on top of this raw hardware capability that often confuses developers trying to interface with vehicles like your 2006 Renault.

The core confusion usually stems from the difference between monitoring and querying. In a pure CAN bus environment, modules broadcast data (like engine RPM or coolant temperature) at specific intervals defined by their own internal timers. A receiving node simply listens, filters based on the frame ID, and stores the payload if it matches its interest list. This is efficient for high-frequency telemetry where you want to react to every change in state immediately.

OBD2, however, frequently uses a request-response model known as PID (Parameter ID) queries. When your ELM327 scanner connects via the OBD2 DLC (Data Link Connector), it isn't just tapping into a passive CAN bus; it is acting as a diagnostic client. To get a specific value like RPM using an OBD2 service, the device sends a request frame containing the PID. The Powertrain Control Module (PCM) or Engine Control Unit (ECU)—which acts as the "OBD module"—must then look up that specific parameter in its internal memory, format the response according to the OBD2 standard (typically Service 01), and transmit it back.

This architectural distinction explains why you cannot simply "poll" faster than the ECU is ready to respond. The 10Hz limit mentioned in automotive forums isn't about CAN bus collision avoidance or hardware saturation; it is a software constraint imposed by the vehicle manufacturer to prevent excessive load on the ECU's processing resources. If your application sends a request every millisecond, the ECU spends more time formatting responses and managing its internal state than performing actual engine control calculations. On older architectures like those found in 2006 Renaults, this thermal and computational headroom was even tighter than in modern vehicles.

If you attempt to bypass this by treating the ELM327 as a transparent bridge and flooding it with rapid requests from your Arduino/ESP32, you risk triggering fault codes or causing the ECU to enter a protective mode where it stops broadcasting data entirely. The presence of CAN wires in the OBD2 plug is necessary because the request-response cycle happens over these same wires; the bus carries both the unsolicited broadcasts (which you ignore) and the solicited responses (which you need).

To implement this safely, your software architecture should treat the ECU as a stateful server rather than a simple sensor. Instead of sending continuous requests in a tight loop, you should request data only when you need an update or after a specific time threshold has passed. If higher refresh rates are critical for your specific use case, consider looking into manufacturer-specific "raw" CAN IDs that the ECU broadcasts continuously (often labeled as 0x7DF in Renault vehicles). These frames carry live data without requiring a handshake, allowing you to capture RPM at native frequencies while leaving the slower OBD2 PID requests for diagnostic functions like reading fault codes.

For further reading on the nuances between these protocols and how they differ across vehicle makes, see this discussion on Difference between OBDII and CAN. Understanding these boundaries ensures your diagnostic tool remains robust without compromising the vehicle's safety systems.