ZX Distance and Gesture Sensor I2C Address Manipulation

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
alex.sneedmiller
Posts: 5
Joined: Wed Jul 19, 2017 2:13 pm

ZX Distance and Gesture Sensor I2C Address Manipulation

Post by alex.sneedmiller » Fri Dec 08, 2017 10:44 am

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!

rcwilcox
Posts: 8
Joined: Thu Dec 07, 2017 4:46 pm

Re: ZX Distance and Gesture Sensor I2C Address Manipulation

Post by rcwilcox » Fri Dec 08, 2017 11:38 am

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

alex.sneedmiller
Posts: 5
Joined: Wed Jul 19, 2017 2:13 pm

Re: ZX Distance and Gesture Sensor I2C Address Manipulation

Post by alex.sneedmiller » Mon Feb 26, 2018 8:02 am

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.

Post Reply