Today we’ll test our vl53l0x distance sensor. This low cost IR laser sensor can precisely and quickly measure distances. It’s connected using the I2C protocol, so this is a nice opportunity to play with that.
There is an embarrassingly long stretch of troubleshooting in the one, but subscribers have told me several times that those are valuable, so I left it all in.
The vl53l0x crate we'll be using:
crates.io/crates/vl53l0x
Source code:
github.com/flyaruu/esp32-lidar/
31 май 2024