Displaying distance on LCD screen

iot-dist

I was able to take the

Adafruit VL53L0X Time of Flight Distance Sensor

and combine it with all my recent LCD learnings to produce something that outputs a distance measurement as shown above.

Here is the circuit outline:

image

Note that it is important to ground the ESP32-S2 Thing Plus WROOM to the same ground as the other components.

The code for this project is at:

https://github.com/directorcia/Azure/blob/master/Iot/ESP32-S2/VL53L0X/LCD-Test.cpp

which is pretty straight forward and basically a combination of the sample files for the distance sensor and the LCD display.

One thought on “Displaying distance on LCD screen

Leave a comment