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

Arduino UNO and L298N Motor Driver Controlled Robotic Car with IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver Controlled Robotic Car with IR Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control multiple motors using an L298N DC motor driver and an Arduino UNO. The circuit also includes IR sensors for obstacle detection and is powered by a 12V 7Ah battery.

Component List

  1. 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
  2. Motor with Reducer

    • Description: A DC motor with a built-in gearbox to reduce speed and increase torque.
    • Pins: 3 - 6 VCC, GND
  3. IR Sensor

    • Description: An infrared sensor used for obstacle detection.
    • Pins: out, gnd, vcc
  4. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P, used for controlling 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
  5. 12V 7Ah Battery

    • Description: A rechargeable battery used to power the circuit.
    • Pins: 12v +, 12v -

Wiring Details

L298N DC Motor Driver

Motor with Reducer

IR Sensor

Arduino UNO

12V 7Ah Battery

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 a summary, component list, wiring details, and documented code.