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

Arduino UNO Line Following Robot with IR Sensors and Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO Line Following Robot with IR Sensors and Battery Power

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, various sensors, a motor driver, and DC motors. The circuit is designed to interface with multiple sensors and control motors, likely for a robotics application.

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. Line Sensor

    • Description: A sensor module used to detect lines or edges.
    • Pins: 8, 7, 6, 5, 4, 3, 2, 1, +5v, GND
  3. IR Sensor

    • Description: An infrared sensor used for object detection.
    • Pins: out, gnd, vcc
  4. TCRT-5000 IR Sensor (2 units)

    • Description: An infrared sensor used for proximity detection.
    • Pins: 5V, GND, D0, A0
  5. 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
  6. DC Mini Metal Gear Motor (2 units)

    • Description: A small DC motor with metal gears.
    • Pins: IN1, IN2
  7. 18650 Li-ion Battery x 2

    • Description: A pair of rechargeable lithium-ion batteries.
    • Pins: +, -

Wiring Details

Arduino UNO

Line Sensor

IR Sensor

TCRT-5000 IR Sensor (2 units)

L298N DC Motor Driver

DC Mini Metal Gear Motor (2 units)

18650 Li-ion Battery x 2

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 microcontroller.