Arduino UNO-Based Smart Irrigation System with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with various sensors and actuators, including multiple micro servos, a soil moisture interceptor, a soil moisture sensor, a rain/snow sensor, a Bluetooth module, and an LDR module. The Arduino UNO serves as the central control unit, reading sensor data and controlling the servos and Bluetooth module.
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
Micro servo 9G
- Description: A small servo motor used for precise control of angular position.
- Pins: GND, +5V, PWM
Soil Moisture Interceptor
- Description: A sensor module used to measure soil moisture levels.
- Pins: AO, DO, GND, VCC
SparkFun Soil Moisture Sensor
- Description: A sensor used to measure the moisture content in the soil.
- Pins: VCC, GND, SIG
Rain/Snow Sensor - Board
- Description: A sensor board used to detect rain or snow.
- Pins: 1, 2, A0 (Analog), D0 (Digital), GND, VCC (5V)
YL-83 Rain Sensor - Detection Board
- Description: A detection board used in conjunction with the rain/snow sensor.
- Pins: POS, NEG
HC-05 Bluetooth Module
- Description: A Bluetooth module used for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
Module LDR
- Description: A light-dependent resistor module used to measure light intensity.
- Pins: VCC, GND, DO, AO
Wiring Details
Arduino UNO
- 3.3V connected to VCC of HC-05 Bluetooth Module
- 5V connected to:
- +5V of all Micro servo 9G motors
- VCC (5V) of Rain/Snow Sensor - Board
- VCC of Soil Moisture Interceptor
- VCC of Module LDR
- GND connected to:
- GND of Soil Moisture Interceptor
- GND of HC-05 Bluetooth Module
- GND of Rain/Snow Sensor - Board
- GND of all Micro servo 9G motors
- GND of Module LDR
- A0 connected to DO of Soil Moisture Interceptor
- D13 connected to DO of Module LDR
- D12 connected to D0 (Digital) of Rain/Snow Sensor - Board
- D11 connected to TXD of HC-05 Bluetooth Module
- D10 connected to RXD of HC-05 Bluetooth Module
- D9 connected to PWM of Micro servo 9G
- D6 connected to PWM of Micro servo 9G
- D5 connected to PWM of Micro servo 9G
- D3 connected to PWM of Micro servo 9G
Micro servo 9G
- +5V connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- PWM connected to:
- D9 of Arduino UNO
- D6 of Arduino UNO
- D5 of Arduino UNO
- D3 of Arduino UNO
Soil Moisture Interceptor
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- DO connected to A0 of Arduino UNO
SparkFun Soil Moisture Sensor
- VCC connected to VCC of Soil Moisture Interceptor
- GND connected to GND of Soil Moisture Interceptor
Rain/Snow Sensor - Board
- VCC (5V) connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- D0 (Digital) connected to D12 of Arduino UNO
- 1 connected to POS of YL-83 Rain Sensor - Detection Board
- 2 connected to NEG of YL-83 Rain Sensor - Detection Board
YL-83 Rain Sensor - Detection Board
- POS connected to 1 of Rain/Snow Sensor - Board
- NEG connected to 2 of Rain/Snow Sensor - Board
HC-05 Bluetooth Module
- VCC connected to 3.3V of Arduino UNO
- GND connected to GND of Arduino UNO
- TXD connected to D11 of Arduino UNO
- RXD connected to D10 of Arduino UNO
Module LDR
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- DO connected to D13 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:
}
Additional Documentation (documentation.txt)