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

Arduino UNO-Based Water Level Monitoring and Motor Control System with IR Sensor

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Water Level Monitoring and Motor Control System with IR Sensor

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with a water level sensor, an IR sensor, and a DC motor controlled by an L298N motor driver. The circuit is powered by a 9V battery. The Arduino UNO reads inputs from the sensors and controls the motor driver to operate the DC motor.

Component List

  1. 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
  2. Water Level Sensor

    • Description: A sensor used to detect the level of water.
    • Pins: SIG, VCC, GND
  3. L298N DC Motor Driver

    • Description: A dual H-bridge motor driver that allows control of the speed and direction of two DC motors.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  4. 9V Battery

    • Description: A battery providing 9V power supply.
    • Pins: -, +
  5. DC Motor

    • Description: A motor that runs on direct current.
    • Pins: positive, negative
  6. IR Sensor

    • Description: An infrared sensor used to detect objects.
    • Pins: out, gnd, vcc

Wiring Details

Arduino UNO

Water Level Sensor

L298N DC Motor Driver

9V Battery

DC Motor

IR Sensor

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 detailed list of components, wiring details, and the code used for the Arduino UNO microcontroller.