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

Arduino Leonardo-Based Line Following Robot with TCRT-5000 IR Sensors and L298N Motor Driver

View and Edit Project In Cirkit DesignerImage of Arduino Leonardo-Based Line Following Robot with TCRT-5000 IR Sensors and L298N Motor Driver

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes multiple TCRT-5000 IR sensors, an L298N Dual Motor Driver Module, an Arduino Leonardo, a 7.4V battery, DC Mini Metal Gear Motors, and a rocker switch. The circuit is designed to interface the IR sensors with the Arduino for input, control motors via the motor driver, and power the system using a 7.4V battery.

Component List

  1. TCRT-5000 IR sensor

    • Description: Infrared sensor used for proximity detection.
    • Pins: 5V, GND, D0, A0
  2. L298N 2A Dual Motor Driver Module with PWM Control

    • Description: Motor driver module used to control the speed and direction of two DC motors.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT4, OUT3, ENA, IN1, IN2, IN3, ENB, IN4
  3. Arduino Leonardo (Rev3b)

    • Description: Microcontroller board based on the ATmega32u4.
    • Pins: D0/RX, D1/TX, D2/SDA, D3 PWM/SCL, D4/A6, D5 PWM, D6 PWM/A7, D7, n.c., IOREF, RESET, 3V3, 5V, GND, VIN, A0, A1, A2, A3, A4, A5, D8/A8, D9 PWM/A9, D10 PWM/A10, D11 PWM, D12/A11, D13 PWM, AREF, SDA, SCL
  4. 7.4V Battery

    • Description: Power source for the circuit.
    • Pins: +, -
  5. DC Mini Metal Gear Motor

    • Description: Small DC motor with metal gears.
    • Pins: IN1, IN2
  6. Rocker Switch

    • Description: Switch used to control the power supply.
    • Pins: output, input

Wiring Details

TCRT-5000 IR sensor

L298N 2A Dual Motor Driver Module with PWM Control

Arduino Leonardo (Rev3b)

7.4V Battery

DC Mini Metal Gear Motor

Rocker Switch

Code

No code provided for this circuit.