SlideShare a Scribd company logo
1
CONTENTS
Sr.No. Title Page no.
1. Abstract
2. Introduction
3. Block Diagram
4. Circuit Diagram
5. Software Simulation
6. Blynk
7. Arduino code
8. Arduino UNO
9. BluetoothModule
10. Dc Motor
11. L293dMotor Diver IC Circuit
12. Working
13. Controlling direction
14. Controlling speed
15. Different modes of operation
16. Application
17. Projectprogress report
18. conclusion
19. References
2
1.ABSTRACT
Today most widely used systems are wireless because these systems are less in cost and more efficient
than wired systems. In wireless systems we do not use wires so these systems are light in weight and
free from line losses i.e. losses due to current flowing in the wires. Wires are easily affected by
environmental conditions, so wired systems are not so good. In wireless systems, the data transmitted
through the Electromagnetic Waves and these waves are not affected by the environmental conditions.
Also the environment is not affected by these waves. Hence this is an eco-friendly method. Today
motors are everywhere. In every industry motors are playing a great role. In home appliances motors
are playing a common role. So the us e of this project will reduce a number of wires which are being
used daily. Moreover, the reduction in number of wires will reduce the electrical losses.
The Android-is the most popular mobile platform, which is very useful in creating much real time
application which is useful in our day to day life. The DC motors are widely used for variable speed
drive system in industrial applications such as industrial automation, electric traction, aircraft, military
equipment, hard disk drives because of their high efficiency, silent operation, compact, reliability and
low maintenance. Due to the advancement of wireless technology, there are several connections
introduced such as GSM, Wi-Fi, ZIGBEE and Bluetooth. Each of the connection has their own unique
specifications and applications. Among these wireless connections, Bluetooth technology is often
implemented. The speed control was implemented using Bluetooth technology to provide
communication access from smart phone. On the other hand we have ARDUINO UNO platform that
3
we canuse to quickly prototype electronic systems.Android mobile actasa transmitter and the received
by Bluetooth receiver interfaced to Arduino which send data to the Bluetooth module and which in-turn
run the motor
Keywords: ARDUINO,Android mobile, DC Motor, Bluetooth module
2.INTRODUCTION
This project is all about the wireless operation of a DC Motor. In this project, we will control
the speed of a DC Motor. Direction of the rotation will also be controlled. Wireless facility is
provided with the help of Bluetooth connectivity. An android handset is required to control the
operation. As the name suggests that “Speed and Direction Control of DC Motor using
Android Mobile Application” is controlling the speed of a DC motor with any mobile phone
containing some medium of connectivity such as Bluetooth. Various terms related to this
project can be discussed as follows. Since we are concern with the wireless application that is
why we are using here a mobile phone to control the whole process. Now the question is why
should we use a mobile phone? Which is the most suitable mobile phone? So the answer is that
mobile is used only for a Bluetooth connection. We need not to carry an extra device for
transmitting the data. This transmitter is already inbuilt in a mobile phone. Now come with the
question of most suitable mobile phone, so it can be observed that Android phones are the most
widely used phones. Android phones are very easy from the operating point of view. I-phones
and windows phones are not as popular as the Android phones. So the Android phone will be
used here.
Today most of the industries use DC motors. So, speed controlling of DC motors plays
a very vital role. Therefore, our paper concentrates on monitoring and controlling the
speed of DC motor using Android mobile application, with the help of Bluetooth
technology. Smart phones have in-1built Bluetooth technology, so and external
Bluetooth module is interfaced with the microcontroller unit (ARDUINO) for wireless
communication. The Bluetooth module receives command from the mobile phone
android application. So, according to the input signal, with the help of arduino,
MOSFET can be used to vary the voltage as well as the speed of the DC motor using
PWM technique. Direction of the DC motor can also be varied with the help of relay
circuit or H-Bridge network.
4
3.BLOCK DIAGRAM
Fig. Block Diagram
5
4.CIRCUIT DIAGRAM
Fig. CIRCUIT DIAGRAM
6
5.SOFTWARE SIMULATION
The android application in the mobile phone is developed by the company
Blynk.
6. Blynk
Blynk was designed for the Internet of Things. It can control hardware remotely, it can
display sensor data, it can store data, vizualize it and do many other cool things.
There are three major components in the platform:
 Blynk App - allows to you create amazing interfaces for your projects using various
widgets we provide.
 Blynk Server - responsible for all the communications between the smartphone and
hardware. You can use our Blynk Cloud or run your private Blynk server locally. It’s
open-source, could easily handle thousands of devices and can even be launched on a
Raspberry Pi.
 Blynk Libraries - for all the popular hardware platforms - enable communication with the
server and process all the incoming and outcoming commands.
Now imagine: every time you press a Button in the Blynk app, the message travels to the
Blynk Cloud, where it magically finds its way to your hardware. It works the same in the
opposite direction and everything happens in a blynk of an eye.
Features
 Similar API & UI for all supported hardware & devices
 Connection to the cloud using:
o WiFi
o Bluetooth and BLE
7
o Ethernet
o USB (Serial)
o GSM
o …
 Set of easy-to-use Widgets
 Direct pin manipulation with no codewriting
 Easy to integrate and add new functionality using virtual pins
 History data monitoring via History Graph widget
 Device-to-Device communication using Bridge Widget
 Sending emails, tweets, push notifications, etc.
 … new features are constantly added!
What do I need to Blynk?
At this point you might be thinking: “Ok, I want it. What do I need to get
started?” – Just a couple of things, really:
1. Hardware.
An Arduino, Raspberry Pi, or a similar development kit.
Blynk works over the Internet. This means that the hardware you choose
should be able to connectto the internet. Some of the boards, like Arduino Uno
will need an Ethernet or Wi-Fi Shield to communicate, others are already
Internet-enabled: like the ESP8266, Raspberri Pi with WiFi dongle, Particle
Photon or SparkFun Blynk Board. But even if you don’thave a shield, you can
connect it over USB to your laptop or desktop (it’s a bit more complicated for
newbies, but we got you covered). What’s cool, is that the list of hardware that
works with Blynk is huge and will keep on growing.
2. A Smartphone.
The Blynk App is a well designed interface builder. It works on both iOS and
Android, so no holywars here, ok?
8
7. ARDUINO CODE FOR DIRECTION AND SPEED
CONTROL OF A DC MOTOR -
#define BLYNK_PRINT Serial
#include <BlynkSimpleSerialBLE.h>
#include <SoftwareSerial.h>
SoftwareSerial SwSerial(10, 11); // RX, TX
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "c52bbc1504a2449d89667a2b320b2d47";
int pinValue;
SoftwareSerial SerialBLE(10, 11); // RX, TX
int enable=0;
int frwd=0;
int revr=0;
int spd=0;
void setup()
{
// Debug console
Serial.begin(9600);
SerialBLE.begin(9600);
Blynk.begin(SerialBLE, auth);
Serial.println("Waiting for connections...");
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
}
BLYNK_WRITE(V1)
{
pinValue = param.asInt(); // assigning incoming value from pin V1 to a variable
// You can also use:
9
// String i = param.asStr();
// double d = param.asDouble();
Serial.print("V1 Slider value is: ");
Serial.println(pinValue);
}
BLYNK_WRITE(V2)
{
frwd = param.asInt(); // assigning incoming value from pin V1 to a variable
}
BLYNK_WRITE(V3)
{
revr = param.asInt(); // assigning incoming value from pin V1 to a variable
}
BLYNK_WRITE(V4)
{ enable = param.asInt(); // assigning incoming value from pin V1 to a variable
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
if(enable==1)
{
if(frwd==1 && revr==0)
{
analogWrite(5,0);
analogWrite(6,pinValue);
Serial.println("forward");
}
if(frwd==0 && revr==1)
{
10
analogWrite(5,pinValue);
analogWrite(6,0);
Serial.println("reverse");
}
if(frwd==0 && revr==0)
{
analogWrite(5,0);
analogWrite(6,0);
}
if(frwd==1 && revr==1)
{
analogWrite(5,0);
analogWrite(6,0);
}
}
else{
analogWrite(5,0);
analogWrite(6,0);
}
}
The major elements of block diagram are:
 Arduino UNO
 Bluetooth Module
 DC motor
 L293d motor driver IC cicuit
11
8.ARDUINO UNO
The Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output
pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a
USB connection, a power jack, an ICSP header and a reset button. The ATmega328 on the Uno
comes pre-programmed with a boot loader that allows you to upload new code to it without the
use of an external hardware programmer.
TECH SPECS:
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by bootloader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
LED_BUILTIN 13
Length 68.6 mm
Width 53.4 mm
Weight 25 g
12
Fig. Arduino Uno
9. BLUETOOTHMODULE
Bluetooth serial communication module has two work modes: order-response work mode and
automatic connection work mode. And there are three work roles at the automatic connection
work mode. When the module is at the automatic connection work mode, it will follow the
default way set lastly to transmit the data automatically. When the module is at the order
response work mode, user can send the AT command to the module to set the control
parameters and sent control order. The work mode of this Module can be switched by
controlling the module PIN (PIO11) input level. In this project Bluetooth module is used to
send signals from the ARDUINO UNO.
13
Fig. Bluetooth module. Fig. Bluetooth serial communication with Ardunio uno
10.DC MOTOR
Electrical motors are everywhere around us. Almost all the electro-mechanical movements we
see around us are caused either by a AC or a DC motor. Here we will be exploring DC motors.
This is a device that converts DC electrical energy to a mechanical energy.
PRINCIPLE OF DC MOTOR
This DC or direct current motor works on the principal, when a current carrying conductor is
placed in a magnetic field; it experiences a torque and has a tendency to move.
This is known as motoring action. If the direction of current in the wire is reversed, the direction
of rotation also reverses. When magnetic field and electric fild interact they produce a
mechanical force, and based the working principle.
The direction of rotation of a this motor is given by Fleming’s left hand rule, which states that if
the index finger, middle finger and thumb of your left hand are extended mutually
perpendicular to each other and if the index finger represents the direction of magnetic field,
middle finger indicates the direction of current, then the thumb represents the direction in which
force is experienced by the shaft of the DC motor.
14
Structurally and construction wise a direct current motor is exactly similar to a DC generator,
but electrically it is just the opposite. Here we unlike a generator we supply electrical energy
to the input port and derive mechanical energy from the output port. We can represent it by the
block diagram shown below;
Here in a DC motor, the supply voltage E and current I is given to the electrical port or the
input port and we derive the mechanical output i.e. torque T and speed ω from the mechanical
port or output port.
The input and output port variables of the direct current motor are related by the parameter
K. So from the picture above we can well understand that motor is
15
just the opposite phenomena of a DC generator, and we can derive both motoring and
generating operation from the same machine by simply reversing the ports.
To understand the DC motor in details let’s consider the diagram shown below,
The direct current motor is represented by the circle in the centre, on which is mounted the
brushes, where we connect the external terminals, from where supply voltage is given. On the
mechanical terminal we have a shaft coming out of the Motor, and connected to the armature,
and the armature-shaft is coupled to the mechanical load. On the supply terminals we represent
the armature resistance Ra in series. Now, let the input voltage E, is applied across the brushes.
Electric current which flows through the rotor armature via brushes, in presence of the magnetic
field, produces a torque Tg. Due to this torque Tg the dc motor armature rotates. As the armature
conductors are carrying currents and the armature rotates inside the stator magnetic field, it
also produces an emf Eb in the manner very similar to that of a generator. The generated Emf
Eb is directed opposite to the supplied voltage and is known as the back Emf.
16
SPEED CONTROL OF DC MOTOR
Speed control means intentional change of the drive speed to a value required for performing
the specific work process. Speed control is a different concept from speed regulation where
there is natural change in speed due change in load on the shaft. Speed control is either done
manually by the operator or by means of some automatic control device. One of the important
features of DC motor is that its speed can be controlled with relative ease. We know that the
emf equation of DC motor is given as,
Therefore, N = 60A E / PZØ
N = E / kØ
where, k = PZ/60A
N = V - Ia Ra / kØ
Therefore, speed (N) of 3 types of DC motor – SERIES, SHUNT and COMPOUND can be
controlled by changing the quantities on RHS of the expression. Therefore, speed can be varied
by changing
1. Terminal voltage of the armature V.
2. External resistance in armature circuit Ra.
3. Flux per pole φ.
The first two cases involve change that affects armature circuit and the third one involves
change in magnetic field.
Therefore, speed control of DC motor is classified as
1. Armature control methods
2. Field control methods.
17
Speed Control of DC Series Motor
Speed control of DC series motor can be done either by armature control or by field control.
Armature Control of DC Series Motor:
Speedadjustment of DC series motor by armature controlmay be done by any
one of the methods that follow,
Armature Resistance Control Method:
This is the most common method employed. Here the controlling resistance is connected
directly in series with the supply of the motor as shown in the fig.
The power loss in the control resistance of DC series motor can be neglected because this
control method is utilized for a large portion of time for reducing the speed under light load
condition. This method of speed control is most economical for constant torque. This
method of speed control is employed for DC series motor driving cranes, hoists, trains etc.
Shunted Armature Control:
The combination of a rheostat shunting the armature and a rheostat in series with the
armature is involved in this method of speed control. The voltage applied to the armature is
varies by varying series rheostat R1. The exciting current can be varied by varying the
armature shunting resistance R2. This method of speed control is not economical due to
18
considerable power losses in speed controlling resistances. Here speed control is obtained
over wide range but below normal speed.
Armature Terminal Voltage Control:
The speedcontrol of DC series motor can be accomplished by supplying the power to
the motor from a separate variable voltage supply. This method involves high cost so it
rarely used.
Field Control of DC Series Motor:
The speed of DC motor can be controlled by this method by any one of the
following ways –
1. Field Diverter Method:
This method uses a diverter. Here the field flux can be reduced by shunting a portion of
motor current around the series field. Lesser the diverter resistance less is the field current,
less flux therefore more speed. This method gives speed above normal and the method is
used in electric drives in which speed should rise sharply as soon as load is decreased.
19
2. Tapped Field Control:
This is another method of increasing the speed by reducing the flux and it is done by
lowering number of turns of field winding through which current flows. In this method a
number of tapping from field winding are brought outside. This method is employed in
electric traction.
20
11. L293d Motor Driver IC-
H-bridge (L293D)
The basic problem in using Arduino’s digital pins to control the motor directly is that it is very
difficult to reverse the voltage.
To overcome this, we can use a circuit called H-bridge, which enables a voltage to be applied
across the motor in either direction. We can either build the circuit ourself or use a pre-built IC.
L293D is one such IC which is commonly used as a H-bridge. There are also other IC’s like L298
etc, but in this tutorial, we will see how we can use L293D.
I will probably will cover the other IC’s some time later in a separate post.
Using H-bridge
If you look at the datasheet of L293D IC, you will find that we can control two motors
simultaneously using the IC. Even though the IC operates at 5V, it can still give a higher voltage
(up to 36V) to the motor.
The following is the pin diagram of the IC.
L293D Pin Configuration-
The following is the explanation for the different pins of the IC.
 Vcc1 (pin 16) takes in regulated 5V for operating the IC.
 Vcc2 (pin 8) takes the external voltage (up to 36V) which
 1,2 EN (pin 1) and 3,4 EN (pin 9) are the enable pins for the two motors
 1A (pin 2) and 2A (pin 7) are the control pins for Motor 1. These will be connected to
Arduino.
 1Y (pin 3) and 2Y (pin 6) are the output pins for Motor 1. These will be connected to the
first motor.
 3A (pin 10) and 4A (pin 15) are the control pins for Motor 2. These will be connected to
Arduino.
 3Y (pin 11) and 4Y (pin 14) are the output pins for Motor 2. These will be connected to
the second motor.
 pins 4,5,12,13 are Gnd pins
Connecting H-bridge with Arduino
21
As I explained above, we will be connecting H-bridge to Arduino, using the following connection.
Pin
Number
Pin Name Description
1 Enable 1,2 This pin enables the input pin Input 1(2) and Input 2(7)
2 Input 1
Directly controls the Output 1 pin. Controlled by digital
circuits
3 Output 1 Connected to one end of Motor 1
4 Ground Ground pins are connected to ground of circuit (0V)
5 Ground Ground pins are connected to ground of circuit (0V)
6 Output 2 Connected to another end of Motor 1
7 Input 2
Directly controls the Output 2 pin. Controlled by digital
circuits
8 Vcc2 (Vs)
Connected to Voltage pin for running motors (4.5V to
36V)
9 Enable 3,4
This pin enables the input pin Input 3(10) and Input
4(15)
10 Input 3
Directly controls the Output 3 pin. Controlled by digital
circuits
11 Output 3 Connected to one end of Motor 2
22
12 Ground Ground pins are connected to ground of circuit (0V)
13 Ground Ground pins are connected to ground of circuit (0V)
14 Output 4 Connected to another end of Motor 2
15 Input 4
Directly controls the Output 4 pin. Controlled by digital
circuits
16 Vcc2 (Vss) Connected to +5V to enable IC function
12.Working
 13. Controlling directionsof DC Motors
As you can see from the above pin diagram, each motor has 3 pins (1 enable pin and 2 control
pins) through which we can control the motor. The logic to control the direction of the motor is as
follows.
 If the enable pin for a motor is HIGH, then the motor will run.
 If control pin 1 is HIGH and control pin 2 is LOW, then the motor will rotate in one
direction.
 If control pin 1 is LOW and control pin 2 is HIGH, then the motor will rotate in the other
direction.
 For all other cases, the motor will not run.
The logic can also be expressed in the following tabular form
ENABLE PIN CONTROL PIN 1 CONTROL PIN 2 MOTOR STATUS
H H L Rotates in one direction
H L H Rotates in another direction
H H H Does notrotates
L Doesn’tmatter Doesn’tmatter Does notrotates
A motor driver is an integrated circuit chip which is usually used to control motors in
autonomous robots. Motor driver act as an interface between Arduino and the motors . The
most commonly used motor driver IC’s are from the L293 series such as L293D, L293NE, etc.
These ICs are designed to control 2 DC motors simultaneously. L293D consist of two H-bridge.
23
H-bridge is the simplest circuit for controlling a low current rated motor. We will be referring
the motor driver IC as L293D only. L293D has 16 pins.
Features-
 Can be used to run Two DC motors with the same IC.
 Speed and Direction control is possible.
 Motor voltage Vcc2 (Vs): 4.5V to 36V.
 Maximum Peak motor current: 1.2A.
 Maximum Continuous Motor Current: 600mA.
 Supply Voltage to Vcc1(vss): 4.5V to 7V.
 Transition time: 300ns (at 5Vand 24V).
 Automatic Thermal shutdown is available.
Applications-
 Used to drive high current Motors using Digital Circuits.
 Can be used to drive Stepper motors.
 High current LED’s can be driven.
 Relay Driver module.
 Controlling speed of DC Motors using Arduino
Analog Write
Before we go ahead, we need to know about analogWrite function in Arduino.
In Arduino, the analogWrite function allows you to generate a PWM wave in a pin. If you have
tried out the LED fade example in Arduino, then you already know how to use it. If not, then
checkout the PWM tutorial from Arduino reference.
This function takes a value between 0 and 255 and doesn’t work on all pins in Arduino. In
Arduino Uno, it works on pins 3, 5, 6, 9, 10 and 11.
 14. Controlling Speedof DC Motors
To control the speed of the motor, all we need to do is to replace digitalWrite function on
L293D enable pins to analogWrite. The speed of the motor depends on value that was passed
to the analogWrite function. Remember the value can be between 0 and 255. If you pass 0, then
the motor will stop and if you pass 255 then it will run at full speed. If you pass a value between 1
and 254, then the speed of the motor will vary accordingly.
 an al o g W r i te( )
[Analog I/O]
24
Desc ription
Writes an analog value (PWM wave) to a pin. Can be used to light a LED at
varying brightnesses or drive a motor at various speeds. After a c all
to analogWrite(), the pin will generate a steady square wave of the specified duty
c ycle until the next call to analogWrite() (or a c all
to digitalRead() or digitalWrite()) on the same pin. T he frequency of the PWM
signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins
5 and 6 have a frequenc y of approximately 980 Hz.
On most Arduino boards (those with the AT mega168 or AT mega328P), this
func tion works on pins 3, 5, 6, 9, 10, and 11. On the A rduino Mega, it works on
pins 2 - 13 and 44 - 46. Older Arduino boards with an AT mega8 only
support analogWrite() on pins 9, 10, and 11.
T he Arduino DUE supports analogWrite() on pins 2 through 13, plus pins DAC0 and
DAC1. Unlike the PWM pins, DAC0 and DAC1 are Digital to Analog c onverters, and
ac t as true analog outputs.
Y ou do not need to c all pinMode() to set the pin as an output before
c alling analogWrite().
T he analogWrite function has nothing to do with the analog pins or
the analogRead func tion.
Synt ax
analogWrite(pin, value)
Parameters
pin: the pin to write to. Allowed data types: int.
value: the duty c ycle: between 0 (always off) and 255 (always on). Allowed data
types: int
Returns
Nothing
 PWM
Pulse Width Modulation, or PWM, is a technique for getting analog results with digital
means. Digital control is used to create a square wave, a signal switched between on
and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off
(0 Volts) by changing the portion of the time the signal spends on versus the time
that the signal spends off. The duration of "on time" is called the pulse width. To get
varying analog values, you change, or modulate, that pulse width. If you repeat this
on-off pattern fast enough with an LED for example, the result is as if the signal is a
steady voltage between 0 and 5v controlling the brightness of the LED.
25
 In the graphic below, the green lines represent a regular time period. This
duration or period is the inverse of the PWM frequency. In other words, with
Arduino's PWM frequency at about 500Hz, the green lines would measure 2
milliseconds each. A call to analogWrite() is on a scale of 0 - 255, such that
analogWrite(255) requests a 100% duty cycle (always on), and analogWrite(127)
is a 50% duty cycle (on half the time) for example.
Once you get this example running, grab your arduino and shake it back and forth.
What you are doing here is essentially mapping time across the space. To our eyes,
the movement blurs each LED blink into a line. As the LED fades in and out, those
little lines will grow and shrink in length. Now you are seeing the pulse width.
26
15. DIFFERENT MODES FOR OPERATION-
 CONTROLLER MODE-
 We have installed an android application namely ‘Blynk’ in android mobile. By dint
of ‘c’ programming language, we have created three digital input as (i) Enable (ii)
Forward (iii) reverse and one Analog inputs as slider.
(i) Enable :- it acts as power input to motor according to the status of forward and
reverse digital input and hence controls the power supply to the dc motor.
(ii) Forward :- this input makes the dc motor to rotate in anticlockwise direction
when turned ‘ON’.
(iii) Reverse :- this digital input makes the motor run in clockwise direction when it
is turned ‘ON’
27
ADVANTAGES
1. Bluetooth consumes less power than other devices.
2. Android application is user-friendly.
3. Technically expert persons are not required.
4. Wireless communication is enhanced.
5. Programming is simpler.
16. APPLICATIONS
1. Home automation.
2. Intensity of light can also be controlled with the help of android app.
3. . Many industrial applications require adjustable speed drive and constant speed for
improving the quality product.
28
18. CONCLUSION
Thus, the speed and direction control of the DC Motor is achieved with the help of Android
mobile application with the help of Bluetooth technology. In this way wireless communication
is also achieved.
19. REFERENCES
[1]. Sunita Tirupati Gupta: Speed control of Single phase Induction motor using android
bluetooth.ISSN-2321-3361 International Journal of Engineering Science and Computing
Volume 6 Issue 5 September 2016.
[2]. Mr. K. Narasimhaiah :Speed Control of AC motor by using blue control app.ISSN-2393-
9923 Global Journal of Trends in Engineering Volume 1 Issue 2 April-2016.
[3]. Abhishek Gupta: Induction motor speed control using android application.ISSN-2348-
6988 International Journal of Electrical and Electronic Research Volume 4 Issue 2 April-june
2016.
[4]. Salivahanan , S.Suresh, and Vallavaraj,- A. “Electronic Devices and Circuit”, Fourth
Edition, Tada Seventh Edition, 2000, McGraw-Hill Publishing Company Limited.
[5]. Modern Applied Science Vol 5, No 3 (2011). A Novel Approach to Analog Signal Isolation
through Digital Opto- coupler (YOUTUBE).
29
 17. Project working report
We have installed an android application namely ‘Blynk’ in android mobile. By dint
of ‘c’ programming language, we have created three digital input as (i) Enable (ii)
Forward (iii) reverse and one Analog inputs as slider.
(iv) Enable :- it acts as power input to motor according to the status of forward and
reverse digital input and hence controls the power supply to the dc motor.
(v) Forward :- this input makes the dc motor to rotate in anticlockwise direction
when turned ‘ON’.
(vi) Reverse :- this digital input makes the motor run in clockwise direction when it
is turned ‘ON’.
Slider :- it gives analog input to the motor which decides the speed of the motor in either
direction of the rotation. Slider value cover parameter value from 0 to 225 corresponding to
Duty Cycle 0 to 1 using PWM technique.
Different status
(A) Anticlockwise Rotation
(i) Enable >> ON = 1
(ii) Forward >> ON = 1
(iii) Reverse >> OFF = 1
with some Slider value.
(B) Clock-wise Rotation
(i) Enable >> ON = 1
(ii) Forward >> OFF = 0
(iii) Reverse >> ON = 1
with some slider value.
(C) Motor OFF condition
(i) Enable >> ON = 1
(ii) Forward >> OFF = 0
(iii) Reverse >> ON = 0
with some slider value.
(D) Invalid Input
(i) Enable >> ON = 1
(ii) Forward >> OFF = 1
(iii) Reverse >> ON =1
30
31
GURU GOBIND SINGHEDUCATIONAL SOCIETY'S
TECHNICAL CAMPUS, BOKARO, JHARKHAND
Under the guidance of
ALOK KUMAR
Asst. Professor, Dept. of EEE
GURU GOBIND SINGH EDUCATIONAL SOCIETY'S TECHNICAL
CAMPUS, BOKARO, JHARKHAND
VINOBA BHAVE UNIVERSITY, HAZARIBAGH
2014-2018
32
PROJECTREPORTON
“speed And Direction control of dc motor using
android mobile application “
Submitted in partialfulfilment of requirement for the award
of degree of B.TECH. in ELECTRICAL ENGINEERING
Submitted by : Chandan Kumar (1501001D)
Arjun Kumar Singh (1401040)
Vivekanand Sardar (1501020D)
Prakash Dey (1401041)
Rahul kumar (1401036)
33
under the guidance of
prof -REKHA JHA MAM
Dept of ELECTRICAL ENGG. BIT SINDRI DHANBAD 828123
CERTIFICATE
This is certify that the project “speed And Direction control of dc motor using
android mobile application “
has been submitted by
1. Chandan Kumar (1501001D)
2. Arjun Kumar Singh (1401040)
3. Vivekanand Sardar (1501020D)
4. Prakash Dey (1401041)
5. Rahul kumar (1401036)
Partial fulfillment of award of B.Tech (7th
sem) in
Electrical Engineering Vinoba Bhave University
34
Hazaribag is a bonafied work carried out by them
under my guidance.
Prof. Rekha Jha Mam Prof. Pankaj Rai
(supervisor) Head of Department
Electrical Engg. BIT SINDRI
Examined and approved
External Examiner
ACKNOWLEDGEMENT
I sincerely take this opportunity to express my thanks and deep gratitude to all who extended
hearted co-operation opinion and gracious hospitality to me in completing this work. It is my
immense pleasure to be work under the guidance of Prof. Rekha Jha Mam, Dept. of Electrical
Engineering, B.I.T.SINDRI. I am very grateful to her for being incredible supportive
throughout the project work and her exhaustive guidance and patience she had while listening
my approaches.
I owe my greatest debt to Prof. (Dr.) Pankaj rai, (Head of the EE Dept.) B.I.T. SINDRI for
his advice and for providing necessary facility for my work.
I thank to all Electrical engineering faculty members, my group members, Librarian including
my friends for their encouragement, cooperation and needful support at different times during
this work.
35
I gratefully acknowledge my sincere thanks to my family members, specially my parents for
their inspirational impetus and moral support during the course of this work and whole tenure
of my stay in B.I.T. SINDRI.
Lastly, I want to thank all those who helped me directly or indirectly in the completion of my
dissertation work.
NAME
ROLL NO.
1. Chandan Kumar (1501001D)
2. Arjun Kumar Singh (1401040)
3. Vivekanand Sardar (1501020D)
4. Prakash Dey (1401041)
5. Rahul kumar (1401036)
Place:
Date:

More Related Content

What's hot

EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEMAIRTEL
 
Dc motor speed and direction contrlling using IR remote
Dc motor speed and direction contrlling using IR remote Dc motor speed and direction contrlling using IR remote
Dc motor speed and direction contrlling using IR remote Nikhil sai
 
Wireless mobile charger
Wireless mobile chargerWireless mobile charger
Wireless mobile chargernissy marla
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportSimarjot Singh Kalsi
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOMln Phaneendra
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266smit bakori
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino unoselvalakshmi24
 
Bluetooth controled robot
Bluetooth controled robotBluetooth controled robot
Bluetooth controled robotStuart Stuart
 
IOT BASED SMART ENERGY METER USING ARDUINO UNO
IOT BASED SMART ENERGY METER USING ARDUINO UNOIOT BASED SMART ENERGY METER USING ARDUINO UNO
IOT BASED SMART ENERGY METER USING ARDUINO UNOIRJET Journal
 
DESIGN & WORKING OF A MOBILE PHONE DETECTOR
DESIGN & WORKING OF A MOBILE PHONE DETECTORDESIGN & WORKING OF A MOBILE PHONE DETECTOR
DESIGN & WORKING OF A MOBILE PHONE DETECTORpgayatrinaidu
 
Presentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUPresentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUSouvik Kundu
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Rappy Saha
 
Home Automation Using Android phone over bluetooth (1).pdf
Home Automation Using Android phone over bluetooth (1).pdfHome Automation Using Android phone over bluetooth (1).pdf
Home Automation Using Android phone over bluetooth (1).pdfMANJITPATEL5
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Diwash Kapil Chettri
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUVINAY KUMAR GUDELA
 

What's hot (20)

Smart home automation system
Smart home automation systemSmart home automation system
Smart home automation system
 
EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEM
 
Dc motor speed and direction contrlling using IR remote
Dc motor speed and direction contrlling using IR remote Dc motor speed and direction contrlling using IR remote
Dc motor speed and direction contrlling using IR remote
 
Wireless mobile charger
Wireless mobile chargerWireless mobile charger
Wireless mobile charger
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
Home automation ppt
Home automation pptHome automation ppt
Home automation ppt
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
 
Bluetooth controled robot
Bluetooth controled robotBluetooth controled robot
Bluetooth controled robot
 
IOT BASED SMART ENERGY METER USING ARDUINO UNO
IOT BASED SMART ENERGY METER USING ARDUINO UNOIOT BASED SMART ENERGY METER USING ARDUINO UNO
IOT BASED SMART ENERGY METER USING ARDUINO UNO
 
DESIGN & WORKING OF A MOBILE PHONE DETECTOR
DESIGN & WORKING OF A MOBILE PHONE DETECTORDESIGN & WORKING OF A MOBILE PHONE DETECTOR
DESIGN & WORKING OF A MOBILE PHONE DETECTOR
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
Presentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCUPresentation on IoT Based Home Automation using android & NodeMCU
Presentation on IoT Based Home Automation using android & NodeMCU
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)
 
Cell phone detector
Cell phone detectorCell phone detector
Cell phone detector
 
Home Automation Using Android phone over bluetooth (1).pdf
Home Automation Using Android phone over bluetooth (1).pdfHome Automation Using Android phone over bluetooth (1).pdf
Home Automation Using Android phone over bluetooth (1).pdf
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
 

Similar to Speed and direction control of dc motor using android mobile application chandan kumar bit synop

IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET Journal
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET Journal
 
Speed and direction control of dc motor using android mobile application grv ...
Speed and direction control of dc motor using android mobile application grv ...Speed and direction control of dc motor using android mobile application grv ...
Speed and direction control of dc motor using android mobile application grv ...chandan kumar
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation SystemAI Publications
 
IRJET- Wireless Car using WIFI – IoT – Bluetooth
IRJET-  	  Wireless Car using WIFI – IoT – BluetoothIRJET-  	  Wireless Car using WIFI – IoT – Bluetooth
IRJET- Wireless Car using WIFI – IoT – BluetoothIRJET Journal
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptxJagadeepVinay
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptxJagadeepVinay
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
IRJET- Portable Surveillance Robot using IoT
IRJET-  	  Portable Surveillance Robot using IoTIRJET-  	  Portable Surveillance Robot using IoT
IRJET- Portable Surveillance Robot using IoTIRJET Journal
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxRafayNaveed4
 
Bluetooth Controlled Robot
Bluetooth Controlled RobotBluetooth Controlled Robot
Bluetooth Controlled RobotPankaj Rai
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET Journal
 
Smart glasses report for computer enginner
Smart glasses report for computer enginnerSmart glasses report for computer enginner
Smart glasses report for computer enginnerJayMusical
 
IRJET- Home Automation using Arduino and IoT
IRJET-  	  Home Automation using Arduino and IoTIRJET-  	  Home Automation using Arduino and IoT
IRJET- Home Automation using Arduino and IoTIRJET Journal
 
Home Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlHome Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlEdgefxkits & Solutions
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoTIRJET Journal
 

Similar to Speed and direction control of dc motor using android mobile application chandan kumar bit synop (20)

IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PIIRJET- IOT Based Surveillance Robotic Car using Raspberry PI
IRJET- IOT Based Surveillance Robotic Car using Raspberry PI
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)
 
Speed and direction control of dc motor using android mobile application grv ...
Speed and direction control of dc motor using android mobile application grv ...Speed and direction control of dc motor using android mobile application grv ...
Speed and direction control of dc motor using android mobile application grv ...
 
Bluetooth Home Automation System
Bluetooth Home Automation SystemBluetooth Home Automation System
Bluetooth Home Automation System
 
IRJET- Wireless Car using WIFI – IoT – Bluetooth
IRJET-  	  Wireless Car using WIFI – IoT – BluetoothIRJET-  	  Wireless Car using WIFI – IoT – Bluetooth
IRJET- Wireless Car using WIFI – IoT – Bluetooth
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptx
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptx
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
IRJET- Portable Surveillance Robot using IoT
IRJET-  	  Portable Surveillance Robot using IoTIRJET-  	  Portable Surveillance Robot using IoT
IRJET- Portable Surveillance Robot using IoT
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
 
Bluetooth Controlled Robot
Bluetooth Controlled RobotBluetooth Controlled Robot
Bluetooth Controlled Robot
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)
 
Report
ReportReport
Report
 
Smart glasses report for computer enginner
Smart glasses report for computer enginnerSmart glasses report for computer enginner
Smart glasses report for computer enginner
 
IRJET- Home Automation using Arduino and IoT
IRJET-  	  Home Automation using Arduino and IoTIRJET-  	  Home Automation using Arduino and IoT
IRJET- Home Automation using Arduino and IoT
 
Brian black book
Brian black bookBrian black book
Brian black book
 
Home Automation by Android Application based Remote Control
Home Automation by Android Application based Remote ControlHome Automation by Android Application based Remote Control
Home Automation by Android Application based Remote Control
 
Ppt
PptPpt
Ppt
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoT
 
final.ppt
final.pptfinal.ppt
final.ppt
 

Recently uploaded

Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdfKamal Acharya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationRobbie Edward Sayers
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdfKamal Acharya
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Electivekarthi keyan
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-IVigneshvaranMech
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfPipe Restoration Solutions
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdfKamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfKamal Acharya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdfKamal Acharya
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerapareshmondalnita
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 

Recently uploaded (20)

Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 

Speed and direction control of dc motor using android mobile application chandan kumar bit synop

  • 1. 1 CONTENTS Sr.No. Title Page no. 1. Abstract 2. Introduction 3. Block Diagram 4. Circuit Diagram 5. Software Simulation 6. Blynk 7. Arduino code 8. Arduino UNO 9. BluetoothModule 10. Dc Motor 11. L293dMotor Diver IC Circuit 12. Working 13. Controlling direction 14. Controlling speed 15. Different modes of operation 16. Application 17. Projectprogress report 18. conclusion 19. References
  • 2. 2 1.ABSTRACT Today most widely used systems are wireless because these systems are less in cost and more efficient than wired systems. In wireless systems we do not use wires so these systems are light in weight and free from line losses i.e. losses due to current flowing in the wires. Wires are easily affected by environmental conditions, so wired systems are not so good. In wireless systems, the data transmitted through the Electromagnetic Waves and these waves are not affected by the environmental conditions. Also the environment is not affected by these waves. Hence this is an eco-friendly method. Today motors are everywhere. In every industry motors are playing a great role. In home appliances motors are playing a common role. So the us e of this project will reduce a number of wires which are being used daily. Moreover, the reduction in number of wires will reduce the electrical losses. The Android-is the most popular mobile platform, which is very useful in creating much real time application which is useful in our day to day life. The DC motors are widely used for variable speed drive system in industrial applications such as industrial automation, electric traction, aircraft, military equipment, hard disk drives because of their high efficiency, silent operation, compact, reliability and low maintenance. Due to the advancement of wireless technology, there are several connections introduced such as GSM, Wi-Fi, ZIGBEE and Bluetooth. Each of the connection has their own unique specifications and applications. Among these wireless connections, Bluetooth technology is often implemented. The speed control was implemented using Bluetooth technology to provide communication access from smart phone. On the other hand we have ARDUINO UNO platform that
  • 3. 3 we canuse to quickly prototype electronic systems.Android mobile actasa transmitter and the received by Bluetooth receiver interfaced to Arduino which send data to the Bluetooth module and which in-turn run the motor Keywords: ARDUINO,Android mobile, DC Motor, Bluetooth module 2.INTRODUCTION This project is all about the wireless operation of a DC Motor. In this project, we will control the speed of a DC Motor. Direction of the rotation will also be controlled. Wireless facility is provided with the help of Bluetooth connectivity. An android handset is required to control the operation. As the name suggests that “Speed and Direction Control of DC Motor using Android Mobile Application” is controlling the speed of a DC motor with any mobile phone containing some medium of connectivity such as Bluetooth. Various terms related to this project can be discussed as follows. Since we are concern with the wireless application that is why we are using here a mobile phone to control the whole process. Now the question is why should we use a mobile phone? Which is the most suitable mobile phone? So the answer is that mobile is used only for a Bluetooth connection. We need not to carry an extra device for transmitting the data. This transmitter is already inbuilt in a mobile phone. Now come with the question of most suitable mobile phone, so it can be observed that Android phones are the most widely used phones. Android phones are very easy from the operating point of view. I-phones and windows phones are not as popular as the Android phones. So the Android phone will be used here. Today most of the industries use DC motors. So, speed controlling of DC motors plays a very vital role. Therefore, our paper concentrates on monitoring and controlling the speed of DC motor using Android mobile application, with the help of Bluetooth technology. Smart phones have in-1built Bluetooth technology, so and external Bluetooth module is interfaced with the microcontroller unit (ARDUINO) for wireless communication. The Bluetooth module receives command from the mobile phone android application. So, according to the input signal, with the help of arduino, MOSFET can be used to vary the voltage as well as the speed of the DC motor using PWM technique. Direction of the DC motor can also be varied with the help of relay circuit or H-Bridge network.
  • 6. 6 5.SOFTWARE SIMULATION The android application in the mobile phone is developed by the company Blynk. 6. Blynk Blynk was designed for the Internet of Things. It can control hardware remotely, it can display sensor data, it can store data, vizualize it and do many other cool things. There are three major components in the platform:  Blynk App - allows to you create amazing interfaces for your projects using various widgets we provide.  Blynk Server - responsible for all the communications between the smartphone and hardware. You can use our Blynk Cloud or run your private Blynk server locally. It’s open-source, could easily handle thousands of devices and can even be launched on a Raspberry Pi.  Blynk Libraries - for all the popular hardware platforms - enable communication with the server and process all the incoming and outcoming commands. Now imagine: every time you press a Button in the Blynk app, the message travels to the Blynk Cloud, where it magically finds its way to your hardware. It works the same in the opposite direction and everything happens in a blynk of an eye. Features  Similar API & UI for all supported hardware & devices  Connection to the cloud using: o WiFi o Bluetooth and BLE
  • 7. 7 o Ethernet o USB (Serial) o GSM o …  Set of easy-to-use Widgets  Direct pin manipulation with no codewriting  Easy to integrate and add new functionality using virtual pins  History data monitoring via History Graph widget  Device-to-Device communication using Bridge Widget  Sending emails, tweets, push notifications, etc.  … new features are constantly added! What do I need to Blynk? At this point you might be thinking: “Ok, I want it. What do I need to get started?” – Just a couple of things, really: 1. Hardware. An Arduino, Raspberry Pi, or a similar development kit. Blynk works over the Internet. This means that the hardware you choose should be able to connectto the internet. Some of the boards, like Arduino Uno will need an Ethernet or Wi-Fi Shield to communicate, others are already Internet-enabled: like the ESP8266, Raspberri Pi with WiFi dongle, Particle Photon or SparkFun Blynk Board. But even if you don’thave a shield, you can connect it over USB to your laptop or desktop (it’s a bit more complicated for newbies, but we got you covered). What’s cool, is that the list of hardware that works with Blynk is huge and will keep on growing. 2. A Smartphone. The Blynk App is a well designed interface builder. It works on both iOS and Android, so no holywars here, ok?
  • 8. 8 7. ARDUINO CODE FOR DIRECTION AND SPEED CONTROL OF A DC MOTOR - #define BLYNK_PRINT Serial #include <BlynkSimpleSerialBLE.h> #include <SoftwareSerial.h> SoftwareSerial SwSerial(10, 11); // RX, TX // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "c52bbc1504a2449d89667a2b320b2d47"; int pinValue; SoftwareSerial SerialBLE(10, 11); // RX, TX int enable=0; int frwd=0; int revr=0; int spd=0; void setup() { // Debug console Serial.begin(9600); SerialBLE.begin(9600); Blynk.begin(SerialBLE, auth); Serial.println("Waiting for connections..."); pinMode(5,OUTPUT); pinMode(6,OUTPUT); } BLYNK_WRITE(V1) { pinValue = param.asInt(); // assigning incoming value from pin V1 to a variable // You can also use:
  • 9. 9 // String i = param.asStr(); // double d = param.asDouble(); Serial.print("V1 Slider value is: "); Serial.println(pinValue); } BLYNK_WRITE(V2) { frwd = param.asInt(); // assigning incoming value from pin V1 to a variable } BLYNK_WRITE(V3) { revr = param.asInt(); // assigning incoming value from pin V1 to a variable } BLYNK_WRITE(V4) { enable = param.asInt(); // assigning incoming value from pin V1 to a variable } void loop() { Blynk.run(); // You can inject your own code or combine it with other sketches. // Check other examples on how to communicate with Blynk. Remember // to avoid delay() function! if(enable==1) { if(frwd==1 && revr==0) { analogWrite(5,0); analogWrite(6,pinValue); Serial.println("forward"); } if(frwd==0 && revr==1) {
  • 10. 10 analogWrite(5,pinValue); analogWrite(6,0); Serial.println("reverse"); } if(frwd==0 && revr==0) { analogWrite(5,0); analogWrite(6,0); } if(frwd==1 && revr==1) { analogWrite(5,0); analogWrite(6,0); } } else{ analogWrite(5,0); analogWrite(6,0); } } The major elements of block diagram are:  Arduino UNO  Bluetooth Module  DC motor  L293d motor driver IC cicuit
  • 11. 11 8.ARDUINO UNO The Uno is a microcontroller board based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. The ATmega328 on the Uno comes pre-programmed with a boot loader that allows you to upload new code to it without the use of an external hardware programmer. TECH SPECS: Microcontroller ATmega328P Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limit) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) PWM Digital I/O Pins 6 Analog Input Pins 6 DC Current per I/O Pin 20 mA DC Current for 3.3V Pin 50 mA Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by bootloader SRAM 2 KB (ATmega328P) EEPROM 1 KB (ATmega328P) Clock Speed 16 MHz LED_BUILTIN 13 Length 68.6 mm Width 53.4 mm Weight 25 g
  • 12. 12 Fig. Arduino Uno 9. BLUETOOTHMODULE Bluetooth serial communication module has two work modes: order-response work mode and automatic connection work mode. And there are three work roles at the automatic connection work mode. When the module is at the automatic connection work mode, it will follow the default way set lastly to transmit the data automatically. When the module is at the order response work mode, user can send the AT command to the module to set the control parameters and sent control order. The work mode of this Module can be switched by controlling the module PIN (PIO11) input level. In this project Bluetooth module is used to send signals from the ARDUINO UNO.
  • 13. 13 Fig. Bluetooth module. Fig. Bluetooth serial communication with Ardunio uno 10.DC MOTOR Electrical motors are everywhere around us. Almost all the electro-mechanical movements we see around us are caused either by a AC or a DC motor. Here we will be exploring DC motors. This is a device that converts DC electrical energy to a mechanical energy. PRINCIPLE OF DC MOTOR This DC or direct current motor works on the principal, when a current carrying conductor is placed in a magnetic field; it experiences a torque and has a tendency to move. This is known as motoring action. If the direction of current in the wire is reversed, the direction of rotation also reverses. When magnetic field and electric fild interact they produce a mechanical force, and based the working principle. The direction of rotation of a this motor is given by Fleming’s left hand rule, which states that if the index finger, middle finger and thumb of your left hand are extended mutually perpendicular to each other and if the index finger represents the direction of magnetic field, middle finger indicates the direction of current, then the thumb represents the direction in which force is experienced by the shaft of the DC motor.
  • 14. 14 Structurally and construction wise a direct current motor is exactly similar to a DC generator, but electrically it is just the opposite. Here we unlike a generator we supply electrical energy to the input port and derive mechanical energy from the output port. We can represent it by the block diagram shown below; Here in a DC motor, the supply voltage E and current I is given to the electrical port or the input port and we derive the mechanical output i.e. torque T and speed ω from the mechanical port or output port. The input and output port variables of the direct current motor are related by the parameter K. So from the picture above we can well understand that motor is
  • 15. 15 just the opposite phenomena of a DC generator, and we can derive both motoring and generating operation from the same machine by simply reversing the ports. To understand the DC motor in details let’s consider the diagram shown below, The direct current motor is represented by the circle in the centre, on which is mounted the brushes, where we connect the external terminals, from where supply voltage is given. On the mechanical terminal we have a shaft coming out of the Motor, and connected to the armature, and the armature-shaft is coupled to the mechanical load. On the supply terminals we represent the armature resistance Ra in series. Now, let the input voltage E, is applied across the brushes. Electric current which flows through the rotor armature via brushes, in presence of the magnetic field, produces a torque Tg. Due to this torque Tg the dc motor armature rotates. As the armature conductors are carrying currents and the armature rotates inside the stator magnetic field, it also produces an emf Eb in the manner very similar to that of a generator. The generated Emf Eb is directed opposite to the supplied voltage and is known as the back Emf.
  • 16. 16 SPEED CONTROL OF DC MOTOR Speed control means intentional change of the drive speed to a value required for performing the specific work process. Speed control is a different concept from speed regulation where there is natural change in speed due change in load on the shaft. Speed control is either done manually by the operator or by means of some automatic control device. One of the important features of DC motor is that its speed can be controlled with relative ease. We know that the emf equation of DC motor is given as, Therefore, N = 60A E / PZØ N = E / kØ where, k = PZ/60A N = V - Ia Ra / kØ Therefore, speed (N) of 3 types of DC motor – SERIES, SHUNT and COMPOUND can be controlled by changing the quantities on RHS of the expression. Therefore, speed can be varied by changing 1. Terminal voltage of the armature V. 2. External resistance in armature circuit Ra. 3. Flux per pole φ. The first two cases involve change that affects armature circuit and the third one involves change in magnetic field. Therefore, speed control of DC motor is classified as 1. Armature control methods 2. Field control methods.
  • 17. 17 Speed Control of DC Series Motor Speed control of DC series motor can be done either by armature control or by field control. Armature Control of DC Series Motor: Speedadjustment of DC series motor by armature controlmay be done by any one of the methods that follow, Armature Resistance Control Method: This is the most common method employed. Here the controlling resistance is connected directly in series with the supply of the motor as shown in the fig. The power loss in the control resistance of DC series motor can be neglected because this control method is utilized for a large portion of time for reducing the speed under light load condition. This method of speed control is most economical for constant torque. This method of speed control is employed for DC series motor driving cranes, hoists, trains etc. Shunted Armature Control: The combination of a rheostat shunting the armature and a rheostat in series with the armature is involved in this method of speed control. The voltage applied to the armature is varies by varying series rheostat R1. The exciting current can be varied by varying the armature shunting resistance R2. This method of speed control is not economical due to
  • 18. 18 considerable power losses in speed controlling resistances. Here speed control is obtained over wide range but below normal speed. Armature Terminal Voltage Control: The speedcontrol of DC series motor can be accomplished by supplying the power to the motor from a separate variable voltage supply. This method involves high cost so it rarely used. Field Control of DC Series Motor: The speed of DC motor can be controlled by this method by any one of the following ways – 1. Field Diverter Method: This method uses a diverter. Here the field flux can be reduced by shunting a portion of motor current around the series field. Lesser the diverter resistance less is the field current, less flux therefore more speed. This method gives speed above normal and the method is used in electric drives in which speed should rise sharply as soon as load is decreased.
  • 19. 19 2. Tapped Field Control: This is another method of increasing the speed by reducing the flux and it is done by lowering number of turns of field winding through which current flows. In this method a number of tapping from field winding are brought outside. This method is employed in electric traction.
  • 20. 20 11. L293d Motor Driver IC- H-bridge (L293D) The basic problem in using Arduino’s digital pins to control the motor directly is that it is very difficult to reverse the voltage. To overcome this, we can use a circuit called H-bridge, which enables a voltage to be applied across the motor in either direction. We can either build the circuit ourself or use a pre-built IC. L293D is one such IC which is commonly used as a H-bridge. There are also other IC’s like L298 etc, but in this tutorial, we will see how we can use L293D. I will probably will cover the other IC’s some time later in a separate post. Using H-bridge If you look at the datasheet of L293D IC, you will find that we can control two motors simultaneously using the IC. Even though the IC operates at 5V, it can still give a higher voltage (up to 36V) to the motor. The following is the pin diagram of the IC. L293D Pin Configuration- The following is the explanation for the different pins of the IC.  Vcc1 (pin 16) takes in regulated 5V for operating the IC.  Vcc2 (pin 8) takes the external voltage (up to 36V) which  1,2 EN (pin 1) and 3,4 EN (pin 9) are the enable pins for the two motors  1A (pin 2) and 2A (pin 7) are the control pins for Motor 1. These will be connected to Arduino.  1Y (pin 3) and 2Y (pin 6) are the output pins for Motor 1. These will be connected to the first motor.  3A (pin 10) and 4A (pin 15) are the control pins for Motor 2. These will be connected to Arduino.  3Y (pin 11) and 4Y (pin 14) are the output pins for Motor 2. These will be connected to the second motor.  pins 4,5,12,13 are Gnd pins Connecting H-bridge with Arduino
  • 21. 21 As I explained above, we will be connecting H-bridge to Arduino, using the following connection. Pin Number Pin Name Description 1 Enable 1,2 This pin enables the input pin Input 1(2) and Input 2(7) 2 Input 1 Directly controls the Output 1 pin. Controlled by digital circuits 3 Output 1 Connected to one end of Motor 1 4 Ground Ground pins are connected to ground of circuit (0V) 5 Ground Ground pins are connected to ground of circuit (0V) 6 Output 2 Connected to another end of Motor 1 7 Input 2 Directly controls the Output 2 pin. Controlled by digital circuits 8 Vcc2 (Vs) Connected to Voltage pin for running motors (4.5V to 36V) 9 Enable 3,4 This pin enables the input pin Input 3(10) and Input 4(15) 10 Input 3 Directly controls the Output 3 pin. Controlled by digital circuits 11 Output 3 Connected to one end of Motor 2
  • 22. 22 12 Ground Ground pins are connected to ground of circuit (0V) 13 Ground Ground pins are connected to ground of circuit (0V) 14 Output 4 Connected to another end of Motor 2 15 Input 4 Directly controls the Output 4 pin. Controlled by digital circuits 16 Vcc2 (Vss) Connected to +5V to enable IC function 12.Working  13. Controlling directionsof DC Motors As you can see from the above pin diagram, each motor has 3 pins (1 enable pin and 2 control pins) through which we can control the motor. The logic to control the direction of the motor is as follows.  If the enable pin for a motor is HIGH, then the motor will run.  If control pin 1 is HIGH and control pin 2 is LOW, then the motor will rotate in one direction.  If control pin 1 is LOW and control pin 2 is HIGH, then the motor will rotate in the other direction.  For all other cases, the motor will not run. The logic can also be expressed in the following tabular form ENABLE PIN CONTROL PIN 1 CONTROL PIN 2 MOTOR STATUS H H L Rotates in one direction H L H Rotates in another direction H H H Does notrotates L Doesn’tmatter Doesn’tmatter Does notrotates A motor driver is an integrated circuit chip which is usually used to control motors in autonomous robots. Motor driver act as an interface between Arduino and the motors . The most commonly used motor driver IC’s are from the L293 series such as L293D, L293NE, etc. These ICs are designed to control 2 DC motors simultaneously. L293D consist of two H-bridge.
  • 23. 23 H-bridge is the simplest circuit for controlling a low current rated motor. We will be referring the motor driver IC as L293D only. L293D has 16 pins. Features-  Can be used to run Two DC motors with the same IC.  Speed and Direction control is possible.  Motor voltage Vcc2 (Vs): 4.5V to 36V.  Maximum Peak motor current: 1.2A.  Maximum Continuous Motor Current: 600mA.  Supply Voltage to Vcc1(vss): 4.5V to 7V.  Transition time: 300ns (at 5Vand 24V).  Automatic Thermal shutdown is available. Applications-  Used to drive high current Motors using Digital Circuits.  Can be used to drive Stepper motors.  High current LED’s can be driven.  Relay Driver module.  Controlling speed of DC Motors using Arduino Analog Write Before we go ahead, we need to know about analogWrite function in Arduino. In Arduino, the analogWrite function allows you to generate a PWM wave in a pin. If you have tried out the LED fade example in Arduino, then you already know how to use it. If not, then checkout the PWM tutorial from Arduino reference. This function takes a value between 0 and 255 and doesn’t work on all pins in Arduino. In Arduino Uno, it works on pins 3, 5, 6, 9, 10 and 11.  14. Controlling Speedof DC Motors To control the speed of the motor, all we need to do is to replace digitalWrite function on L293D enable pins to analogWrite. The speed of the motor depends on value that was passed to the analogWrite function. Remember the value can be between 0 and 255. If you pass 0, then the motor will stop and if you pass 255 then it will run at full speed. If you pass a value between 1 and 254, then the speed of the motor will vary accordingly.  an al o g W r i te( ) [Analog I/O]
  • 24. 24 Desc ription Writes an analog value (PWM wave) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a c all to analogWrite(), the pin will generate a steady square wave of the specified duty c ycle until the next call to analogWrite() (or a c all to digitalRead() or digitalWrite()) on the same pin. T he frequency of the PWM signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins 5 and 6 have a frequenc y of approximately 980 Hz. On most Arduino boards (those with the AT mega168 or AT mega328P), this func tion works on pins 3, 5, 6, 9, 10, and 11. On the A rduino Mega, it works on pins 2 - 13 and 44 - 46. Older Arduino boards with an AT mega8 only support analogWrite() on pins 9, 10, and 11. T he Arduino DUE supports analogWrite() on pins 2 through 13, plus pins DAC0 and DAC1. Unlike the PWM pins, DAC0 and DAC1 are Digital to Analog c onverters, and ac t as true analog outputs. Y ou do not need to c all pinMode() to set the pin as an output before c alling analogWrite(). T he analogWrite function has nothing to do with the analog pins or the analogRead func tion. Synt ax analogWrite(pin, value) Parameters pin: the pin to write to. Allowed data types: int. value: the duty c ycle: between 0 (always off) and 255 (always on). Allowed data types: int Returns Nothing  PWM Pulse Width Modulation, or PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. The duration of "on time" is called the pulse width. To get varying analog values, you change, or modulate, that pulse width. If you repeat this on-off pattern fast enough with an LED for example, the result is as if the signal is a steady voltage between 0 and 5v controlling the brightness of the LED.
  • 25. 25  In the graphic below, the green lines represent a regular time period. This duration or period is the inverse of the PWM frequency. In other words, with Arduino's PWM frequency at about 500Hz, the green lines would measure 2 milliseconds each. A call to analogWrite() is on a scale of 0 - 255, such that analogWrite(255) requests a 100% duty cycle (always on), and analogWrite(127) is a 50% duty cycle (on half the time) for example. Once you get this example running, grab your arduino and shake it back and forth. What you are doing here is essentially mapping time across the space. To our eyes, the movement blurs each LED blink into a line. As the LED fades in and out, those little lines will grow and shrink in length. Now you are seeing the pulse width.
  • 26. 26 15. DIFFERENT MODES FOR OPERATION-  CONTROLLER MODE-  We have installed an android application namely ‘Blynk’ in android mobile. By dint of ‘c’ programming language, we have created three digital input as (i) Enable (ii) Forward (iii) reverse and one Analog inputs as slider. (i) Enable :- it acts as power input to motor according to the status of forward and reverse digital input and hence controls the power supply to the dc motor. (ii) Forward :- this input makes the dc motor to rotate in anticlockwise direction when turned ‘ON’. (iii) Reverse :- this digital input makes the motor run in clockwise direction when it is turned ‘ON’
  • 27. 27 ADVANTAGES 1. Bluetooth consumes less power than other devices. 2. Android application is user-friendly. 3. Technically expert persons are not required. 4. Wireless communication is enhanced. 5. Programming is simpler. 16. APPLICATIONS 1. Home automation. 2. Intensity of light can also be controlled with the help of android app. 3. . Many industrial applications require adjustable speed drive and constant speed for improving the quality product.
  • 28. 28 18. CONCLUSION Thus, the speed and direction control of the DC Motor is achieved with the help of Android mobile application with the help of Bluetooth technology. In this way wireless communication is also achieved. 19. REFERENCES [1]. Sunita Tirupati Gupta: Speed control of Single phase Induction motor using android bluetooth.ISSN-2321-3361 International Journal of Engineering Science and Computing Volume 6 Issue 5 September 2016. [2]. Mr. K. Narasimhaiah :Speed Control of AC motor by using blue control app.ISSN-2393- 9923 Global Journal of Trends in Engineering Volume 1 Issue 2 April-2016. [3]. Abhishek Gupta: Induction motor speed control using android application.ISSN-2348- 6988 International Journal of Electrical and Electronic Research Volume 4 Issue 2 April-june 2016. [4]. Salivahanan , S.Suresh, and Vallavaraj,- A. “Electronic Devices and Circuit”, Fourth Edition, Tada Seventh Edition, 2000, McGraw-Hill Publishing Company Limited. [5]. Modern Applied Science Vol 5, No 3 (2011). A Novel Approach to Analog Signal Isolation through Digital Opto- coupler (YOUTUBE).
  • 29. 29  17. Project working report We have installed an android application namely ‘Blynk’ in android mobile. By dint of ‘c’ programming language, we have created three digital input as (i) Enable (ii) Forward (iii) reverse and one Analog inputs as slider. (iv) Enable :- it acts as power input to motor according to the status of forward and reverse digital input and hence controls the power supply to the dc motor. (v) Forward :- this input makes the dc motor to rotate in anticlockwise direction when turned ‘ON’. (vi) Reverse :- this digital input makes the motor run in clockwise direction when it is turned ‘ON’. Slider :- it gives analog input to the motor which decides the speed of the motor in either direction of the rotation. Slider value cover parameter value from 0 to 225 corresponding to Duty Cycle 0 to 1 using PWM technique. Different status (A) Anticlockwise Rotation (i) Enable >> ON = 1 (ii) Forward >> ON = 1 (iii) Reverse >> OFF = 1 with some Slider value. (B) Clock-wise Rotation (i) Enable >> ON = 1 (ii) Forward >> OFF = 0 (iii) Reverse >> ON = 1 with some slider value. (C) Motor OFF condition (i) Enable >> ON = 1 (ii) Forward >> OFF = 0 (iii) Reverse >> ON = 0 with some slider value. (D) Invalid Input (i) Enable >> ON = 1 (ii) Forward >> OFF = 1 (iii) Reverse >> ON =1
  • 30. 30
  • 31. 31 GURU GOBIND SINGHEDUCATIONAL SOCIETY'S TECHNICAL CAMPUS, BOKARO, JHARKHAND Under the guidance of ALOK KUMAR Asst. Professor, Dept. of EEE GURU GOBIND SINGH EDUCATIONAL SOCIETY'S TECHNICAL CAMPUS, BOKARO, JHARKHAND VINOBA BHAVE UNIVERSITY, HAZARIBAGH 2014-2018
  • 32. 32 PROJECTREPORTON “speed And Direction control of dc motor using android mobile application “ Submitted in partialfulfilment of requirement for the award of degree of B.TECH. in ELECTRICAL ENGINEERING Submitted by : Chandan Kumar (1501001D) Arjun Kumar Singh (1401040) Vivekanand Sardar (1501020D) Prakash Dey (1401041) Rahul kumar (1401036)
  • 33. 33 under the guidance of prof -REKHA JHA MAM Dept of ELECTRICAL ENGG. BIT SINDRI DHANBAD 828123 CERTIFICATE This is certify that the project “speed And Direction control of dc motor using android mobile application “ has been submitted by 1. Chandan Kumar (1501001D) 2. Arjun Kumar Singh (1401040) 3. Vivekanand Sardar (1501020D) 4. Prakash Dey (1401041) 5. Rahul kumar (1401036) Partial fulfillment of award of B.Tech (7th sem) in Electrical Engineering Vinoba Bhave University
  • 34. 34 Hazaribag is a bonafied work carried out by them under my guidance. Prof. Rekha Jha Mam Prof. Pankaj Rai (supervisor) Head of Department Electrical Engg. BIT SINDRI Examined and approved External Examiner ACKNOWLEDGEMENT I sincerely take this opportunity to express my thanks and deep gratitude to all who extended hearted co-operation opinion and gracious hospitality to me in completing this work. It is my immense pleasure to be work under the guidance of Prof. Rekha Jha Mam, Dept. of Electrical Engineering, B.I.T.SINDRI. I am very grateful to her for being incredible supportive throughout the project work and her exhaustive guidance and patience she had while listening my approaches. I owe my greatest debt to Prof. (Dr.) Pankaj rai, (Head of the EE Dept.) B.I.T. SINDRI for his advice and for providing necessary facility for my work. I thank to all Electrical engineering faculty members, my group members, Librarian including my friends for their encouragement, cooperation and needful support at different times during this work.
  • 35. 35 I gratefully acknowledge my sincere thanks to my family members, specially my parents for their inspirational impetus and moral support during the course of this work and whole tenure of my stay in B.I.T. SINDRI. Lastly, I want to thank all those who helped me directly or indirectly in the completion of my dissertation work. NAME ROLL NO. 1. Chandan Kumar (1501001D) 2. Arjun Kumar Singh (1401040) 3. Vivekanand Sardar (1501020D) 4. Prakash Dey (1401041) 5. Rahul kumar (1401036) Place: Date: