Академический Документы
Профессиональный Документы
Культура Документы
Certificate ..i
Acknowledgement..ii
Abstract .iii
CHAPTER 3:
METHODOLOGY
REFERENC
APPENDIX
CHAPTER 1:
INTRODUCTION TO PROJECT
1.1 Brief Description of Project
This is an interesting idea in which a message is displayed on an LCD screen whenever a
sound is produced. The message remains on LCD for a short duration of time and then
disappears. This topic demonstrates the interfacing of a sound operated circuit and LCD
display with the pic microcontroller (16f73). The circuit can be used to display welcome
message at entrance; or warning messages at public places. It can also be used to aid
communication for deaf and dumb people.
CHAPTER 2:
2
PROJECT DETAILS
The circuit consists of four major modules, namely, a sound sensor, an amplifying circuit, a
control circuit and a display module. A switching circuit is also employed after the amplifier.
Any sound, say clap, is detected by a microphone (condenser mic) which acts as the sound
sensor. This mic is connected to a two stage transistor amplifier. The mic output is thus
amplified to a suitable level so that it can be detected at the TTL logic.
The output of the amplifier is coupled with a transistor switch. Whenever a high voltage
output is received from the amplifier, it generates a pulse. The transistor switching circuit also
ensures that a high TTL logic is not received at the microcontroller due to noise signals.
The pulses, from the switching circuit, are fed to the microcontroller 16f73's pin which is
programmed to detect the pulses. Whenever a high pulse at microcontroller input is detected,
a message MAHARISHI MARKENDESHWAR UNIVERSITY is sent to a 16x2 LCD. The
message remains on the LCD display for a short duration after which it is cleared again. The
message is repeated whenever a high pulse (due to clap sound) is received by the controller.
The data pins of the LCD are connected to port P2, while the control pins (RS, R/W & EN)
are connected to pins 1-3 of port P1, respectively. The microcontroller receives sound pulses
through the first pin of port P0.
Block diagram
A power supply is an electronic device that supplies electric energy to an electrical load. The
primary function of a power supply is to convert one form of electrical energy to another and,
as a result, power supplies are sometimes referred to as electric power converters. Some
power supplies are discrete, stand-alone devices, whereas others are built into larger devices
along with their loads. Examples of the latter include power supplies found in desktop
computers and consumer electronics devices.
Every power supply must obtain the energy it supplies to its load, as well as any energy it
consumes while performing that task, from an energy source. Depending on its design, a
power supply may obtain energy from various types of energy sources, including electrical
energy transmission systems
Transformer:-
1. Bridge Rectifier:-
The four diodes labelled D1 to D4 are arranged in series pairs with only two diodes
conducting current during each half cycle. During the positive half cycle of the supply,
diodes D1 and D2conduct in series while diodes D3 and D4 are reverse biased and the
current flows through the load.
Capacitor:-
Resistor:-
The electrical resistance of a circuit component or device is defined as the ratio of the voltage
applied to the electric current which flows through it. If the resistance is constant over a
considerable range of voltage, then Ohm's law, I = V/R, can be used to predict the behavior of
the material. Although the definition above involves DC current and voltage, the same
definition holds for the AC application of resistors.
Voltage Regulator:-
Led:-
A light-emitting diode (LED) is a two-lead semiconductor light source. It is a basic pnjunction diode, which emits light when activated. [7] When a fitting voltage is applied to the
leads, electrons are able to recombine with electron holes within the device, releasing energy
in the form of photons. This effect is called electroluminescence, and the color of the light
(corresponding to the energy of the photon) is determined by the energy band gap of the
semiconductor.
An LED is often small in area (less than 1 mm2) and integrated optical components may be
used to shape its radiation pattern.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each
character is displayed in 5x7 pixel matrix. This LCD has two registers.
1.
Command/Instruction Register - stores the command instructions given to the LCD. A command
is an instruction given to LCD to do a predefined task like initializing, clearing the screen, setting the
cursor position, controlling display etc.
2.
Data Register - stores the data to be displayed on the LCD. The data is the ASCII value of the
character to be displayed on the LCD.
PIC 16F73
fig :- 16f73/72
10
LCD Display
11
12
Pin Description:
13
CHAPTER 3:
METHODOLOGY
14
COLLECTION OF
COMPONENT/RESOURCES
COMPONENT PLACEMENT
POWER SUPPLY
CONTROLLER BLOCK
DISPLBLOCK
SOLDERING+ ROUTING
PROGRAMING
TESTING
VALIDATION
IF NO
PROJECT COMPLETED
Fig no 3.1.1:process follow(pcb designing)
PCB Board
We created a circuit that enabled our robot to follow taped lines based on the light reflected
off the ground. The robot is capable of following the lines by comparing light on either side
of the different colored tape using light sensors. Through this experience we have learned the
15
Component Placement
After the component and board have been cleaned, you are ready to place the components
onto the board. Unless my circuit is simple and only contains a few components, i will
probably not be placing all the components onto the board and soldering them at once. Most
likely i will be soldering a few components at a time before turning the board over and
placing more. In general it is best to start with the smallest and flattest components (resistors,
ICs, signal diodes, etc.) and then work up to the larger components (capacitors, power
transistors, transformers) after the small parts are done. This keeps the board relatively flat,
making it more stable during soldering. It is also best to save sensitive components
(MOSFETs, non-socketed ICs) until the end to lessen the chance of damaging them during
assembly of the rest of the circuit.
Soldering
Soldering is defined as "the joining of metals by a fusion of alloys which have
relatively low melting points". In other words, you use a metal that has a low melting point to
adhere the surfaces to be soldered together. Consider that soldering is more like gluing with
molten metal, unlike welding where the base metals are actually melted and combined.
16
Soldering is also a must have skill for all sorts of electrical and electronics work. It is also a
skill that must be taught correctly and developed with practice.
Routing
In electronic design, wire routing, commonly called simply routing, is a step in the
design of printed circuit board(PCBs) and integrated circuits (ICs). It builds on a preceding
step, called placement which determines the location of each active element of an IC or
component on a PCB. After placement, the routing step adds wires needed to properly
connect the placed components while obeying all design rules for the IC.
Programing
For the programing I have used the software names as Keil. The Keil C51 C Compiler for the
8051 microcontroller is the most popular 8051 C compiler in the world. It provides more
features than any other 8051 C compiler available today.The C51 Compiler allows you to
write 8051 microcontroller applications in C that, once compiled, have the efficiency and
speed of assembly language. Language extensions in the C51 Compiler give you full access
to all resources of the 8051.The C51 Compiler translates C source files into relocatable object
modules which contain full symbolic information for debugging with the Vision Debugger
or an in-circuit emulator. In addition to the object file, the compiler generates a listing file
which may optionally include symbol table and cross reference information.
Testing
An Actual-size, single sided PCB of the microcontroller-based digital alarm clock is shown in
fig and its component layout. Use IC base for microcontroller AT89S52. Also use a heat sink
with voltage regulator 7805(IC2) to avoid any damage to the circuit. Check continuity
between respective connections using a multimeter. checkInitially, byvarying present VR1,
set the contrast level for proper wrok line flowing robot. for looser connections or dry
soldering joining.
3.2 Programming
Using Keil's "C51" C Compiler (Vision IDE)
These simple instructions will walk you through the process of configuring Keil's Vision
IDE and C51 C Compiler with settings that produce code that can be download and run on
the 8051 development board .PJRC does not provide technical support for use of Keil's
17
software. We can--not provide any assistance should these instructions not apply to your
project's code or your Vision installation. However, these instructions were tested and
confirmed to work using "Hello World" example provided with Keil's C51 evaluation
software, version 7.06a.For further assistance with Keil's software, please refer to the manual
Keilsprovides, or contact Keil for technical support.
18
19
For larger projects, you may need to change these settings to allocate the memory usage
according to your project's requirements. Such memory allocation planning is beyond the
scope of this simple example.
20
21
Proteus:Proteus 8 is a best simulation software for various designs with microcontroller. It is mainly
popular because of availability of almost all microcontrollers in it. So it is a handy tool to test
programs and embedded designs for electronics hobbyist. You can simulate your
programming of microcontroller in Proteus 8 Simulation Software.After Simulating your
circuit in Proteus 8 Software you can directly make PCB design with it so it could be a all in
one package for students and hobbyists. So I think now you have a little bit idea about what is
proteussoftware.If you have clear idea about what is proteus 8 simulation software then you
can start proteus 8 simulations at this point of time. I am sure that you have your proteus 8. If
you dont have then download from above link. To learn Proteus 8 You can start with a series
of video tutorials or you can download a Proteus 8 Software Tutorial PDF. But main and
most important thing with this software is hands on experiments. the more you work the
better you become There is no shortcut.After making your Schematic you have to do PCB
designing so here is the video tutorial which describes Single layer auto routing. According to
me this much information is enough for what is proteus software. If you want to get more
information on what is proteus software then feel free to comment below with your
difficulties about what is proteus software. We will try our best to solve your difficulties
related to what is proteussoftware.We have a separate section on Proteus 8 Simulation
Software which covers all simulations and tutorials have a look at there.To know more and
get latest updates on Proteus 8 Software Subscribe to mail and we would be sending you all
the updates related to Proteus 8 software
22
23
Then after simulate the circuit burn the program in the micro controller we are show the this
circuit diagram
24
CHAPTER 4:
TESTING AND VALIDATION OF RESULT
First of all I want to check the power supply when power supply is awrok properly.
25
26
CHAPTER 5:
FUTURE SCOPE
Ina future we can modify sound activated massage display as sound operated massage display
a what we are saying that all are display on the lcd screen by advancing and connecting it
sound module and memory in the present circuit of project.This can be help in to produce
smart notice board at school, collage, railway station, hospital etc. whare the immediate
announcement are required after very small interval of time. By this if there is any
announcement than we display on the screen by asking againsd the condenser microphone
sensor which sense the voice signal and sound module converted that signal after different
procces it will display in the screen of lcd.
27
CHAPTER 6:
CONCLUSION
28
APPENDIX
PROGRAMING:
#include<pic.h>
#define port P1
#define dataport P2 //Data port for LCD
#define sec 1000
//CONTROL PINS
sbit rs = port^0;
sbit rw = port^1;
sbit e = port^2;
sbit sensor_input=P0^0;
void delay(unsigned int sec) //Time delay function
{
int i,j ;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
void lcd_cmd(unsigned char item) //Function to send command to LCD
{
dataport = item;
rs= 0;
rw=0;
e=1;
delay(1);
e=0;
return;
}
void lcd_data(unsigned char item) // Function to send data to LCD
{
dataport = item;
rs= 1;
rw=0;
e=1;
delay(1);
e=0;
return;
}
void lcd_data_string(unsigned char *str) //Function to send string to LCD
{
int i=0;
while(str[i]!='\0')
{
lcd_data(str[i]);
29
i++;
delay(10);
}
return;
}
void main()
{
unsigned char str1[] ="MAHARISHI MARKENDESHWAR ";
unsigned char str2[] ="UNIVERSITY";
sensor_input=1;
sensor_input=0;
lcd_cmd(0x38);
lcd_cmd(0x0e);
lcd_cmd(0x01);
while(1)
{
if(sensor_input==1)
{
lcd_cmd(0x82);
lcd_data_string(str1);
lcd_cmd(0xc6);
lcd_data_string(str2);
delay(sec);
lcd_cmd(0x01);
delay(100);
}
}
}
30
REFERENCES
[1]: http://en.wikipedia.org/wiki/
[2]: http://www.instructables.com/tag/type-id/category-technology/
[3]: http://electronics.howstuffworks.com/tech
[4]: https://www.youtube.com/results?search_query=push+button+telephone
[5]:https://www.askanswer.co.in/
31