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

Arduino UNO-Based Battery-Powered Robotic System with Ultrasonic Sensor and Motor Control

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

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an L298N DC motor driver, multiple DC motors, a 12V 7Ah battery, a rocker switch, 775 motors, a 12V single-channel relay, a Tower Pro SG90 servo, and an HC-SR04 ultrasonic sensor. The circuit is designed to control various motors and sensors using the Arduino UNO.

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. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver module.
    • 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
  3. DC Motor

    • Description: A standard DC motor.
    • Pins: pin 1, pin 2
  4. 12V 7Ah Battery

    • Description: A rechargeable 12V battery.
    • Pins: 12v +, 12v -
  5. Rocker Switch

    • Description: A simple on/off switch.
    • Pins: 1, 2
  6. 775 Motor

    • Description: A high-torque DC motor.
    • Pins: positive, negative
  7. 12V Single Channel Relay

    • Description: A relay module for switching high-power devices.
    • Pins: NC, COM, NO, IN, GND, VCC
  8. Tower Pro SG90 Servo

    • Description: A micro servo motor.
    • Pins: Signal, +5V, GND
  9. HC-SR04 Ultrasonic Sensor

    • Description: An ultrasonic distance sensor.
    • Pins: VCC, TRIG, ECHO, GND

Wiring Details

Arduino UNO

L298N DC Motor Driver

12V 7Ah Battery

Rocker Switch

775 Motor

12V Single Channel Relay

Tower Pro SG90 Servo

HC-SR04 Ultrasonic 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:

}

Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.