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

Arduino-Controlled Ultrasonic Sensor with Relay-Activated Water Pump

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Ultrasonic Sensor with Relay-Activated Water Pump

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an Arduino UNO with an HC-SR04 Ultrasonic Sensor, a 5V relay, a 9V battery, an LED, and a 5V mini water pump. The Arduino UNO acts as the central controller, managing the sensor inputs and controlling the relay, which in turn controls the power to the LED and the water pump. The 9V battery provides power to the relay, and the Arduino UNO is used to power the sensor and the relay's control circuitry.

Component List

Arduino UNO

HC-SR04 Ultrasonic Sensor

5V Relay

Battery 9V

LED: Two Pin (red)

5V Mini Water Pump

Wiring Details

Arduino UNO

HC-SR04 Ultrasonic Sensor

5V Relay

Battery 9V

LED: Two Pin (red)

5V Mini Water Pump

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Notes (documentation.txt)

No additional code documentation provided.