Arduino UNO Controlled Water Pump with Bluetooth Interface and Ultrasonic Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to interface various components with an Arduino UNO microcontroller. The components include a water pump, a 5V relay, an HC-05 Bluetooth Module, an HC-SR04 Ultrasonic Sensor, a 16x2 LCD screen with I2C interface, and a buzzer. The circuit is likely intended for a system that requires distance measurement, wireless communication, and actuation of a water pump, with feedback provided through an LCD display and audible alerts via a buzzer.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- Provides GPIO pins, power supply pins, and communication interfaces
Water Pump
- An electromechanical device for moving water
- Requires a power source and is controlled by the relay
5V Relay
- An electrically operated switch
- Allows the Arduino to control higher power devices like the water pump
HC-05 Bluetooth Module
- A wireless communication module
- Enables Bluetooth connectivity for the circuit
HC-SR04 Ultrasonic Sensor
- A sensor for measuring distance via ultrasonic waves
- Provides distance measurements to the Arduino
LCD Screen 16x2 I2C
- An alphanumeric display with 16 characters per line and 2 lines
- Uses I2C communication to display information
Buzzer
- An audible signaling device
- Generates sound when powered
Wiring Details
Arduino UNO
- GND connected to the common ground net
- 5V supplies power to the VCC net
- D11 connected to the ECHO pin of the HC-SR04 Ultrasonic Sensor
- D12 connected to the TRIG pin of the HC-SR04 Ultrasonic Sensor
- D0 connected to the TXD pin of the HC-05 Bluetooth Module
- D1 connected to the RXD pin of the HC-05 Bluetooth Module
- A4 (SDA) connected to the SDA pin of the LCD screen 16x2 I2C
- A5 (SCL) connected to the SCL pin of the LCD screen 16x2 I2C
- D13 connected to the PIN pin of the buzzer
- D4 connected to the In pin of the 5V relay
Water Pump
- Positive connected to the Normally Open pin of the 5V relay
- Negative connected to the common ground net
5V Relay
- GND connected to the common ground net
- VCC connected to the VCC net
- In controlled by the D4 pin of the Arduino UNO
- Normally Open connected to the positive pin of the water pump
HC-05 Bluetooth Module
- VCC connected to the VCC net
- GND connected to the common ground net
- TXD connected to the D0 pin of the Arduino UNO
- RXD connected to the D1 pin of the Arduino UNO
HC-SR04 Ultrasonic Sensor
- VCC connected to the VCC net
- TRIG controlled by the D12 pin of the Arduino UNO
- ECHO connected to the D11 pin of the Arduino UNO
- GND connected to the common ground net
LCD Screen 16x2 I2C
- SCL connected to the A5 (SCL) pin of the Arduino UNO
- SDA connected to the A4 (SDA) pin of the Arduino UNO
- VCC connected to the VCC net
- GND connected to the common ground net
Buzzer
- PIN controlled by the D13 pin of the Arduino UNO
- GND connected to the common ground net
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 based on the requirements of the circuit's application.