News

For this project you will need 1 Arduino UNO R3, 1 Piezo, 1 Red LED, 1 220 Ω Resistor and 1 1 kΩ Resistor.
The provided Arduino code performs the following actions: Initializes pins and serial communication. Measures the distance using the ultrasonic sensor and calculates the distance in centimeters.