CH-101 I2C addresses and instructions

By szelaunewoxacuk , 18 March 2022

Hi, I wonder if there is any information on the 8-bit addresses and commands one would use to do various things to the sensor through I2C protocol? I can find such info for other ultrasound sensors (e.g. for the SRF-08 0xE0 0x00 0x51 starts the sensor while 0xE0 0x01 0xE1 reads back the range data), but the documentation does not appear to cover such low-level details.

minggaotdkcom

2 years 7 months ago

Sorry, we don't have such low-level details in the documentation, but in our released source codes package.
the power up programing address is 0x45 ( in soniclib.h )
#define CH_I2C_ADDR_PROG (0x45) /*!< I2C address of sensor programming interface. */

after the sensor asic code programmed, the sensor's application I2C address will be switched from 0x45 .

you can find the pre-defined application I2C address like this following ( 4 x sensors connected )

#define CHIRP_I2C_ADDRS {45, 43, 44, 42 }

phpbb Post ID
45135
phpbb Topic ID
39422