Hello,
I've bouth 3 INA226 for a mini project wih a solar panel and i want to have them on the same pins /bus . After a talk with chatgpt , it seems that its detected on default 0x40, so i need to understand how to change it using the pins mentions on the seller's page. I've never done this and i dont know what to do.
[21:43:12.359][C][i2c.idf:090]: I2C Bus:
[21:43:12.359][C][i2c.idf:091]: SDA Pin: GPIO21
[21:43:12.359][C][i2c.idf:091]: SCL Pin: GPIO22
[21:43:12.359][C][i2c.idf:091]: Frequency: 50000 Hz
[21:43:12.360][C][i2c.idf:101]: Recovery: bus successfully recovered
[21:43:12.360][C][i2c.idf:111]: Results from bus scan:
[21:43:12.360][C][i2c.idf:117]: Found device at address 0x40
The item is here
https://www.aliexpress.com/item/1005008482695565.html
with chat i found out , what i think i need, but what do i do with this info
| A1 | A0 | address |
|---|---|---|
| GND | GND | 0x40 |
| GND | 3.3V | 0x41 |
| 3.3V | GND | 0x42 |
| 3.3V | 3.3V | 0x43 |
Thank you.