My latest project is creating a garage distance sesnor. The idea is that as you drive yoru car into the garage it will tell the distnace to the wall, so you can get the alignment just right. It does this in two ways, firstly via an LED display of the distance in mm from the and secondly from a Christmas tree style set of lights to give you a visual idea of whether you are in the zone.
The rough circuit diagram is shown above.
For this project I’m using at:
Adafruit VL53L1X Time of Flight Distance Sensor – ~30 to 4000mm – STEMMA QT / Qwiic
SparkFun Qwiic Alphanumeric Display – Pink
Breadboard Compatible Potentiometer (10k Ohm)
some resistors, LEDs and a switch.
The code is here:
https://github.com/directorcia/Azure/blob/master/Iot/Arduino%20Uno%20R3/Garage%20distance/main.cpp
and now that I have it working, at least in beta, I’ll detail a bit more about the development process so far and what I’d like to ultimately achieve in upcoming posts, so stay tuned.

3 thoughts on “Garage distance sensor”