Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based Ultrasonic Distance Measurement with Bluetooth Interface and Visual Feedback

Image of Arduino UNO-Based Ultrasonic Distance Measurement with Bluetooth Interface and Visual Feedback

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller interfaced with various components such as an LED, a resistor, an HC-SR04 ultrasonic sensor, a buzzer, an I2C LCD 16x2 screen, and an HC-05 Bluetooth module. The circuit is designed to perform tasks that likely involve distance measurement, user interaction through the LCD screen, and wireless communication via Bluetooth. The Arduino UNO is programmed to control these components, and the connections are established to facilitate communication and power distribution.

Component List

LED: Two Pin (red)

  • Description: A red LED that emits light when powered.
  • Pins: cathode, anode

Resistor

  • Description: A resistor with a resistance value of 1000 Ohms.
  • Pins: pin1, pin2

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0 to A5, SCL, SDA, AREF, D0 to D13

HC-SR04 Ultrasonic Sensor

  • Description: A sensor used for measuring distances via ultrasonic waves.
  • Pins: VCC, TRIG, ECHO, GND

Buzzer

  • Description: An electronic buzzer for audible alerts.
  • Pins: PIN, GND

I2C LCD 16x2 Screen

  • Description: A 16x2 character LCD display that uses the I2C communication protocol.
  • Pins: SCL, SDA, VCC (5V), GND, VDD, VO, RS, RW, E, D0 to D7, BLA, BLK

HC-05 Bluetooth Module

  • Description: A Bluetooth module for wireless communication.
  • Pins: EN, VCC, GND, TXD, RXD, STATE

Wiring Details

LED: Two Pin (red)

  • Cathode: Connected to one end of the resistor.
  • Anode: Connected to pin D7 of the Arduino UNO.

Resistor

  • Pin1: Connected to the cathode of the LED.
  • Pin2: Connected to the GND net, which includes the GND pin of the Arduino UNO and other components.

Arduino UNO

  • 5V: Provides power to the VCC net, which includes the VCC pins of the HC-SR04, HC-05, and the I2C LCD screen.
  • GND: Common ground for various components.
  • D7: Connected to the anode of the LED.
  • D8: Connected to the PIN of the buzzer.
  • D9: Connected to the ECHO pin of the HC-SR04 ultrasonic sensor.
  • D10: Connected to the TRIG pin of the HC-SR04 ultrasonic sensor.
  • A4 (SDA): Connected to the SDA pin of the I2C LCD screen.
  • A5 (SCL): Connected to the SCL pin of the I2C LCD screen.
  • D2: Connected to the TXD pin of the HC-05 Bluetooth module.
  • D3: Connected to the RXD pin of the HC-05 Bluetooth module.

HC-SR04 Ultrasonic Sensor

  • VCC: Connected to the 5V net.
  • TRIG: Connected to pin D10 of the Arduino UNO.
  • ECHO: Connected to pin D9 of the Arduino UNO.
  • GND: Connected to the common ground net.

Buzzer

  • PIN: Connected to pin D8 of the Arduino UNO.
  • GND: Connected to the common ground net.

I2C LCD 16x2 Screen

  • SDA: Connected to pin A4 of the Arduino UNO.
  • SCL: Connected to pin A5 of the Arduino UNO.
  • VCC (5V): Connected to the 5V net.
  • GND: Connected to the common ground net.

HC-05 Bluetooth Module

  • VCC: Connected to the 5V net.
  • GND: Connected to the common ground net.
  • TXD: Connected to pin D2 of the Arduino UNO.
  • RXD: Connected to pin D3 of the Arduino UNO.

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 contain any functional code. It needs to be populated with the logic to control the components as per the circuit's requirements.