SEN0628 on Raspbrry Pi
TomJohnson 2026-05-27 22:51:39 222 Views1 Replies The SEN0628 8x8 tof matrix does not return any data to my Raspbrry Pi. Has anyone EVER gotten this to work? It is very difficullt to troubleshoot since the sensor uses a rp2040.
Tom
Hi, I would first check whether the Pi can see the sensor on the I2C bus. The SEN0628 exposes I2C/UART/USB through the onboard RP2040, so the RP2040 itself should not prevent it from working with a Raspberry Pi.
For I2C, make sure the mode switch is set to I2C, then power-cycle the sensor after changing the switch or address. The wiki example uses address 0x33, so on the Pi I’d run `i2cdetect -y 1` and check whether 0x33, or one of 0x30-0x33, appears.
If no address appears, it is likely wiring, power, mode switch, or I2C not being enabled on the Pi. Also make sure the Pi’s SDA/SCL lines stay at 3.3V logic. If the address appears but no distance data is returned, I would then check the firmware version and the exact code/protocol being used.
Wiki link: https://wiki.dfrobot.com/sen0628
Yx 

.jpg)