Escolar Documentos
Profissional Documentos
Cultura Documentos
Submitted to
RAJIV GANDHI TECHNICAL UNIVERSITY
BHOPAL (M.P)
(0187EC101093)
SOURABH DUBEY
(0187EC101103)
SUJIT SINGH
(0187EC101106)
SARVESH BATRA
(0187EC101092)
Under the Guidance of
MOHD.ABDULLAH
MAY-2014
Declaration
We hereby declare that the project entitled MICROCONTROLLER
ENABLED SPEAKING SYSTEM FOR DEAF & DUMBis the actual work
carried out by us in the department of ELECTRONICS &
COMMUNICATION under the guidance of
MOHD. ABDULLAH.
Name
Enrollment Number
Signature
SARVESH SHASTRI
(0187EC101093)
SOURABH DUBEY
(0187EC101103)
SUJIT SINGH
SARVESH BATRA
(0187EC101106)
(0187EC101092)
..
..
CERTIFICATE
This is to certify that the project entitled MICROCONTROLLER ENABLED
SPEAKING SYSTEM FOR DEAF & DUMB has been carried out by
Under my guidance in partial fulfillment for the award of (BACHELOR OF
ENGINEERING) in ELECTRONICS & COMMUNICATION by the Rajiv Gandhi
Technical University, Bhopal (M.P.), during the academic year 2013-14.
MOHD. ABDULLAH
Project Guide
ACKNOWLEDGEMENTS
Name
SARVESH SHASTRI
SOURABH DUBEY
Enrollment Number
0187EC101093
0187EC101103
4
Signature
SUJIT SINGH
0187EC101106
SARVESH BATRA
0187EC101092
INDEX
Abstract
(i)
List of Table
(ii)
List of Figure
(iii)
INTRODUCTION
1.1
GENERAL
1.2
BLOCK DIAGRAM
1.2.1.1 MICROCONTROLLER
13
Literature Review
2.1 Microcontroller Devices
Methodology
3.1
15
LAYOUT DESIGNING
3.2
IRONING
3.3
ETCHING
3.4
DRILLING
3.5
SOLDERING
17
17
18
19
20
21
EMBEDDED C CODING
22-23
RESULT
24
CONCLUSION
25
REFERENCE
26
ABSTRACT
Micro controller based speaking system for deaf and dumb is designed to give the signs,
which are preloaded in the device. It is a micro controller based device, which gives the alert
sounds just by pressing the control buttons, which are given some redefined messages like
asking for water, washroom etc., here the person can just press the control button which
indicates the sign of water (example) then the device sounds the same with some output
volume.
Micro controller is the heart of the device. It stores the data of the needs of the person. So
that it can make use of the data stored whenever the person uses the device. This device
helps the deaf and dumb people to announce their requirements. By this the person who is
near can understand their need and help them. This saves the time to understand each
other and ease in communication.
This device is designed to provide with a greater advantage producing voice based
announcement for the user i.e. the user gets the voice which pronounces his need as and
when it is required.
LIST OF TABLES
Table No.
1.
Table Name
Page No.
26
7805 MODE
ii
LIST OF FIGURES
iii
1 Introduction
1.1.
General
Micro controller based speaking system for deaf and dumb is designed to give the signs,
which are preloaded in the device. It is a micro controller based device, which gives the alert
sounds just by pressing the control buttons, which are given some redefined messages like
asking for water, washroom etc., here the person can just press the control button which
indicates the sign of water (example) then the device sounds the same with some output
volume. Micro controller is the heart of the device. It stores the data of the needs of the
person. So that it can make use of the data stored whenever the person uses the device.
This device helps the deaf and dumb people to announce their requirements. By this the
person who is near can understand their need and help them. This saves the time to
understand each other and ease in communication his device is designed to provide with a
greater advantage producing voice based announcement for the user i.e. the user gets the
voice which pronounces his need as and when it is required.
The main features of this project
1. User-friendly interaction with the use.
2. Reliable for dumb people.
3. Easy to operate.
This project provides learnings on the fallowing advancements:
1. Characteristics of micro controller.
2. Building audible tone generating circuit.
3. Voice generation circuit.
4. Embedded C programming.
5. PCB design.
The major building blocks of this project are:
1. Regulated Power Supply.
2. User Input Interfacing.
3. Voice Recording Module.
4. Tone Generating circuit
9
5. Micro controller.
1.2.
Block diagram
The block diagram of Microcontroller enabled speaking system for deaf and dumb are as
follows:-
F
ig 1.1: - Simple Block diagram of Microcontroller enabled speaking system for deaf and
dumb.
From the fig 1.1, we can understand the working of Microcontroller enabled speaking system
for deaf and dumb as we can see there are five main blocks as 8051 controller, Regulated
Power Supply, Buzzer, Control Buttons, Voice Driver Circuit, LED Indicator, and IC Based
Voice Circuit. As we can see the microcontroller in the heart of the device and it controls
each and every part of the device. The controller is programmed in C language in Keil IDE
which is used to develop logics. The micro controller controls the voice drive circuit.
This Voice circuit works on 5v Dc and produces a loud sound for different purposes and
behaves as an alarm system.
The fig 1.1 describes the different processes of device as the micro controller controls the
Voice module according to the defined input which we are providing through the switches. All
these switches provide a high pulse for the input port and a predefined programming of the
microcontroller generates the corresponding output signals for different LEDs and different
sounds.
10
8051 C:
The 8051 microcontroller is the heart of the device as it controls each part and
processes of the device. It is the 8 bit microcontroller which provides an automatic control.
Voice Driver Circuit
The APR9600 device offers true single-chip voice recording, non-volatile storage, and
playback capability for 40 to 60 seconds. The device supports both random and sequential
access of multiple messages. Sample rates are user-selectable, allowing designers to
customize their design for unique quality and storage time needs. Integrated output amplifier,
microphone amplifier, and AGC circuits greatly simplify system design. The device is ideal for
use in portable voice recorders, toys, and many other consumer and industrial applications.
The Flash program memory supports both parallel programming and in serial
In-System Programming (ISP). Parallel programming mode offers gangprogramming at high speed, reducing programming costs and time to market.
ISP allows a device to be reprogrammed in the end product under software
control. The capability to field/update the application firmware makes a wide
range of applications possible. The P89V51RD2 is also In-Application
Programmable (IAP), allowing the Flash program memory to be reconfigured
even while the application is running.
The highlighted features are: 80C51 Central Processing Unit
5 V Operating voltage from 0 to 40 MHz
64 kB of on-chip Flash program memory with ISP (In-System Programming)
and IAP (In-Application Programming)
Supports 12-clock (default) or 6-clock mode selection via software or ISP
SPI (Serial Peripheral Interface) and enhanced UART
PCA (Programmable Counter Array) with PWM and Capture/Compare
functions
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable Watchdog timer (WDT)
Eight interrupt sources with four priority levels
Second DPTR register
Low EMI mode (ALE inhibit)
TTL- and CMOS-compatible logic levels
Block diagram of the IC is shown below to demonstrate the architecture: -
To understand the working of this IC lets have a look on PIN diagram of the IC
P89V51RD2BN.
Pin
P0.0 to
P0.7
39-32
P1.0 to
P1.7
1-8
Type
Description
I/O
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.0 to
P2.7
21-28
P3.0 to
P3.7
10-17
I/O
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
PSEN
10
11
12
13
14
15
16
17
29
I
O
I
I
I
I
O
O
RST
EA
31
ALE/
PROG
30
I/O
NC
I/O
XTAL1
19
XTAL2
18
VDD
VSS
40
20
Voice Module
The APR9600 device offers true single-chip voice recording, non-volatile storage, and
playback capability for 40 to 60 seconds. The device supports both random and sequential
access of multiple messages. Sample rates are user-selectable, allowing designers to
17
customize their design for unique quality and storage time needs. Integrated output amplifier,
microphone amplifier, and AGC circuits greatly simplify system design. The device is ideal for
use in portable voice recorders, toys, and many other consumer and industrial applications.
APLUS integrated achieves these high levels of storage capability by using its proprietary
analog/multilevel storage technology implemented in an advanced Flash non-volatile memory
process, where each memory cell can store 256 voltage levels.
This technology enables the APR9600 device to reproduce voice signals in their natural form.
It eliminates the need for encoding and compression, which often introduce distortion.
- Automatic power-down.
Literature Review
2.1 Microcontroller Devices
A microcontroller can be considered a self-contained system with a processor, memory and
peripherals and can be used as an embedded system.[6] The majority of microcontrollers in
use today are embedded in other machinery, such as automobiles, telephones, appliances,
and peripherals for computer systems. While some embedded systems are very
sophisticated, many have minimal requirements for memory and program length, with no
operating system, and low software complexity. Typical input and output devices include
switches, relays, solenoids, LEDs, small or custom LCD displays, radio frequency devices,
and sensors for data such as temperature, humidity, light level etc. Embedded systems
usually have no keyboard, screen, disks, printers, or other recognizable I/O devices of a
personal computer, and may lack human interaction devices of any kind.
Interrupts
Microcontrollers must provide real time (predictable, though not necessarily fast) response to
events in the embedded system they are controlling. When certain events occur, an interrupt
system can signal the processor to suspend processing the current instruction sequence and
to begin an interrupt service routine (ISR, or "interrupt handler"). The ISR will perform any
processing required based on the source of the interrupt, before returning to the original
instruction sequence. Possible interrupt sources are device dependent, and often include
events such as an internal timer overflow, completing an analog to digital conversion, a logic
level change on an input such as from a button being pressed, and data received on a
communication link. Where power consumption is important as in battery operated devices,
interrupts may also wake a microcontroller from a low power sleep state where the processor
is halted until required to do something by a peripheral event.
Programs
Typically microcontroller programs must fit in the available on-chip program memory, since it
would be costly to provide a system with external, expandable, memory. Compilers and
assemblers are used to convert high-level language and assembler language codes into a
compact machine code for storage in the microcontroller's memory. Depending on the
device, the program memory may be permanent, read-only memory that can only be
programmed at the factory or program memory that may be field-alterable flash or erasable
read-only memory.
Manufacturers have often produced special versions of their microcontrollers in order to help
the hardware and software development of the target system. Originally these included
19
EPROM versions that have a "window" on the top of the device through which program
memory can be erased by ultraviolet light, ready for reprogramming after a programming
("burn") and test cycle. Since 1998, EPROM versions are rare and have been replaced by
EEPROM and flash, which are easier to use (can be erased electronically) and cheaper to
manufacture.
Other versions may be available where the ROM is accessed as an external device rather
than as internal memory, however these are becoming increasingly rare due to the
widespread availability of cheap microcontroller programmers.
The use of field-programmable devices on a microcontroller may allow field update of the
firmware or permit late factory revisions to products that have been assembled but not yet
shipped. Programmable memory also reduces the lead time required for deployment of a
new product.
Where hundreds of thousands of identical devices are required, using parts programmed at
the time of manufacture can be an economical option. These "mask programmed" parts have
the program laid down in the same way as the logic of the chip, at the same time.
A customizable microcontroller incorporates a block of digital logic that can be personalized
in order to provide additional processing capability, peripherals and interfaces that are
adapted to the requirements of the application. For example, the AT91CAP from Atmel has a
block of logic that can be customized during manufacture according to user requirements.
Microcontrollers usually contain from several to dozens of general purpose input/output pins
(GPIO). GPIO pins are software configurable to either an input or an output state. When
GPIO pins are configured to an input state, they are often used to read sensors or external
signals. Configured to the output state, GPIO pins can drive external devices such as LEDs
or motors.
Many embedded systems need to read sensors that produce analog signals. This is the
purpose of the analog-to-digital converter (ADC). Since processors are built to interpret and
process digital data, i.e. 1s and 0s, they are not able to do anything with the analog signals
that may be sent to it by a device. So the analog to digital converter is used to convert the
incoming data into a form that the processor can recognize. A less common feature on some
microcontrollers is a digital-to-analog converter (DAC) that allows the processor to output
analog signals or voltage levels.
In addition to the converters, many embedded microprocessors include a variety of timers as
well. One of the most common types of timers is the Programmable Interval Timer (PIT). A
PIT may either count down from some value to zero, or up to the capacity of the count
register, overflowing to zero. Once it reaches zero, it sends an interrupt to the processor
indicating that it has finished counting. This is useful for devices such as thermostats, which
periodically test the temperature around them to see if they need to turn the air conditioner
on, the heater on, etc.
A dedicated Pulse Width Modulation (PWM) block makes it possible for the CPU to control
power converters, resistive loads, motors, etc., without using lots of CPU resources in tight
20
timer loops.
Universal Asynchronous Receiver/Transmitter (UART) block makes it possible to receive and
transmit data over a serial line with very little load on the CPU. Dedicated on-chip hardware
also often includes capabilities to communicate with other devices (chips) in digital formats
such as IC and Serial Peripheral Interface (SPI).
3 Methodology
3.1 There are five steps in PCB designing
21
Ironing process
Ironing is the process in which we take the print of layout from glossy paper to PCB.
22
Etching process
The developed PCB is etching with a 220 g/l solution of FeCl3 (Ferrous Chloride).
220 gram added to one litter of water and mix it until everything is dissolved.
When the Ferrous Chloride is dissolved it is a clear liquid.After the etching process total part
of copper will be remove.
24
Drilling process
Drilling is the process in which we drill the holes on PCB for the placement of component.
25
Soldering process
In this process we placed the component in there right place in PCB. We use soldering wire
to place the component tightly.
26
27
CODING
//Program to interface voice module with 8051 microcontroller (AT89S52)
#include<reg51.h>
sbit ip1=P1^0;
sbit ip2=P1^1;
sbit ip3=P1^2;
sbit ip4=P1^3;
sbit v1=P2^0;
// output for 1st voice
sbit v2=P2^1; // output for 2nd voice
sbit v3=P2^2; // output for 3rd voice
sbit v4=P2^3; // output for 4th voice
sbit bzr=P2^7;// output for buzzer
void delay(unsigned int count)
{
int i,j;
for(i=0;i<count;i++)
for(j=0;j<1275;j++);
}
30
void main()
{
bzr=0;
ip1=1;
28
ip2=1;
ip3=1;
ip4=1;
while(1)
{
if(ip1==0)
{v1=0;
v2=1;
v3=1;
v4=1;
bzr=1;
delay(1000);
}
else if(ip2==0)
{v1=1;
v2=0;
v3=1;
v4=1;
bzr=1;
delay(1000);
}
else if(ip3==0)
{v1=1;
v2=1;
v3=0;
v4=1;
bzr=1;
delay(1000);
}
else if(ip4==0)
{v1=1;
v2=1;
v3=1;
v4=0;
bzr=1;
delay(1000);
}
else
{v1=1;
v2=1;
29
v3=1;
v4=1;
}
delay(10);
v1=1;
v2=1;
v3=1;
v4=1;
bzr=0;
RESULT
This device is working properly as per required result.
ggg
30
Fig 1.14:- Microcontroller enabled speaking system for deaf and dumb
CONCLUSION
This device is working properly as it is very useful for deaf and dumb people as
they are incapable of speaking and listening things,hence this is a device which
give them a platform to express their feeling at least at a time where they need
help of others. It is one of the innovative idea which we have created in a very
small amount of money hence with a 8 bit microcontroller and a voice module
we have developed a system for the betterment of the society.
31
REFERENCE
WEB REFERENCE
www.technido.com
www.electronicstutorials.com
www.mycollegeproject.com
www.sooxmatechnologies.com
www.engineergarage.com
[6] Heath, Steve (2003). Embedded systems design. EDN series for design
engineers (2 ed.). Newnes. pp. 1112. ISBN 9780750655460.
BOOKS REFERENCE
Pic Microcontroller.
Microcontroller and Embedded System.
Mazidi, M.A/Mazidi, J. G. Pearson Edu.
32