Battery-Powered Soil Moisture Sensor with Automatic Water Pump
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to control a water pump based on soil moisture levels. It uses a 7805 voltage regulator to provide a stable 5V supply, a relay to switch the water pump, and a soil moisture sensor to detect the moisture level. An LED is included to indicate the status of the circuit.
Component List
7805 Voltage Regulator
- Description: Provides a stable 5V output from a higher voltage input.
- Pins: Vin, Gnd, Vout
9V Battery
- Description: Provides the primary power source for the circuit.
- Pins: +, -
Toggle Switch
- Description: Allows manual control to turn the circuit on or off.
- Pins: L1, COM, L2
LED: Two Pin (red)
- Description: Indicates the status of the circuit.
- Pins: Cathode, Anode
Resistor
- Description: Limits the current through the LED.
- Pins: Pin1, Pin2
- Properties: Resistance: 200 Ohms
5V Relay
- Description: Switches the water pump on or off based on the control signal.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
Water Pump
- Description: Pumps water when activated.
- Pins: VCC, GND
SparkFun Soil Moisture Sensor
- Description: Measures the moisture level in the soil.
- Pins: VCC, GND, SIG
Wiring Details
7805 Voltage Regulator
- Vin: Connected to L2 of the Toggle Switch
- Gnd: Connected to GND of the 5V Relay, GND of the 9V Battery, GND of the Soil Moisture Sensor, and Pin2 of the Resistor
- Vout: Connected to VCC of the 5V Relay, VCC of the Soil Moisture Sensor, and Cathode of the LED
9V Battery (Primary)
- +: Connected to COM of the Toggle Switch
- -: Connected to GND of the 5V Relay, GND of the Soil Moisture Sensor, GND of the 7805 Voltage Regulator, and Pin2 of the Resistor
9V Battery (Secondary)
- +: Connected to Common terminal of the 5V Relay
- -: Connected to GND of the Water Pump
Toggle Switch
- L1: Not connected
- COM: Connected to + of the Primary 9V Battery
- L2: Connected to Vin of the 7805 Voltage Regulator
LED: Two Pin (red)
- Cathode: Connected to Vout of the 7805 Voltage Regulator
- Anode: Connected to Pin1 of the Resistor
Resistor
- Pin1: Connected to Anode of the LED
- Pin2: Connected to GND of the 5V Relay, GND of the 9V Battery, GND of the Soil Moisture Sensor, and GND of the 7805 Voltage Regulator
5V Relay
- Normally Open: Connected to VCC of the Water Pump
- Common terminal: Connected to + of the Secondary 9V Battery
- Normally Closed: Not connected
- In: Connected to SIG of the Soil Moisture Sensor
- GND: Connected to GND of the 9V Battery, GND of the Soil Moisture Sensor, GND of the 7805 Voltage Regulator, and Pin2 of the Resistor
- VCC: Connected to Vout of the 7805 Voltage Regulator
Water Pump
- VCC: Connected to Normally Open of the 5V Relay
- GND: Connected to - of the Secondary 9V Battery
SparkFun Soil Moisture Sensor
- VCC: Connected to Vout of the 7805 Voltage Regulator
- GND: Connected to GND of the 5V Relay, GND of the 9V Battery, GND of the 7805 Voltage Regulator, and Pin2 of the Resistor
- SIG: Connected to In of the 5V Relay
Code
There is no code provided for this circuit.