Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino-Controlled Soil Moisture Sensing with Automated Water Pump

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Soil Moisture Sensing with Automated Water Pump

Circuit Documentation

Summary

This circuit is designed to monitor soil moisture using the SparkFun gator:soil sensor and control a water pump based on the moisture level. The system is powered by a 12V power supply and uses an Arduino UNO as the main microcontroller to process the sensor data and control a 12V single-channel relay, which in turn controls the water pump. The circuit ensures that the water pump is activated when the soil moisture falls below a certain threshold.

Component List

SparkFun gator:soil

12V Power Supply

Arduino UNO

Water Pump

2.1mm Barrel Jack with Terminal Block

12V Single Channel Relay

Wiring Details

SparkFun gator:soil

12V Power Supply

Arduino UNO

Water Pump

2.1mm Barrel Jack with Terminal Block

12V Single Channel Relay

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 logic. It needs to be implemented to read the soil moisture sensor data from the A0 pin, process the data, and control the relay connected to the D7 pin accordingly.