From 2a5bfc310c1f8d956f1a97ba1f05e2a08bc492bd Mon Sep 17 00:00:00 2001 From: IoTThinks Date: Sun, 28 Dec 2025 09:18:14 +0700 Subject: [PATCH] Revise I2C addresses for supported sensors Updated I2C addresses for various sensors in the documentation. --- firmware/Add-sensors-to-repeaters.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/firmware/Add-sensors-to-repeaters.md b/firmware/Add-sensors-to-repeaters.md index f5f0191..5867e40 100644 --- a/firmware/Add-sensors-to-repeaters.md +++ b/firmware/Add-sensors-to-repeaters.md @@ -26,17 +26,19 @@ On Heltec v3, the GPIO17 and 18 are tiny pads in the middle of the board bottom. ## 3. I2C Sensors This is the list of sensors currently supported by official MeshCore firmware. +- You may need to do some solder to make sure the sensors use the pre-defined I2C addresses. ### 3.1 GPS This is for GPS sensor. ### 3.2 AHTX0 This is AHT10 and AHT20 Humidity and Temperature Sensor. +- I2C address: 0x38 ### 3.3 BME680 The BME680 is a compact environmental sensor by Bosch that measures temperature, humidity, barometric pressure, and air quality (gas/VOC). * Note: As of 20 Dec 2025, MeshCore app can not show the Gas telemetry properly in Channel 1 or 2. -* MeshCore requires I2C address **0x76** for BME680 +* I2C address: **0x76** * For Adafruit BME280, you need to solder the Addr pad to use I2C address 0x76. * For other BME280 boards, you are strongly recommended to wire **GND to SDO** to force to use address 0x77. Else, the I2C address may jump either 0x76 and 0x77. @@ -44,7 +46,7 @@ The BME680 is a compact environmental sensor by Bosch that measures temperature, ### 3.4 BME280 The BME280 is a compact environmental sensor by Bosch that measures temperature, humidity, and barometric pressure. -* MeshCore requires I2C address **0x76** for BME280 +* I2C address: **0x76** * For Adafruit BME280, you need to solder the Addr pad to use I2C address 0x76 * For other BME280 boards, you are strongly recommended to wire **GND to SDO** to force to use address 0x77. Else, the I2C address may jump either 0x76 and 0x77. @@ -52,37 +54,47 @@ The BME280 is a compact environmental sensor by Bosch that measures temperature, ### 3.5 BMP280 BMP280 is a Bosch barometric pressure + temperature sensor (no humidity). +* I2C address: **0x76** ### 3.6 SHTC3 SHTC3 is a Sensirion temperature + humidity sensor, optimized for ultra-low power designs. +* I2C address: **0x70** ### 3.7 SHT4X SHT4x (SHT40 / SHT41 / SHT45) is Sensirion’s newer temperature + humidity sensor family, replacing SHTC3/SHT3x for many designs. +* I2C address: **0x44** ### 3.8 LPS22HB LPS22HB is an STMicroelectronics barometric pressure + temperature sensor, commonly used in low-power IoT designs. +* I2C address: **0x5C** ### 3.9 INA3221 INA3221 is a Texas Instruments 3-channel shunt voltage & bus voltage monitor, often used for power and battery monitoring. +* I2C address: **0x42** ### 3.10 INA219 INA219 is a Texas Instruments single-channel current, voltage, and power monitor—simple, popular, and well-supported. +* I2C address: **0x40** ### 3.11 INA260 INA260 is a Texas Instruments current, voltage, and power monitor with an integrated precision shunt resistor, making it much easier to use than INA219/INA226. +* I2C address: **0x41** ### 3.12 INA226 INA226 is a Texas Instruments high-precision current, voltage, and power monitor, more accurate and flexible than INA219, and widely used in power profiling. +* I2C address: **0x44** ### 3.13 MLX90614 MLX90614 is a Melexis non-contact infrared (IR) temperature sensor, widely used for surface and body temperature measurement. +* I2C address: **0x5A** ### 3.14 VL53L0X VL53L0X is an STMicroelectronics Time-of-Flight (ToF) laser distance sensor, very popular for short-range, accurate distance measurement. +* I2C address: **0x29** ### 3.15 BMP085 BMP085 is an older Bosch barometric pressure + temperature sensor (the predecessor to BMP180 / BMP280). - +* I2C address: **0x77**