Blog · 2026-11-10

OBD II power when key not in ignition

Stefan Bogdanescu

Founder & Senior Architect

OBD II Power Availability Without Ignition Activation

If you are designing a product that relies on the OBD II connector for power, the most common point of failure is assuming the supply voltage behaves like a standard accessory circuit. The core question isn't just "is there power?" but specifically whether the 12V rail remains active when the key is in the LOCK position and the ignition switch is completely disengaged.

The short answer for modern vehicles adhering to SAE J1962 standards is yes, but with a critical distinction regarding which pin you are tapping into. The OBD II connector utilizes several power rails that serve different purposes based on the vehicle's state of operation. Pin 16 provides constant battery voltage (B+), while Pins 4 and 5 provide switched ignition voltage that cuts off when the key is turned to lock.

For embedded developers integrating sensors or data loggers, relying on Pin 4 or 5 for continuous monitoring is a recipe for missed data collection during engine-off intervals. If your device needs to stay powered 24/7—for example, to monitor battery health, detect security breaches, or log fault codes before the user even starts the car—you must architect your power management around Pin 16. However, drawing significant current from this pin can trigger a voltage drop that might confuse the vehicle's ECU or cause other sensitive electronics in the infotainment system to reset if the load exceeds certain thresholds.

From an implementation standpoint, you cannot simply wire a microcontroller directly to Pin 16 without considering the quiescent current of your device. Most modern ECUs expect the OBD port to remain low-load when the vehicle is parked. If your product draws more than roughly 20-30mA from Pin 16 while in sleep mode, you risk causing a system-wide brownout or triggering a "load down" warning on the dashboard.

A robust design strategy involves using a high-efficiency buck regulator to step down the constant voltage to 3.3V or 5V for your logic circuits, but ensuring that this conversion happens only after the power input has been validated. You should also implement a hardware-level sleep state where the MCU's main clock is halted and peripherals are gated when no data transmission is occurring. This minimizes the draw on Pin 16 to microamps, keeping it well within the vehicle's tolerance limits.

When writing firmware for devices that need to wake up or log events regardless of ignition status, you must account for the fact that communication with the ECU will only succeed if the vehicle itself is in a state where it accepts diagnostics. Even though Pin 16 has power, many cars disable the CAN bus or serial communication lines when the key is out unless specific conditions are met. Your code should attempt to communicate, detect a NACK response or timeout, and then enter a low-power sleep cycle rather than spinning forever trying to talk to a dead ECU.

There is also the matter of voltage stability. While Pin 16 is labeled as constant B+, it is not an infinite source. It comes directly from the battery via a fuse, often shared with other critical systems like anti-lock braking or airbag controllers in some architectures. If you add your device to this circuit without proper decoupling capacitors near the connector entry point, transients could ripple through the system. Placing a 10µF ceramic capacitor and a 470µF electrolytic capacitor across Pin 16 and Ground (Pin 4 or 5) immediately upon connection helps smooth out these spikes before they reach your internal voltage regulator.

Ultimately, treating the OBD II port as a universal power source requires respecting its dual nature: it is both an always-on data gateway for diagnostics and a conditional power source depending on which pin you select. For applications requiring true always-on capability, Pin 16 is the only viable option, but it demands rigorous current management and careful capacitive filtering to ensure compatibility with the vehicle's existing electrical architecture.