Mehran University of Engineering and Technology Jamshoro

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Mehran University of Engineering and

Technology Jamshoro

Department of Electrical Engineering

A Project Report on
Controlling the direction of DC motor using Arduino UNO

Group Members:

1. SHAHZAIB AWAN F16EL 04


2. BHAWANI F16EL 18
3. MUHAMMAD AAMIR F16EL 27
4. AWAIS AHMED F16EL 46
5. NAVEED AHMED F16EL 51

Submitted to: Professor Dr. Mukhtiar Ahmed Maher


for Academic year 2019.
CONTAINS:
Abstract

Basics of Electrical Engineering have the main part of DC Motor: construction, control, modification,
function, and this project of our deals with the control. Although control is larger part of DC motor
and needs more and intense attention so, for the sack of simplicity we will be only dealing with
direction. As the name reflects, this project will control the direction of DC motor. Depending on the
user how s/he requires the motor to rotate.

Introduction

DC motor is the most common machine in engineering works and controlling the direction and speed of
DC motor is one of the major subjects in many engineering disciplines, in our advance electrical
machine’s project we will be controlling only the direction. The motor we are using is simple 5v DC
Motor, this motor is commonly found from small kids toys to advance engineering projects. We know
when applying a specific voltage to the dc motor it rotates and when we invert the voltage leads and
connect to the motor now it will rotate in the opposite direction. This simple task is performed by the
L298n Bridge IC with Arduino UNO. The Arduino board here is supplied with 9v Battery

Components

1. L 298N Bridge IC
2. Arduino UNO board
3. DC Motor (Mini)
4. 9v battery supply
5. Connecting wires

The bridge commonly called H Bridge IC L298N, an Arduino a processing element, a 9v battery
supply and few jumpers for connection. After the correct connection we have uploaded the
code in Arduino UNO with our necessity.
Project Circuit and Working

To control the direction of DC motor we have used the referred circuit, here you can see that the arduio
is supplied with 9v batry and connected to the IC, and motor is connected to IC. The Arduino is
programmed in the way that it will rotate the motor first in clockwise direction for 3 seconds and then
stop for 1 second again rotate in counter clock wise for 3 second and stop for 1 second and so on. This
instruction is for infinite time, as we have used the loop in our Arduino IDE program.

The IC in the circuit is actually a H bridge, as we know that the direction of the motor is depends on the
direction of current in it. This IC in our circuit is changing the direction of the current in response to the
signal of Arduino UNO

You might also like