Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Based Ultrasonic Distance Measurement with LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO Based Ultrasonic Distance Measurement with LCD Display

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with an HC-SR04 ultrasonic sensor and a 16x2 LCD screen with an I2C interface. The circuit is powered by a 9V battery connected through a rocker switch and a 2.1mm barrel jack with a terminal block to provide a controlled power source. The HC-SR04 sensor is used to measure distances, and the LCD screen displays the information processed by the Arduino. The Arduino UNO serves as the central processing unit, controlling the sensor and managing the display on the LCD.

Component List

Arduino UNO

HC-SR04 Ultrasonic Sensor

LCD Screen 16x2 I2C

Rocker Switch

9V Battery

2.1mm Barrel Jack with Terminal Block

Wiring Details

Arduino UNO

HC-SR04 Ultrasonic Sensor

LCD Screen 16x2 I2C

Rocker Switch

9V Battery

2.1mm Barrel Jack with Terminal Block

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not include specific functionality. It should be populated with the setup and loop routines required to control the HC-SR04 sensor and display the results on the LCD screen.