Page 1 of 1

ZX Distance and Gesture Sensor I2C Address Manipulation

Posted: Fri Dec 08, 2017 10:44 am
by alex.sneedmiller
Hi Everyone,

I am trying to build out a project which involves several of these distance sensors: https://www.sparkfun.com/products/13162

I understand that you can change the I2C address by shorting out the jumper pads on the back of the board, but that will only allow me to have two different sensors on an I2C bus. Does anyone know if there is a way to "program" the I2C address on these boards?

Thanks!

Re: ZX Distance and Gesture Sensor I2C Address Manipulation

Posted: Fri Dec 08, 2017 11:38 am
by rcwilcox
If the reprogramming answer is no, you might try this as a solution:

Qwiic Mux
https://www.sparkfun.com/products/14293

There are other like solutions out there using the TCA9544A Low Voltage 4-Channel I2C and SMBus Multiplexer that are less elaborate or you could roll your own.

http://www.ti.com/product/tca9544a/datasheet

Re: ZX Distance and Gesture Sensor I2C Address Manipulation

Posted: Mon Feb 26, 2018 8:02 am
by alex.sneedmiller
I ended up just using the I2C mux and putting one sensor on each I2C bus. It would be nice if I could somehow provision the address via software to any address so that I can have more than just two sensors on one I2C bus.