Arduino-Powered Battery-Operated Dual DC Motor Control System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Expansion Board, an L298N DC motor driver, two DC Mini Metal Gear Motors, and a LiPo battery. The circuit is designed to control the motors using the Arduino board and the motor driver.
Component List
Arduino Expansion Board
- Description: A microcontroller board based on the ATmega328P.
- Pins: 8, 9, 10, 11, 12, 13, GND, AREF, RX, TX, 2, 3, 4, 5, 6, 7, G, V, 1, 0, 5V, SCL, SDA, 3V3, A0, A1, A2, A3, A4, A5, A6, A7, RST, NC, VIN, POWER
L298N DC Motor Driver
- Description: A dual H-Bridge motor driver that allows control 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
DC Mini Metal Gear Motor (Motor 1)
- Description: A small DC motor with metal gears for increased torque.
- Pins: IN1, IN2
DC Mini Metal Gear Motor (Motor 2)
- Description: A small DC motor with metal gears for increased torque.
- Pins: IN1, IN2
LiPo Battery 2200mAH 30C
- Description: A rechargeable lithium polymer battery.
- Pins: VCC, GND
Wiring Details
Arduino Expansion Board
- Pin 10 is connected to ENB on the L298N DC motor driver.
- Pin 9 is connected to ENA on the L298N DC motor driver.
- Pin 5 is connected to IN4 on the L298N DC motor driver.
- Pin 4 is connected to IN3 on the L298N DC motor driver.
- Pin 3 is connected to IN2 on the L298N DC motor driver.
- Pin 2 is connected to IN1 on the L298N DC motor driver.
- GND is connected to GND on the L298N DC motor driver and GND on the LiPo battery.
- VIN is connected to 5V on the L298N DC motor driver.
L298N DC Motor Driver
- ENB is connected to Pin 10 on the Arduino Expansion Board.
- ENA is connected to Pin 9 on the Arduino Expansion Board.
- IN4 is connected to Pin 5 on the Arduino Expansion Board.
- IN3 is connected to Pin 4 on the Arduino Expansion Board.
- IN2 is connected to Pin 3 on the Arduino Expansion Board.
- IN1 is connected to Pin 2 on the Arduino Expansion Board.
- GND is connected to GND on the Arduino Expansion Board and GND on the LiPo battery.
- 5V is connected to VIN on the Arduino Expansion Board.
- OUT1 is connected to IN2 on DC Mini Metal Gear Motor 1.
- OUT2 is connected to IN1 on DC Mini Metal Gear Motor 1.
- OUT3 is connected to IN2 on DC Mini Metal Gear Motor 2.
- OUT4 is connected to IN1 on DC Mini Metal Gear Motor 2.
- 12V is connected to VCC on the LiPo battery.
DC Mini Metal Gear Motor (Motor 1)
- IN2 is connected to OUT1 on the L298N DC motor driver.
- IN1 is connected to OUT2 on the L298N DC motor driver.
DC Mini Metal Gear Motor (Motor 2)
- IN2 is connected to OUT3 on the L298N DC motor driver.
- IN1 is connected to OUT4 on the L298N DC motor driver.
LiPo Battery 2200mAH 30C
- VCC is connected to 12V on the L298N DC motor driver.
- GND is connected to GND on the Arduino Expansion Board and GND on the L298N DC motor driver.
Code
No code is provided for this circuit.