Garage parking sensor
I want to build a parking sensor on an Arduino Nano with an HC-SR04 ultrasonic sensor and three LEDs, green, amber and red, as the car gets closer.
Parts
Arduino Nano V3 (CH340, Type-C) In stock
HC-SR04 Ultrasonic Sensor In stock
5mm LED Assorted Pack (Red, Green, Blue, Yellow, White) In stock
Resistor Variety Pack - , 10 Values, 1/4W Carbon Film In stock
SYB-170 Mini Breadboard In stock
Dupont Jumper Wire Kit (M-M, M-F, F-F, 20cm, 22AWG, ) In stock
USB Type-C to USB-A Cable (56kΩ pull-up, 1m, 22AWG) In stock
Pins, wiring and code
The pin table, the wiring steps and the code for this build are in Soldr. Start this build on Soldr - you can change it before you buy.