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

Battery-Powered Line Following Robot with L298N Motor Driver and KY-033 Sensors

View and Edit Project In Cirkit DesignerImage of Battery-Powered Line Following Robot with L298N Motor Driver and KY-033 Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control a pair of DC motors using an L298N motor driver, two KY-033 line tracking sensors, and a 74HC04 hex inverter. The circuit is powered by two 18650 Li-ion batteries. The document includes a component list, wiring details, and code documentation.

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. KY-033 Line Tracking Sensor (2 units)

    • Description: A sensor module used for line tracking in robotics.
    • Pins: A0, D0, GND, VCC
  3. 74HC04

    • Description: A hex inverter IC used to invert the logic levels of input signals.
    • Pins: A1, Y1, A2, Y2, A3, Y3, GND, VCC, A6, Y6, A5, Y5, A4, Y4
  4. 18650 Li-ion Battery x 2

    • Description: A pair of rechargeable lithium-ion batteries used to power the circuit.
    • Pins: +, -
  5. Gearmotor DC Wheels Left

    • Description: A DC motor with attached wheels for the left side of a robot.
    • Pins: PIN1, PIN2
  6. Gearmotor DC Wheels Right

    • Description: A DC motor with attached wheels for the right side of a robot.
    • Pins: PIN1, PIN2

Wiring Details

L298N DC Motor Driver

KY-033 Line Tracking Sensor (First Unit)

KY-033 Line Tracking Sensor (Second Unit)

74HC04

18650 Li-ion Battery x 2

Gearmotor DC Wheels Left

Gearmotor DC Wheels Right

Code Documentation

No code is provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. The detailed wiring information ensures that each component is correctly connected, facilitating the assembly and troubleshooting of the circuit.