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

Arduino UNO and L298N Motor Driver Controlled Robotic System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver Controlled Robotic System with Battery Power

Circuit Documentation

Summary

This circuit is designed to control four DC motors using an L298N motor driver module, which is interfaced with an Arduino UNO microcontroller. The motors are powered by a 9V battery, and the Arduino controls the motor driver to manage the speed and direction of the motors.

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. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P, used for interfacing and controlling the motor driver.
    • 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
  3. Motor with Reducer (4 units)

    • Description: A DC motor with a gear reducer to provide higher torque.
    • Pins: 3 - 6 VCC, GND
  4. 9V Battery (2 units)

    • Description: A 9V battery used to power the motor driver and motors.
    • Pins: -, +

Wiring Details

L298N DC Motor Driver

Arduino UNO

Motor with Reducer

9V 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)