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

Arduino UNO-Based Battery-Powered Robotic System with Multiple Sensors and Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Battery-Powered Robotic System with Multiple Sensors and Motor Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, various sensors (IR, ultrasonic), a motor driver, DC motors, a buck converter, and a battery mount. The circuit is designed to interface multiple sensors and control DC motors using the Arduino UNO. The power is supplied through a buck converter connected to a 4 x AAA battery mount.

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. 4 x AAA Battery Mount

    • Description: A battery holder for four AAA batteries.
    • Pins: -, +
  3. Buck Converter

    • Description: A DC-DC converter that steps down voltage.
    • Pins: IN+, IN-, OUT+, OUT-
  4. Sharp IR Sensor

    • Description: An infrared sensor for distance measurement.
    • Pins: VCC, GND, Pin
  5. DC Motor

    • Description: A simple DC motor.
    • Pins: pin 1, pin 2
  6. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver.
    • 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
  7. IR Sensor

    • Description: An infrared sensor for object detection.
    • Pins: out, gnd, vcc
  8. HC-SR04 Ultrasonic Distance Sensor

    • Description: An ultrasonic sensor for distance measurement.
    • Pins: VCC, TRIG, ECHO, GND
  9. Resistor

    • Description: A resistor with a resistance of 200 Ohms.
    • Pins: pin1, pin2
  10. DIP Switch 3 Position

    • Description: A 3-position DIP switch.
    • Pins: 1, 2, 3, 4, 5, 6

Wiring Details

Arduino UNO

4 x AAA Battery Mount

Buck Converter

L298N DC Motor Driver

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 document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO.