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

Arduino UNO-Based Line Following and Obstacle Avoidance Robot with Ultrasonic and IR Sensors

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Line Following and Obstacle Avoidance Robot with Ultrasonic and IR Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control a robot using an Arduino UNO microcontroller. The circuit includes various sensors (ultrasonic and infrared), a motor driver, and motors. The robot is designed to navigate based on sensor inputs and control the motors accordingly.

Component List

  1. 4 x AAA Battery Mount

    • Description: Provides power to the circuit.
    • Pins: -, +
  2. HC-SR04 Ultrasonic Sensor

    • Description: Measures distance to objects using ultrasonic waves.
    • Pins: VCC, TRIG, ECHO, GND
  3. 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
  4. IR Sensor (Left)

    • Description: Detects infrared signals for line following.
    • Pins: out, gnd, vcc
  5. IR Sensor (Right)

    • Description: Detects infrared signals for line following.
    • Pins: out, gnd, vcc
  6. L298N DC Motor Driver

    • Description: Controls the direction and speed of 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
  7. Rocker Switch

    • Description: Used to turn the circuit on and off.
    • Pins: output, input
  8. Hobby Gearmotor with 48:1 Gearbox (Left)

    • Description: Provides mechanical movement for the robot.
    • Pins: pin 1, pin 2
  9. Hobby Gearmotor with 48:1 Gearbox (Right)

    • Description: Provides mechanical movement for the robot.
    • Pins: pin 1, pin 2

Wiring Details

4 x AAA Battery Mount

HC-SR04 Ultrasonic Sensor

Arduino UNO

IR Sensor (Left)

IR Sensor (Right)

L298N DC Motor Driver

Rocker Switch

Hobby Gearmotor with 48:1 Gearbox (Left)

Hobby Gearmotor with 48:1 Gearbox (Right)