Arduino UNO-Based Smart Irrigation System with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed using an Arduino UNO microcontroller. The circuit includes various sensors, an LCD display, a Bluetooth module, an LED, a relay, and a water pump. The purpose of this circuit is to monitor environmental conditions such as soil moisture, humidity, temperature, and rain, and to control a water pump based on these conditions. The data can be displayed on an LCD and transmitted via Bluetooth.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
DHT11 Humidity and Temperature Sensor
- Description: A sensor for measuring humidity and temperature.
- Pins: VDD, DATA, NULL, GND
SparkFun Soil Moisture Sensor
- Description: A sensor for measuring soil moisture levels.
- Pins: VCC, GND, SIG
RAIN SENSOR
- Description: A sensor for detecting rain.
- Pins: AO, DO, GRD, VCC
LED: Two Pin (red)
- Description: A red LED with two pins.
- Pins: cathode, anode
16x2 I2C LCD
- Description: A 16x2 character LCD with I2C interface.
- Pins: GND, VCC, SDA, SCL
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
Water Pump
- Description: A small water pump.
- Pins: positive, negative
9V Battery
- Description: A 9V battery for power supply.
- Pins: +, -
1 Channel Relay 5V
- Description: A relay module for controlling high voltage devices.
- Pins: VCC, GND, IN, NC, COM, NO
Wiring Details
Arduino UNO
GND connected to:
- SparkFun Soil Moisture Sensor (GND)
- RAIN SENSOR (GRD)
- LED: Two Pin (red) (cathode)
- 16x2 I2C LCD (GND)
- DHT11 Humidity and Temperature Sensor (GND)
- 1 Channel Relay 5V (GND)
- HC-05 Bluetooth Module (GND)
5V connected to:
- SparkFun Soil Moisture Sensor (VCC)
- RAIN SENSOR (VCC)
- 16x2 I2C LCD (VCC)
- DHT11 Humidity and Temperature Sensor (VDD)
- 1 Channel Relay 5V (VCC)
- HC-05 Bluetooth Module (VCC)
D2 connected to:
- DHT11 Humidity and Temperature Sensor (DATA)
A0 connected to:
- SparkFun Soil Moisture Sensor (SIG)
A3 connected to:
- RAIN SENSOR (AO)
A4 connected to:
- 16x2 I2C LCD (SDA)
A5 connected to:
- 16x2 I2C LCD (SCL)
D11 connected to:
- HC-05 Bluetooth Module (RXD)
D10 connected to:
- HC-05 Bluetooth Module (TXD)
D8 connected to:
- 1 Channel Relay 5V (IN)
D4 connected to:
- LED: Two Pin (red) (anode)
SparkFun Soil Moisture Sensor
GND connected to:
- Arduino UNO (GND)
VCC connected to:
- Arduino UNO (5V)
SIG connected to:
- Arduino UNO (A0)
RAIN SENSOR
GRD connected to:
- Arduino UNO (GND)
VCC connected to:
- Arduino UNO (5V)
AO connected to:
- Arduino UNO (A3)
LED: Two Pin (red)
cathode connected to:
- Arduino UNO (GND)
anode connected to:
- Arduino UNO (D4)
16x2 I2C LCD
GND connected to:
- Arduino UNO (GND)
VCC connected to:
- Arduino UNO (5V)
SDA connected to:
- Arduino UNO (A4)
SCL connected to:
- Arduino UNO (A5)
HC-05 Bluetooth Module
GND connected to:
- Arduino UNO (GND)
VCC connected to:
- Arduino UNO (5V)
RXD connected to:
- Arduino UNO (D11)
TXD connected to:
- Arduino UNO (D10)
Water Pump
positive connected to:
- 1 Channel Relay 5V (NC)
negative connected to:
- 9V Battery (-)
9V Battery
+ connected to:
- 1 Channel Relay 5V (COM)
- connected to:
- Water Pump (negative)
1 Channel Relay 5V
GND connected to:
- Arduino UNO (GND)
VCC connected to:
- Arduino UNO (5V)
IN connected to:
- Arduino UNO (D8)
NC connected to:
- Water Pump (positive)
COM connected to:
- 9V Battery (+)
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:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the Arduino UNO microcontroller.