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

IR Sensor and Relay-Controlled Motor and Water Pump System with Battery Power

View and Edit Project In Cirkit DesignerImage of IR Sensor and Relay-Controlled Motor and Water Pump System with Battery Power

Circuit Documentation

Summary

This circuit involves various components including a trimmer potentiometer, relay module, IR sensor, rocker switch, battery, voltage regulator, transistor, capacitor, piezo speaker, motor with reducer, and a water pump. The circuit is designed to control the operation of motors and a water pump based on the input from an IR sensor, with the relay module acting as a switch.

Component List

  1. Trimmer Potentiometer

    • Description: Adjustable resistor used to vary resistance in the circuit.
    • Pins: leg1, wiper, leg2
    • Properties: Resistance: 100k Ohms
  2. 5V 2-Relay JD-VCC

    • Description: Relay module used to control high voltage devices.
    • Pins: JD-VCC, VCC, GND, IN1, IN2, NO, COM, NC
  3. IR Sensor

    • Description: Sensor used to detect infrared light.
    • Pins: out, gnd, vcc
  4. Rocker Switch

    • Description: Switch used to control the flow of current.
    • Pins: 1, 2
  5. 12V Battery

    • Description: Power source for the circuit.
    • Pins: -, +
  6. LM2596

    • Description: Voltage regulator used to step down voltage.
    • Pins: IN, OUT
  7. BC547

    • Description: NPN transistor used for switching and amplification.
    • Pins: collector, base, emitter
  8. Electrolytic Capacitor

    • Description: Capacitor used to store electrical energy.
    • Pins: -, +
    • Properties: Capacitance: 100µF
  9. Piezo Speaker

    • Description: Speaker used to produce sound.
    • Pins: pin1, pin2
  10. Motor with Reducer

    • Description: Motor with a gear reducer.
    • Pins: 3 - 6 VCC, GND
  11. 5V Mini Water Pump

    • Description: Water pump used to move water.
    • Pins: positive pin, negative pin

Wiring Details

Trimmer Potentiometer

5V 2-Relay JD-VCC

IR Sensor

Rocker Switch

12V Battery

LM2596

BC547

Electrolytic Capacitor

Piezo Speaker

Motor with Reducer

5V Mini Water Pump

Documented 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