An I²C scanner that reports no devices has confirmed only that its controller did not receive an acknowledgement at the addresses it probed under the current wiring and software settings. It has not proved that the sensor is dead. A swapped SDA/SCL pair, wrong board pins, missing pull-ups, incompatible logic voltage, unpowered module, reset state, or an incorrect bus selection can all produce an empty scan. Test the electrical bus before changing libraries or replacing parts.

Confirm which bus and address the scanner uses
I²C devices share two open-drain signals, SDA for data and SCL for clock. The controller releases a line high; a device pulls it low when required. The bus therefore needs suitable pull-up resistors to a voltage compatible with every attached device. A scanner can run successfully while probing the wrong hardware bus, wrong pins, or wrong address range, so verify the board, core/library, pin mapping, and scanner code first.
Most scanner sketches report 7-bit addresses. Some datasheets or older examples show an 8-bit read/write byte that includes the direction bit; those numbers differ by one bit and should not be copied into a 7-bit scanner as though they were the same address. Typical scanners probe the usable address space rather than reserved values. Read the sensor datasheet for its address pins, alternate address options, and any initialization or wake requirements.
A scanner detects an acknowledgement, not a correct measurement or fully working sensor. A device may acknowledge at an address while returning invalid data, holding a reset, or requiring a particular command sequence. Conversely, an address collision or unusual device behavior can complicate the scan. Keep “not acknowledged” separate from “sensor output is wrong.”
Check wiring and power with everything unpowered first
1. Identify the exact pins
Use the microcontroller board pinout and sensor breakout documentation. Pins labelled SDA and SCL may move between board families or selected hardware buses. Confirm that the scanner initializes that same bus, not just the default one. Do not rely on wire color or a familiar-looking pin position.
2. Verify common ground and supply
Check the sensor supply range and logic-high tolerance. Connect ground between controller and sensor unless a documented isolator separates them. A breakout marked “3–5 V” may contain a regulator or level shifter, but the bare IC may not. Never assume a 5 V pull-up is safe for a 3.3 V microcontroller.
3. Inspect SDA and SCL continuity
With all sources disconnected and stored energy discharged, check for loose jumper wires, a breadboard row break, an incorrect connector orientation, or a short to ground. Do not use resistance mode on a powered bus. A continuity beep through the complete circuit may reflect another path, so use the schematic and point-to-point layout rather than treating a beep as proof of correct wiring.
4. Check for pull-ups
Read the breakout schematic or datasheet to see whether pull-ups are present. Some modules already include them; adding several more in parallel can make the effective resistance too low. If none are present, the bus may never rise to a valid logic high. Pull-up value depends on supply, bus capacitance, speed, and sink-current limits; use the I²C specification and the device data, not a universal resistor value.

Observe bus idle levels before running the scan
On a correctly powered idle bus, SDA and SCL are normally pulled high. With a high-impedance meter, compare each line with the sensor's logic supply and ground. A line fixed near zero suggests a short, a device holding the line, missing or miswired power, or an incorrect measurement reference. A line floating or sitting at an intermediate voltage may indicate absent pull-ups, incompatible supplies, or excessive loading. A multimeter averages activity; a logic analyzer or oscilloscope can reveal pulses and rise time when the basic checks pass.
Do not probe small breakout pins in a way that can bridge adjacent contacts. Use insulated hooks or a suitable test adapter. Avoid changing wiring with power applied. On a bus shared by other hardware, disconnecting a module may affect the whole system; shut down and follow the device procedure.
| Observation | What it may mean | Next step |
|---|---|---|
| SDA and SCL both idle high; no address acknowledges | Wrong bus/pins/address, device asleep/reset, or missing connection at a device pin | Verify bus initialization and address options, then test one known device |
| One line stays low while the other is high | Short, device-held line, wrong pin mapping, or powered-off device loading the bus | Power down and isolate one module at a time |
| Both lines stay low | Power/ground fault, wiring short, or multiple devices/driver holding the bus | Disconnect power and inspect wiring before reconnecting |
| Bus pulses appear but scan is empty | Incorrect address range, timing/voltage issue, wrong edge quality, or no responding slave | Check address format, logic levels, pull-ups, and supported bus speed |
| Address appears but readings are invalid | Communication exists; register, configuration, sensor state, or interpretation may be wrong | Use the datasheet's command sequence and validate raw registers |
Isolate one device and one change at a time
Start with one controller and one sensor on short wires at a conservative bus speed supported by both. Keep other peripherals disconnected. Use the documented supply and logic level. Run the scanner after each controlled change: correct pins, sensor reset state, pull-up configuration, then the exact 7-bit address options. If the sensor appears only on a short direct wiring setup, investigate capacitance, cable length, connector quality, and bus timing before changing the sensor.
Some breakouts include level shifting and some do not. Pull-ups on the controller side and sensor side may connect to different rails through a bidirectional translator; do not bypass that circuit without understanding it. Multiple modules can add parallel pull-ups and capacitance. A long cable can make the rising edges too slow at a selected clock rate even if the static voltage looks correct.
If the bus has multiple controllers, clock stretching, or a device that is asleep until a specific condition, a simple scanner may not be a complete diagnostic. Check the chip documentation and framework's timeout behavior. Do not repeatedly scan at an unsupported speed and conclude that hardware is defective.

When to stop and what to record
Stop if the supply voltage is unknown, a component heats, the bus is connected to a safety-critical controller, or probing risks shorting pins. Record board model and revision, sensor part number, wiring diagram, measured idle levels, scanner address range, library/core version, bus speed, and whether each device acknowledges alone. This lets the next person distinguish an electrical problem from a software configuration issue.
If you find a line stuck low rather than a bus that simply returns no addresses, follow our separate I²C stuck-low diagnosis. The bus-clear procedure is not the first step for an ordinary empty scan.
Use a small scan as a controlled experiment
Disconnect the sensor from the rest of the bus only with power off, then connect one device, one controller, and short wires. Confirm power and ground before running the scanner. If the device acknowledges alone but disappears when another module is added, compare the added module's voltage, address straps, pull-ups, and wiring rather than changing every part at once.
Address collisions are possible when two devices share a fixed address and cannot be reconfigured. A scanner may show one response at that address even though two devices answer. If a device has address-select pins, verify their voltage and allowed combinations from its datasheet. Some devices also expose multiple interfaces or require an enable pin before responding.
Check bus speed from both ends. A controller may default to a rate the sensor supports, but a long cable or high capacitance can make edges too slow. Slowing the clock can be a useful diagnostic comparison; it is not proof that the hardware meets the intended bus specification. Do not compensate for poor wiring by increasing pull-up strength beyond the devices' sink-current limits.
What the scan cannot validate
A responding address does not confirm that the correct register map, byte order, scaling, or initialization sequence is being used. After detecting a device, read its documented identity register or a known status field and compare the raw bytes with the datasheet. If the address responds but values are unexpected, troubleshoot the command sequence and data interpretation separately from electrical detection.
Primary references
- Arduino: I²C communication and the Wire library — bus use and board-level context.
- Arduino Support: I²C and pull-up resistors — why pull-ups and device specifications matter.
- NXP/Nexperia: UM10204 I²C-bus specification and user manual — bus signaling, timing, and electrical requirements.
- Microchip: I²C connection considerations — pull-up and capacitance considerations.
Sources consulted 6 November 2026. Pin assignments, address options, pull-ups, and bus rate vary by board and sensor; this guide does not claim that a scan alone proves a device healthy.
Be the first to leave a comment.