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

Arduino-Based Ultrasonic Water Pump Controller with Relay and Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino-Based Ultrasonic Water Pump Controller with Relay and Battery Power

Circuit Documentation

Summary

This circuit is designed to control a 5V mini water pump using a 5V relay and an ultrasonic sensor, all managed by a Vietduino Uno USB-B microcontroller. The circuit is powered by a 9V battery. The ultrasonic sensor detects the distance to an object and triggers the relay to control the water pump based on the distance measured.

Component List

  1. 5V Relay

    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
    • Description: A relay used to control the water pump.
    • Purpose: To switch the water pump on and off based on the signal from the microcontroller.
  2. 9V Battery

    • Pins: -, +
    • Description: A 9V battery used to power the water pump.
    • Purpose: To provide power to the water pump.
  3. 5V Mini Water Pump

    • Pins: positive pin, negative pin
    • Description: A small water pump that operates at 5V.
    • Purpose: To pump water when activated by the relay.
  4. Ultrasonic Sensor

    • Pins: +VCC, Trigger, Echo, GND
    • Description: A sensor used to measure the distance to an object.
    • Purpose: To detect the presence of an object and send a signal to the microcontroller.
  5. Vietduino Uno USB-B

    • Pins: AREF, GND, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 3V3, 5V, RESET, VIN, A0, A1, A2, A3, A4, A5
    • Description: A microcontroller board based on the Arduino Uno.
    • Purpose: To control the relay and process signals from the ultrasonic sensor.

Wiring Details

5V Relay

9V Battery

5V Mini Water Pump

Ultrasonic Sensor

Vietduino Uno USB-B

Code

No code provided for this circuit.