Lab: I2C Communication with a Time-of-Flight Distance Sensor

Untitled

Untitled

Since I didn’t solder the distance sensor, I have to press it to make sure it’s connected. It kept showing sixty-something. I firstly guess that it’s the distance between the sensor and my hand. But the distance shouldn’t be 60 millimeters in this way. Then it occurs to me that it should be displaying the distance between the sensor and the micro-controller. I believe this makes more sense because the distance between them is about 6 centimeters.

82_1668625649.mp4