This is a random thing I made on my journey to build fun stuff with electronics
It measures distance using an ultrasonic sensor and displays the result on a 16×2 LCD.
I ran this using the platformIO extension on vscode with the ARDUINO framework
-
ESP32 (what im using but other microcontrollers should be fine, just watch the pins and libraries)
-
Ultrasonic sensor: HC-SR04 (has echo and trig pins seperate)
-
16×2 LCD (had to suffer on 4-bit mode since i didnt have an I2C)
-
Potentiometer (for LCD contrast)
-
Breadboard and jumper wires
[WIP]