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

Automated Soil Moisture Sensor with Water Pump Control

View and Edit Project In Cirkit DesignerImage of Automated Soil Moisture Sensor with Water Pump Control

Circuit Documentation

Summary

This circuit is designed to control a 5V mini water pump based on the moisture level detected by a SparkFun Soil Moisture Sensor. The system uses a 5V relay to switch the water pump on and off. Power is supplied via a USB plug.

Component List

  1. SparkFun Soil Moisture Sensor

    • Pins: VCC, GND, SIG
    • Description: Measures the moisture level in the soil.
    • Purpose in Circuit: Provides a signal to control the relay based on soil moisture.
  2. USB Plug

    • Pins: GND, D+, D-, 5V+, Out
    • Description: Provides power to the circuit.
    • Purpose in Circuit: Supplies 5V power to the relay, soil moisture sensor, and water pump.
  3. 5V Relay

    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
    • Description: Acts as a switch to control the water pump.
    • Purpose in Circuit: Switches the water pump on and off based on the signal from the soil moisture sensor.
  4. 5V Mini Water Pump

    • Pins: Positive pin, Negative pin
    • Description: Pumps water when powered.
    • Purpose in Circuit: Waters the soil when activated by the relay.
  5. Comment

    • Description: Placeholder for comments or notes in the circuit.
    • Purpose in Circuit: Not applicable.

Wiring Details

SparkFun Soil Moisture Sensor

USB Plug

5V Relay

5V Mini Water Pump

Code

There is no code provided for this circuit. If a microcontroller is added in the future, the code section will be updated accordingly.