Name:
ATWAI, JUMANNE S
SALALA CHARLES
FANUEL EZEKIEL
GOODLUCK FRANK
Reg. No.
T/UDOM/2010/00158
T/UDOM/2010/00238
T/UDOM/2010/00173
T/UDOM/2010/00175
Course:
Bsc. CE
Bsc. CE
Bsc. CE
Bsc. CE
DATE:
CORDINATORS SIGNATURE:
DATE:.
A.
We also want to express our appreciation to Mr. Musthafa from India who assisted to buy and
send us the devices from India to Tanzania, and lastly we like to send our appreciation to all
teachers and other staffs for their intellectual support and cooperation during the whole time
from the start of our project up to this point of writing and submission of our report.
i.
Contents
ACKNOWLEDGMENT: .............................................................................................................................. i
Table of Contents .......................................................................................................................................... ii
List of Figures and Tables............................................................................................................................ iv
Symbols and abbreviations ........................................................................................................................... v
CHAPTER 1 ................................................................................................................................................. 1
1.0 Introduction ......................................................................................................................................... 1
1.1 Overview ......................................................................................................................................... 1
1.2 Objectives ....................................................................................................................................... 2
1.3 Expected output and beneficiaries .................................................................................................. 2
CHAPTER 2 ................................................................................................................................................. 3
2.0 Literature survey ................................................................................................................................. 3
2.1 DTMF decoder IC MT8870 ............................................................................................................ 3
2.2 DC Motor ........................................................................................................................................ 3
2.3 PIC Microcontroller ........................................................................................................................ 4
2.4 Dual H-bridge motor driver (L293D) ............................................................................................. 4
2.5 Relay Drive ..................................................................................................................................... 5
2.6 Power supply ................................................................................................................................... 5
CHAPTER 3 ................................................................................................................................................. 6
3.0 Methodology ....................................................................................................................................... 6
3.1 Design ............................................................................................................................................. 6
3.2 Project Simulation ........................................................................................................................... 9
3.3 ULN2003A IC Description ........................................................................................................... 10
CHAPTER 4 ............................................................................................................................................... 11
4.0 Complete Circuit Implementation ..................................................................................................... 11
4.1 Hardware Description ....................................................................................................................... 12
4.1.1 PIC Microcontroller ................................................................................................................... 12
ii.
iii.
iv.
CPU
DC
DTMF
ICs
LED
MCUs
RAM
ROM
RF
I/O
LCD
BT
-> Ohm
v.
The received tone is then processed by the Microcontroller with the help of DTMF decoder
MT8870, the decoder decodes the DTMF tone into its equivalent binary digit and this binary
digit is send to the Microcontroller, where by a Microcontroller is preprogrammed to take a
decision for any give input and outputs its decision to motor driver in order to drive the motors
for various speed.
A Microcontroller then transmits the signal to DC motor driver ICs to operate the motor. The
Use of a mobile phone for motor control can overcome limitations which can be faced in RF
based technique. It provides the advantage of robust control, working range as large as the
coverage area of the service provider, no interference with other controllers and up to twelve
controls.
1.
2.
4.
From the above mentioned Projects Survey, we decided to generate an idea of implementing our
project of Speed Regulation of a DC Motor using DTMF keypad, so we present the
implementation of a hardware circuit which is designed for remote speed control of a DC motor
by using Dual Tone Multi Frequency (DTMF) tone of mobile phone.
5.
6.
Considering DTMF basics, Duel Tone Multi Frequency (DTMF) tone is used to identify which
key is pressed in the mobile keypad as a mobile keypad is used as password entry device. By
pressing any key generate unique tone which consists of two different frequencies one each of
higher and lower frequency range, for example, if the user presses a key 2 on the DTMF keypad
(Mobile phone Keypad) it will send a tone comprising of 697 Hz as its lower frequency and 1336
Hz as higher frequency to the other end of the system. The frequencies and their corresponding
digits are shown in the figure below.
Upper Band
Lower
697
Band
Hz
770
1209
1336
1477
1633
Hz
Hz
Hz
Hz
Hz
852
Hz
941
Hz
The signal generated by the DTMF encoder is the direct algebraic submission, in real time of the
amplitudes of two sine (cosine) waves of different frequencies, that is, for example for the case
of our project the functional keys are 1, 2, 4, and 8. Therefore, when pressing 1 it is high
speed and will send a tone made by adding 1209 Hz and 697 Hz to the other end of the mobile
which acts as a receiving end, also when pressing 8 it is the lowest speed with frequencies 1336
Hz and 852 Hz and lastly for key 2 and 4 are used for moderate speed.
Furthermore, the DTMF decoding in the project, the circuit used is Single Ended Input
configuration as shown in Figure below,
8.
9.
Therefore a Darlington pairs can be paralleled for higher current capability. Applications include
relay drivers, hammer drivers, lamp drivers, display drivers (LED and gas discharge), line
drivers, and logic buffers. Consider the following features of ULN2003A IC and its Circuit
diagram.
Relay-Driver Applications
High-Voltage Outputs: 50 V
10.
11.
PIC10
PIC24F
PIC12
PIC24H
PIC14
dsPIC30
PIC16
dsPIC33
PIC18
Figure 8.Table of PIC Microcontroller families
12.
Value
Flash
64
10
RAM Bytes
3,968
1024
1-A/E/USART, 1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
1 CCP, 1 ECCP
Timers
1 x 8-bit, 3 x 16-bit
ADC
13 ch, 10-bit
Comparators
-40 to 125
2 to 5.5
13.
14.
15.
Transformer
A transformer is a device that transfers electrical energy from one circuit to another through
inductively coupled conductors the transformer's coils or "windings". Except for air-core
transformers, the conductors are commonly wound around a single iron-rich core, or around
separate but magnetically-coupled cores. A varying current in the first or "primary" winding
creates a varying magnetic field in the core(s) of the transformer. This varying magnetic field
16.
By appropriate selection of the numbers of turns, a transformer thus allows an alternating voltage
to be stepped up by making NS more than NP or stepped down.
Basic parts of a Transformer
In its most basic form a transformer consists of:
The primary winding is connected to a 60-hertz AC voltage source. The magnetic field (flux)
builds up (expands) and collapses (contracts) about the primary winding. The expanding and
contracting magnetic field around the primary winding cuts the secondary winding and induces
an alternating voltage into the winding. This voltage causes alternating current to flow through
the load. The voltage may be stepped up or down depending on the design of the primary and
secondary windings. Refer to the transformer circuit in figure below:
17.
Two coils of wire (called windings) are wound on some type of core material. In some cases the
coils of wire are wound on a cylindrical or rectangular cardboard form. In effect, the core
material is air and the transformer is called an Air-Core Transformer. Transformers used at low
frequencies, such as 60 hertz and 400 hertz, require a core of low-reluctance magnetic material,
usually iron. This type of transformer is called an Iron-Core Transformer and most power
transformers are of the iron-core type. The principle parts of a transformer and their functions are
as follows:
The CORE, which provides a path for the magnetic lines of flux.
The SECONDARY WINDING, which receives energy from the primary winding and
delivers it to the load.
The ENCLOSURE, which protects the above components from dirt, moisture, and
mechanical damage.
18.
In the diagrams below, when the input connected to the left corner of the diamond is positive,
and the input connected to the right corner is negative, current flows from the upper supply
terminal to the right along the red (positive) path to the output, and returns to the lower supply
terminal via the blue (negative) path.
19.
Output Smoothing
For many applications, especially with single phase AC where the full-wave bridge serves to
convert an AC input into a DC output, the addition of a capacitor may be desired because the
bridge alone supplies an output of fixed polarity but continuously varying. (Observe the diagram
below).
21.
4.1.8 DC Motor
Motors are an integral part of engineering in today's Society. They are used in a wide variety
of applications, from running fans to driving belts to turning wheels. Yet, despite their
prevalence in the designs of undergraduate engineering students, most such students have very
little idea of how motors actually work, or of how to control them safely and dependably. This
project describes DC motors, analyzes them and determines adequate strategies or controlling
them in a manner which is both safe and reliable.
.
Speed is controlled by varying the rotor voltage and hence the rotor current, or by varying the
magnetic flux in the air gap by changing the current in the field windings.With access to both the
field and rotor windings, all DC motors offer the facility of simple speed control.
24.
25.
In this project the process works when a mobile phone which serves as remote initiates a call to
the Mobile phone with a line of any network which is connected with the receiver end set in auto
answer mode. During this outgoing call if a key is pressed in the mobile phone the associated key
generates dual tone multiple frequency (DTMF) at the other end. The received tone is processed
by DTMF decoder IC MT8870 where by a specific frequency consisting of two separate tones is
assigned by the DTMF decoder which produces two different frequencies from lower band and
upper band frequencies.
26.
In our project we worked in advanced on IC'S (DTMF MT887 Decoder, and PIC 16F877A) that
help us to get a result as near as possible to the wanted one. The necessary code has been made
and downloaded in microcontroller by using appropriate software. The analog instructions
received by the receiving mobile phone were successfully converted into digital strobes as
interrupt signals to the microcontroller through DTMF decoder.
The actuation of the motor is driven by the output ports of the microcontroller. The proposed
work has following advantages over the existing models:
A number of devices can be controlled through a dedicated output port bits by writing
the individual controlling algorithm for each device not just DC motor.
6.2 Recommendation
For future development of our project we recommend that, the person who is controlling the
motor from remote site should have the ability to see the status of motor whether it is on, and if
so it is running in a high speed, medium or low speed. Furthermore for example a motor is given
a specific task like filling water into the tank there should be sensor that will notify a person
responsible for controlling that motor whether the tank is empty or full of water. Therefore we
expect software students can fulfill this by developing software that can be integrated with our
circuit for sending notifications.
27.
6.0 References
[1.]About AT89s8252 from www.atmel.com
[2.] Rajesh Kumar, Manpreet Singh, Raman, and Ashish Riyal:International Journal of
Engineering and Innovative Technology (IJEIT) Volume 1, Issue 6, June 2012 ROBAASTRA
the Self Destructive Circuit Control by Using DTMF Technology
[3.] Roshan Ghosh / International Journal of Engineering Research and Applications:
DTMF Based Controller for Efficiency Improvement of a PV Cell & Relay Operation
Controlissued May-Jun 2012.
[4.] Shakti Bajaj, Ravinder Kumar Bhataia, J. Sandeep Soni, Speed Regulation of DC Drive
Using Mobile Communication issued March 2013.
[5.] All datasheets from www.datasheetcatalog.com
28.