Arduino UNO-Based Automated Water Control System with Water Sensor and Solenoid Valve
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a water sensor, and a plastic solenoid valve. The Arduino UNO is used to read the water sensor's signal and control the solenoid valve based on the sensor's input.
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
Water Sensor
- Description: A sensor used to detect the presence of water.
- Pins: Signal, VCC, GND
Plastic Solenoid Valve
- Description: An electrically controlled valve used to control the flow of liquids.
- Pins: pin1, pin2
Wiring Details
Arduino UNO
- 5V: Connected to VCC of the Water Sensor
- GND: Connected to GND of the Water Sensor and pin1 of the Plastic Solenoid Valve
- D10: Connected to pin2 of the Plastic Solenoid Valve
- D6: Connected to Signal of the Water Sensor
Water Sensor
- VCC: Connected to 5V of the Arduino UNO
- GND: Connected to GND of the Arduino UNO
- Signal: Connected to D6 of the Arduino UNO
Plastic Solenoid Valve
- pin1: Connected to GND of the Arduino UNO
- pin2: Connected to D10 of the Arduino UNO
Code Documentation
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.txt
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the Arduino UNO.