I2C Address Map

This page lists the I2C devices mounted on each leaf and their slave addresses. All addresses are in 7-bit notation.

When multiple leaves are stacked, all of their I2C devices share the same I2C bus (SDA/SCL) on the Leafony Bus. Stacking leaves that use the same address causes bus conflicts, so check the combination before use. When using I2C devices on a home-made leaf, design it so that its addresses do not overlap with the table below, including the reserved addresses.

Address Map

Cellular communication (Cat-M1) in the table is an IoT communication technology that runs on mobile operators’ LTE networks.

AddressDevicePart NumberLeafNotes
0x18I/O expanderPCA9557RGVRAX06 Grove&5VON/OFF control of the 5V Grove power supply
0x18AccelerometerLIS2DW12TRAI05 Env SensorsSDO/SA0 tied to GND. Conflicts with AX06
0x19AccelerometerLIS2DHTRAI01 4-Sensors
0x1AI/O expanderPCA9557RGVRAI04 LCDLCD power control and switch input. 0x1E is reserved
0x1BI/O expanderPCA9557RGVRAI03 MIC&VR&LEDPower ON/OFF control
0x21I/O expanderTCA6408ARSVRAC04 LTE-M King MCellular (Cat-M1) module control. 0x20 is reserved
0x21I/O expanderPCAL6408AHKXAC08 LTE-M MaryCellular (Cat-M1) module control
0x21I/O expanderPCAL6408AHKXAC09 Cat-M1 TYCellular LPWA Cat-M1 module control
0x3ECharacter LCDAQM0802AAI04 LCD
0x40I/O expanderTCA9536ADTMRAC06 Wi-Fi MaryWi-Fi module control
0x41I/O expanderTCA9536DGKRAC07 LoRa MaryLoRa module control
0x43I/O expanderTCA9536BDTMRAV05 Solar Charger
0x44Temperature/humidity sensorSHT40-AD1B-R2AI05 Env SensorsOptional; not fitted in the standard configuration. Conflicts with AI01’s reserved address
0x45Illuminance sensorOPT3001AI01 4-Sensors0x44 is reserved
0x50A/D converterADC081C027CIMKAV01–AV04, AV06 (power leaves)Battery voltage monitor. 0x51 and 0x52 are reserved
0x50A/D converterADC101C027CIMKAC05 LTE-M King SBattery voltage monitor. 0x51 and 0x52 are reserved
0x50A/D converterADC101C027CIMKAV05 Solar ChargerBattery voltage monitor. 0x51 and 0x52 are reserved
0x59VOC gas sensorSGP40-D-R4AI05 Env SensorsOptional; not fitted in the standard configuration
0x5FTemperature/humidity sensorHTS221TRAI01 4-Sensors
0x60Secure elementATECC608AAC07 LoRa Mary
0x65Human detection sensorAK9754AEAI02 SP&PIR0x66 is reserved
0x68RTCPCF8523TKAZ02 RTC&microSD
0x76Temperature/humidity/pressure sensor / gas sensorBME280 / BME680AI05 Env SensorsBME280 is standard; BME680 is an alternative. Fit only one

Note: AC04–AC06, AI02–AI04, AV02–AV04, AX06, and AZ02 are discontinued products.

Remarks

  • The AI05 Env Sensors LIS2DW12 and the AX06 Grove&5V I/O expander share 0x18. Do not connect them to the same bus with their standard settings.
  • If the optional SHT40 is fitted to AI05, its 0x44 conflicts with a selectable address of AI01’s illuminance sensor. AI05 and AI01 also share the D3 interrupt line, so do not use them together without modifications.
  • Address 0x50 of the battery-monitoring A/D converter is shared by the power leaves (AV01–AV04, AV06), AC05 LTE-M King S, and AV05 Solar Charger. If these leaves are stacked together, the A/D converters cannot be read individually.
  • Address 0x21 is shared by AC04 LTE-M King M, AC08 LTE-M Mary, and AC09 Cat-M1 TY. Connecting them to the same I2C bus causes an address conflict and prevents individual control of their I/O expanders.
  • The reserved addresses (0x1E, 0x20, 0x44, 0x51, 0x52, 0x66) are alternate addresses selectable by the address pins of the devices above. Do not use them on home-made leaves either.
Leaf photo
Search documentation, sample apps, and Q&A