Battery-Powered IR Sensor Controlled Water Pump with Relay Module
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to control a 5V mini water pump using a relay module and an IR sensor. The relay module is powered by a 5V battery, while the water pump is powered by a 9V battery. The IR sensor detects an object and triggers the relay, which in turn activates the water pump.
Component List
Relay Module 5V-30V
- Pins: common contact, normally open, normally closed, trigger, V-, V+
- Description: A relay module used to control high voltage devices with a low voltage signal.
- Purpose in Circuit: To control the water pump based on the signal from the IR sensor.
IR Sensor
- Pins: out, gnd, vcc
- Description: An infrared sensor used to detect objects.
- Purpose in Circuit: To detect an object and send a signal to the relay module.
5V Mini Water Pump
- Pins: positive pin, negative pin
- Description: A small water pump that operates on 5V.
- Purpose in Circuit: To pump water when activated by the relay module.
9V Battery
- Pins: +, -
- Description: A 9V battery used to power the water pump.
- Purpose in Circuit: To provide power to the water pump.
5V Battery
- Pins: +, -
- Description: A 5V battery used to power the relay module and IR sensor.
- Purpose in Circuit: To provide power to the relay module and IR sensor.
Wiring Details
Relay Module 5V-30V
- common contact is connected to the + pin of the 9V battery.
- normally open is connected to the positive pin of the 5V mini water pump.
- trigger is connected to the out pin of the IR sensor.
- V- is connected to the - pin of the 5V battery and the gnd pin of the IR sensor.
- V+ is connected to the + pin of the 5V battery and the vcc pin of the IR sensor.
IR Sensor
- out is connected to the trigger pin of the relay module.
- gnd is connected to the - pin of the 5V battery and the V- pin of the relay module.
- vcc is connected to the + pin of the 5V battery and the V+ pin of the relay module.
5V Mini Water Pump
- positive pin is connected to the normally open pin of the relay module.
- negative pin is connected to the - pin of the 9V battery.
9V Battery
- + is connected to the common contact pin of the relay module.
- - is connected to the negative pin of the 5V mini water pump.
5V Battery
- + is connected to the V+ pin of the relay module and the vcc pin of the IR sensor.
- - is connected to the V- pin of the relay module and the gnd pin of the IR sensor.
Code
There is no code provided for this circuit.