How to set the address
Wire the address pins like this:
A1, A0: GND · VS · SDA · SCL → 0x40–0x4F
Devices that use the same addresses
Two devices on the same bus can’t answer on the same address. These modules from our list use at least one of these addresses:
| Device | What it is | Shared address |
|---|---|---|
| HDC1080 | temperature and humidity sensor | 0x40 |
| INA226 | current/voltage/power monitor | 0x40–0x4F (16) |
| INA260 | current/voltage/power monitor with integrated shunt | 0x40–0x4F (16) |
| INA3221 | 3-channel current/voltage monitor | 0x40, 0x41, 0x42, 0x43 |
| PCA9685 | 16-channel 12-bit PWM / servo driver | 0x40–0x4F (16) |
| Si7021 | temperature and humidity sensor | 0x40 |
| OPT3001 | ambient light sensor | 0x44, 0x45, 0x46, 0x47 |
| SHT30 / SHT31 / SHT35 | temperature and humidity sensor | 0x44, 0x45 |
| SHT40 / SHT41 / SHT43 / SHT45 (SHT4x) | temperature and humidity sensor | 0x44, 0x45, 0x46 |
| ADS1015 | 12-bit 4-channel ADC | 0x48, 0x49, 0x4A, 0x4B |
Show all 16 devices
| Device | What it is | Shared address |
|---|---|---|
| ADS1115 | 16-bit 4-channel ADC | 0x48, 0x49, 0x4A, 0x4B |
| ADS7830 | 8-bit 8-channel ADC | 0x48, 0x49, 0x4A, 0x4B |
| LM75B | digital temperature sensor / thermostat | 0x48–0x4F (8) |
| PCF8591 | 8-bit 4-channel ADC + 1 DAC | 0x48–0x4F (8) |
| TMP102 | digital temperature sensor | 0x48, 0x49, 0x4A, 0x4B |
| TMP117 | high-accuracy digital temperature sensor | 0x48, 0x49, 0x4A, 0x4B |
If two of them end up on the same address, move one with its address pin, put one behind a TCA9548A multiplexer (0x70–0x77), or use a second I²C bus: the ESP32, ESP32-S3 and RP2040 have two I²C controllers (the ESP32-C3 has one).
Check your whole bus →Add the INA219 and your other modules: the checker finds conflicts, suggests free addresses and sizes the pull-ups.
7-bit and 8-bit address
I²C addresses are 7 bits long. Some datasheets and libraries write them as 8-bit numbers, with the read/write bit added on the right: that is why the same chip can appear as 0x40 or 0x80. Arduino’s Wire library and ESPHome use the 7-bit form.
Its addresses run from 0x40 to 0x4F in 7-bit form, that is from 0x80 to 0x9E as 8-bit write addresses.
Check that it answers
Upload this sketch with the INA219 wired to SDA and SCL: it tries every address the chip can use and prints the one that answers. On an ESP32 the default pins are GPIO21 (SDA) and GPIO22 (SCL); on an Arduino Uno, A4 and A5.
#include <Wire.h>
const byte ADDRS[] = {
0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F
};
void setup() {
Serial.begin(115200);
Wire.begin();
for (byte a : ADDRS) {
Wire.beginTransmission(a);
if (Wire.endTransmission() == 0) {
Serial.print("INA219 answers at 0x");
if (a < 0x10) Serial.print('0');
Serial.println(a, HEX);
return;
}
}
Serial.println("No answer: check the wiring");
}
void loop() {}
In ESPHome the bus is scanned at boot (scan: true is the default): the log lists every address that answers.
i2c:
sda: GPIO21
scl: GPIO22
scan: true
Pull-up resistors
SDA and SCL need pull-up resistors to the supply. Many breakout boards already carry them, often 4.7 kΩ or 10 kΩ, and with several boards on the bus they add up in parallel. The I²C checker works out the allowed range for your bus voltage and speed.
Frequently asked questions
What is the I2C address of the INA219?
0x40–0x4F, depending on the wiring: A1, A0: GND · VS · SDA · SCL → 0x40–0x4F.
Can I use more than one INA219 on the same bus?
Yes, up to 16, each set to a different address. For more, use a TCA9548A multiplexer or a second I²C bus.
Why doesn’t the INA219 show up in an I2C scan?
Check, in this order: SDA and SCL not swapped; ground shared between the boards; pull-up resistors on SDA and SCL; the module powered at the voltage it is made for; the address pin not left floating; and that your code uses the 7-bit address (0x40), not the 8-bit one (0x80).
Similar devices
AXP192 AXP2101 BQ27441-G1 INA226 INA260 INA3221 IP5306
Addresses checked against the INA219 datasheet.