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

Arduino-Based Water Sensor Controlled DC Motor with Relay and Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino-Based Water Sensor Controlled DC Motor with Relay and Battery Power

Circuit Documentation

Summary

This circuit is designed to control a DC motor using an Arduino UNO, a 1-Channel Relay, and a water sensor. The Arduino UNO serves as the main controller, receiving input from the water sensor and controlling the relay to switch the DC motor on and off. The circuit is powered by a 9V battery.

Component List

  1. DC Motor

    • Description: A motor that converts electrical energy into mechanical energy.
    • Pins: pin 1, pin 2
  2. 9V Battery

    • Description: A battery providing 9V DC power.
    • Pins: -, +
  3. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  4. Water Sensor

    • Description: A sensor to detect the presence of water.
    • Pins: -, +
  5. 1-Channel Relay (5V 10A)

    • Description: A relay module that can switch high voltage devices.
    • Pins: NC, signal, C, power, NO, ground
  6. sa

    • Description: A component with unspecified functionality.
    • Pins: V, gnd, DO, v

Wiring Details

DC Motor

9V Battery

Arduino UNO

Water Sensor

1-Channel Relay (5V 10A)

sa

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 Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.