πŸ”

I2C Bus Scan

One bus, every online device listed

Page 20 of 24 MCP / API open OTA updates

Scans the I2C bus address by address, lists every slave that acknowledges and labels common parts (display, touch, sensor, RTC and so on) from a built-in device library, quickly confirming that soldering and wiring are correct.

A stepped strategy limits the time per sweep so the UI never blocks for long; changes in online state are recorded to disk, making intermittent dropouts easy to spot.

Screen

On-screen interface

A recreation of this page on the 2.41-inch AMOLED display (600 Γ— 450). Actual interaction and layout follow the latest firmware.

I2C Scan SDA47 / SCL48
0x20Online
0x38Online
0x51Online
0x6BOnline
0x10No reply
0x44No reply
0x68No reply
0x76No reply
Devices online4 / 128
Scan period2 000 ms
Timeout8 ms / Address
Screen Β· Page 20
Recreated from the real firmware layout; the display type can be changed in the admin panel
Highlights

Key capabilities

πŸ”

Full address sweep

Covers 0x01–0x7F and highlights responding devices instantly.

🏷

Part labelling

A built-in library annotates common chips and their purpose.

⏱

Low blocking

Stepped progress plus timeouts keep the UI smooth.

πŸ“Š

Online change log

Dropout and recovery events are written to disk to catch bad contacts.

Specifications

Technical specs

InterfaceExternal I2C terminals, SDA = GPIO47 / SCL = GPIO48
Speed100 kHz by default
Timeout8 ms per address, stepped to avoid blocking
Use Cases

Typical scenarios

First check on a new board

Run a scan at power-up to confirm every slave is online.

Locating bad contacts

Monitor over time to see whether an address periodically disappears.

Commands

Related commands

page 20  Jump to the I2C scan
i2c scan  Run a full bus scan

Read the full API & command reference β†’

⚠ Boundaries & notes
  • Some parts only respond after a wake-up register write; consult the datasheet if a known device is not found.

Other feature pages