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, an L298N DC motor driver, a micro servo, an ultrasonic sensor, a 9V battery, a toggle switch, and two motors with reducers. The circuit is designed to control motors and a servo based on inputs from an ultrasonic sensor, powered by a 9V battery and controlled by an Arduino UNO.

Component List

  1. 9V Battery

    • Description: Provides power to the circuit.
    • Pins: -, +
  2. Arduino UNO

    • Description: Microcontroller used to control the circuit.
    • 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
  3. L298N DC Motor Driver

    • Description: Controls the 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. Micro Servo 9G

    • Description: Small servo motor for precise control.
    • Pins: GND, +5V, PWM
  5. Ultrasonic Sensor

    • Description: Measures distance using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  6. Motor with Reducer (x2)

    • Description: Motors with gear reducers for controlled movement.
    • Pins: 3 - 6 VCC, GND
  7. Toggle Switch SPST

    • Description: Simple on/off switch.
    • Pins: L1, COM

Wiring Details

9V Battery

Arduino UNO

L298N DC Motor Driver

Micro Servo 9G

Ultrasonic Sensor

Motor with Reducer

Second Motor with Reducer

Toggle Switch SPST

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.