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

Arduino UNO Based Ultrasonic Sensor Array with Bluetooth and Audio Feedback

Image of Arduino UNO Based Ultrasonic Sensor Array with Bluetooth and Audio Feedback

Circuit Documentation

Summary

This circuit is designed to interface an Arduino UNO with multiple HC-SR04 Ultrasonic Sensors, a DFPlayer MINI MP3 module, and an HC-05 Bluetooth Module. The circuit is powered by 9V batteries and includes resistors for current limiting and voltage level adjustments. The Arduino UNO serves as the central processing unit, controlling the sensors and communication modules.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.

HC-SR04 Ultrasonic Sensor (x4)

  • Ultrasonic distance measuring module
  • Provides 2cm to 400cm non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.

DFPlayer MINI

  • A small and low-cost MP3 module with a simplified output directly to the speaker.
  • Supports a micro SD card, USB flash drive, and can be controlled with an Arduino through serial communication.

HC-05 Bluetooth Module

  • A Bluetooth module for serial communication which can be set as a master or slave.
  • It can be used in a host of applications like wireless data transfer, remote control, etc.

Resistor (x6)

  • 200 Ohm resistors used for current limiting and voltage level adjustments.

9V Battery (x2)

  • Provides power to the circuit.

Wiring Details

Arduino UNO

  • 5V connected to VCC of all HC-SR04 Ultrasonic Sensors.
  • GND connected to GND of all components and one terminal of a 200 Ohm resistor.
  • Vin connected to the positive terminal of a 9V battery.
  • D12, D11, D10, D9 connected to ECHO pins of HC-SR04 Ultrasonic Sensors.
  • D8 connected to TRIG pins of all HC-SR04 Ultrasonic Sensors.
  • D7 connected to TXD of HC-05 Bluetooth Module.
  • D6 connected to one terminal of a 200 Ohm resistor.
  • D5 connected to one terminal of a 200 Ohm resistor.
  • D4 connected to TX of DFPlayer MINI.

HC-SR04 Ultrasonic Sensor

  • VCC connected to 5V of Arduino UNO.
  • GND connected to GND of Arduino UNO.
  • ECHO connected to D12, D11, D10, D9 of Arduino UNO (one sensor per pin).
  • TRIG connected to D8 of Arduino UNO.

DFPlayer MINI

  • VCC connected to one terminal of a 200 Ohm resistor.
  • GND connected to GND of Arduino UNO.
  • TX connected to D4 of Arduino UNO.
  • RX connected to one terminal of a 200 Ohm resistor.

HC-05 Bluetooth Module

  • VCC connected to one terminal of a 200 Ohm resistor.
  • GND connected to GND of Arduino UNO.
  • TXD connected to D7 of Arduino UNO.
  • RXD connected to one terminal of a 200 Ohm resistor.

Resistor

  • Four 200 Ohm resistors connected between the positive terminals of the 9V batteries and VCC of DFPlayer MINI and HC-05 Bluetooth Module.
  • Two 200 Ohm resistors connected between D6, D5 of Arduino UNO and GND.

9V Battery

  • One battery's positive terminal connected to Vin of Arduino UNO.
  • One battery's negative terminal connected to GND of Arduino UNO.
  • The other battery's positive terminal connected to one terminal of a 200 Ohm resistor leading to VCC of DFPlayer MINI and HC-05 Bluetooth Module.
  • The other battery's negative terminal connected to GND of 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 include any functional code. It needs to be populated with the logic for controlling the sensors and communication modules.