ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
205 stars 22 forks source link

Feature request: support multiple i2c #102

Closed Gekkotron closed 2 years ago

Gekkotron commented 2 years ago

First, thank you so much for your great work. It's very interesting to create your own sensors/actuators.

I bought two waterproof sensors SHT30. But I cannot change the i2c address and I cannot access the address pin on the chip. Can I configure two separate i2c like that?

P01 SHT30 (I2C SDA) P02 I2C SCL

P03 SHT30 (I2C SDA) P04 I2C SCL

But how the firmware knows the right SCL pin?

ptvoinfo commented 2 years ago

Hi,

Your configuration is correct. The SCL pin should be defined immediately after a sensor's pin. I2C busses are: P01 & P02, P03 & P04.

Gekkotron commented 2 years ago

Hi, This is very great 👍. Thank you so much.