I bought 4 ultrasonic sensors hoping to easily daisy chain them with Qwiic… Unfortunately- my I2C scanner is only finding one address for all 4 sensors. I didn’t see anything in the data sheet or hookup guide allowing me to change the addresses… is this possible? I don’t want to make multiple busses either.
Unfortunately I don’t think you can change the addresses, every board is at 0x00. You’d need to split the bus to get more than one working at the same time.
Can you pass it on that really all the Qwiic devices in the future should have address jumpers or something please? Seems like kind-of false marketing if I can easily physically daisy chain a bunch of qwiic sensors but not back that up in the software
TS-Chris:
every board is at 0x00.
My scanner is picking up the sensor at 0x7F ?? :shock:
We’re talking about [SEN-17777 right? that should be at 0x00 but it’s possible there has been a change to move it too 0x7F.
Can you pass it on that really all the Qwiic devices in the future should have address jumpers or something please? Seems like kind-of false marketing if I can easily physically daisy chain a bunch of qwiic sensors but not back that up in the software
Unfortunately many Qwiic (I2C) devices only allow a single address so jumpers won’t help in those cases.
You can daisy chain devices as long as every device uses a unique address. If you have more than one device with the same address you either need more than one I2C bus or you need to switch the devices with the same address in and out of the bus so that only one is ever connected at a time. The [Qwiic Mux is useful in those cases.](SparkFun Qwiic Mux Breakout - 8 Channel (TCA9548A) - BOB-16784 - SparkFun Electronics)](SparkFun Qwiic Ultrasonic Distance Sensor - HC-SR04 - SEN-17777 - SparkFun Electronics)
Yes that is the correct model I am referring to. After testing all 4, they all are at 0x7F
I am aware I can use additional hardware, but i wish this was just integrated into the sensor. I could have ordered extra hardware but I have a time sensitive project so I didn’t know to order all of this extra stuff earlier. Maybe just more clarity in the hookup guide regarding using multiple sensors of the same type for n00bs like me. As for now, I will just have to find a software fix.