Changing the I2C Address on HYT221 humidity sensor!


hi everybody!

well, using simple arduino uno (smd version), to   set i2c communication hygrosens hyt 221 humidity sensor.

i trying change default address of sensor 0x28 0x30, leading tried code given below.. (attached)

when run code, serial monitor shows fine... says address have been changed , done.. when again run i2c scanner program in microcontroller, should ideally detect sensor @ new changed address surprisingly, detects sensor again @ default address = 0x28. address not changed in hardware.

this confusing.. can guys please me.. there wrong sketch used..? or missing in hardware part??

thank in advance!!  :)  :)

cheers

pramit

can give link datasheet, describing i2c interface , commands of sensor?


Arduino Forum > Using Arduino > Sensors > Changing the I2C Address on HYT221 humidity sensor!


arduino

Comments