Beruflich Dokumente
Kultur Dokumente
Submitted in partial fulfillment of the requirement for the award of the degree of
Bachelor of Technology
Rana Aditya Pratap Singh , Mr. Rana Brijendra Singh , Mr. Sumit Gupta ,
2007-11.
Date: Date:
External Examiner
List of Contents
Candidate Declaration
Candidate Declaration
I hereby declare that the work , which is prepared in the desertion of project titled
“GSM BASED DEVICE MONITRING & CONTROL” is submitted in partil
fulfillment of the requirement for the award of degree of Bachelor Of Technology
(Electronics & Communication Engineering), is an authenticated record of our
original work from 15th Jan to 10th May of 2009. This project report is an
authenticated work of ours and not has been submitted to any other university or
organization before.
Acknowledgement
We are extremely thankfull & greatfull to Mrs Rashmi Patto, Head of
Department of Electronics & Communication Engineering, CET-IILM-AHL.
She being our guide, has taken keen interest in the progress of our project work by
providing facilities & guidance. We are indebted to our guide for her inspiration,
support & kindness showered on us through the course.
We takes this opportunity to thank the teaching & non teaching staff of CET-
IILM-AHL, for their cvaluable help & support.
We would also thanks our parents & friends for their constant encouragement and
support.
1) Introduction
In this project we can control any electrical appliances through mobile or landline
from any part of the country. In this project one base unit is connected to the basic
landline or with the mobile phone in parallel with the land line phone , in the case
of landline but in the case of mobile phone we use handfree option logic.. When
we want to control any electrical appliances through outer phone then first we dial
the home number, bell is ringing and after few bell phone is automatic on and
switch on the base unit to operate. Now we press the eight digit excess code, one
by one. Password is compare with the digital circuit. if the excess code is ok then
unit give a ack in the form of tone pulse and switch on the base unit. Now again
we press the switch on/off code to on/off any electrical appliances. With the help
of this code unit is on and base unit give a acknowledge pulseeep sound for on and
off separately. Now first of all we check the position of any electrical appliances
press 2 then circuit produce a ack sound of on and off by beep sound. Now after
getting a sound of ack we press 0 for off and press 1 for the on the unit.
All this is happen by the memory connected with the pin no 10,11,12. when power
is off the all the content of the switch is transfer to the memory unit.
1. DTMF DECODER
2. MICROCONTROLLER
3. EXCESS CONTROL
4. MEMORY INTERFACE
DTMF DECODER.
binary outputs.
DTMF SIGNALLING.
rather than make/break pulse are used fro dialing, each dialed
tones ( one from low group for row and another from high group
pushing the key, these tone lies within the speech band of 300 to
frequencies. A valid dtmf signal is the sum of two tones, one from
a lower group ( 697-940 Hz) and the other from a a higher group
tone is sent as along as the key remains pressed. The dtmf signal
contains only one component from each of the high and low
dtmf signal may be separated with band pass filters into single
individually.
Other multi-frequency systems are used for internal signaling within the telephone
network.
The Touch-Tone system, using the telephone keypad, gradually replaced the use
of rotary dial starting in 1963[citation needed], and since then DTMF or Touch-Tone became
the industry standard for both cell phones and landline service
The 8051
The 8051 developed and launched in the early 80`s, is one of the most popular
micro controller in use today. It has a reasonably large amount of built in ROM
and RAM. In addition it has the ability to access external memory.
The generic term `8x51` is used to define the device. The value of x defining the
kind of ROM, i.e. x=0, indicates none, x=3, indicates mask ROM, x=7, indicates
EPROM and x=9 indicates EEPROM or Flash.
A note on ROM
The early 8051, namely the 8031 was designed without any ROM. This device
could run only with external memory connected to it. Subsequent developments
lead to the development of the PROM or the programmable ROM.
The next in line, was the EPROM or Erasable Programmable ROM. These devices
used ultraviolet light erasable memory cells. Thus a program could be loaded,
tested and erased using ultra violet rays. A new program could then be loaded
again.
An improved EPROM was the EEPROM or the electrically erasable PROM. This
does not require ultra violet rays, and memory can be cleared using circuits within
the chip itself.
Finally there is the FLASH, which is an improvement over the EEPROM. While
the terms EEPROM and flash are sometimes used interchangeably, the difference
lies in the fact that flash erases the complete memory at one stroke, and not act on
the individual cells. This results in reducing the time for erasure.
The positive side (+ve) of the battery is connected to one side of a switch. The
other side of the switch is connected to a bulb or LED (Light Emitting Diode). The
bulb is then connected to a resistor, and the other end of the resistor is connected to
the negative (-ve) side of the battery.
When the switch is closed or ‘switched on’ the bulb glows. When the switch is
open or ‘switched off’ the bulb goes off
If you are instructed to put the switch on and off every 30 seconds, how would you
do it? Obviously you would keep looking at your watch and every time the second
hand crosses 30 seconds you would keep turning the switch on and off.
Imagine if you had to do this action consistently for a full day. Do you think you
would be able to do it? Now if you had to do this for a month, a year??
No way, you would say!
The next step would be, then to make it automatic. This is where we use the
Microcontroller.But if the action has to take place every 30 seconds, how will the
microcontroller keep track of time?
Execution time
Look at the following instruction,
clr p1.0
This is an assembly language instruction. It means we are instructing the
microcontroller to put a value of ‘zero’ in bit zero of port one. This instruction is
equivalent to telling the microcontroller to switch on the bulb. The instruction then
to instruct the microcontroller to switch off the bulb is,
Setb p1.0
This instructs the microcontroller to put a value of ‘one’ in bit zero of port one.
Don’t worry about what bit zero and port one means. We shall learn it in more
detail as we proceed.
There are a set of well defined instructions, which are used while communicating
with the microcontroller. Each of these instructions requires a standard number of
cycles to execute. The cycle could be one or more in number.
How is this time then calculated?
The speed with which a microcontroller executes instructions is determined by
what is known as the crystal speed. A crystal is a component connected externally
to the microcontroller. The crystal has different values, and some of the used
values are 6MHZ, 10MHZ, and 11.059 MHz etc.
Thus a 10MHZ crystal would pulse at the rate of 10,000,000 times per second.
The time is calculated using the formula
No of cycles per second = Crystal frequency in HZ / 12.
For a 10MHZ crystal the number of cycles would be,
10,000,000/12=833333.33333 cycles.
This means that in one second, the microcontroller would execute 833333.33333
cycles. Therefore for one cycle, what would be the time? Try it out.
The instruction clr p1.0 would use one cycle to execute. Similarly, the instruction
setb p1.0 also uses one cycle.So go ahead and calculate what would be the number
of cycles required to be executed to get a time of 30 seconds!
Getting back to our bulb example, all we would need to do is to instruct the
microcontroller to carry out some instructions equivalent to a period of 30 seconds,
like counting from zero upwards, then switch on the bulb, carry out instructions
equivalent to 30 seconds and switch off the bulb.
Just put the whole thing in a loop, and you have a never ending on-off sequence.
Simple isn’t it? Let us now have a look at the features of the 8051 core, keeping
2. 4K on-chip ROM
Once you have written out the instructions for the microcontroller, where do you
put these instructionsObviously you would like these instructions to be safe, and
not get deleted or changed during execution. Hence you would load it into the
‘ROM’The size of the program you write is bound to vary depending on the
application, and the number of lines. The 8051 microcontroller gives you space to
load up to 4K of program size into the internal
ROM. 4K, that’s all? Well just wait. You would be surprised at the amount of stuff
you can load in this 4K of space.
Of course you could always extend the space by connecting to 64K of external
ROM if required.
4. 32 I/O lines. (Four- 8 bit ports, labeled P0, P1, P2, P3)
In our bulb example, we used the notation p1.0. This means bit zero of port one.
One bit controls one bulb.
Thus port one would have 8 bits. There are a total of four ports named p0, p1, p2,
p3, giving a total of 32 lines. These lines can be used both as input or output.
These timers can also be used as counters, so that they can count the number of
events, and on reaching the required count, can cause a branch in the main
program.
This represents the oscillator circuits within the microcontroller. Thus the hardware
is reduced to just simply connecting an external crystal, to achieve the required
pulsing rate.
O
U
T
P
O
U
T
P
C
A
V
0
2
C
A
V
0
2
CR
IA
T
CR
IA
T
0
1
E
0
1
E
6
4
M
O
M
C
O
1
2
0
3
C
1
2
0
3
1
2
0
7
4
E
0
7
4
E
N
P
1
k
2
4
1
3
+
8
5
0
4
2
c
7
5
6
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
0
7
4
E
E
3
6
2
2
3
7
2
5
2
8
2
1
2
4
2
3
2
6
3
2
1 1
1
3
0 10
2
0
4
C
1
5
9
8
0
1
9
1
8
1
9
5
3
.7
3
3
4
P
1
2
3
4
K
0
1
7
2
P
7
2
F
P
F
X
A
T
L
0
3
k
0
7
4
.1
+
1
3
1
7
1
6
1
4
1
2
1
5
0
8
7
1
5
0
1
6 9
8
1
5
4
5
1
2
4
7
8
0
1
X
A
T
0
1
L
k
7
2
P
7
2
F
P
F
M
2
1
h
z
0
1
k
.1
IO
IO
D
D
E
E
-0
6
2
k
The SCL input is used to positive edge clock data into eachEEPROM
device and negative edge clock data out of each device.When we want to
enter a data in the memory then we provide a low to high pulse and when
we get a data from the memory then we provide a high to low signal.
SERIAL DATA (SDA):
The SDA pin is bi-directional for serial data transfer. This pin is
open-drain driven
opencollector
devices.
The A2, A1 and A0 pins are device address inputs that are hard wired for
the AT24C01A and the AT24C02. As many aseight 1K/2K devices may be
inputs for hard wire addressing and a total of four 4Kdevices may be
AT24C08 only uses the A2 input for hardwire addressing and a total of two
8K devices may be addressed on a single bus system. The A0 and A1 pins
are no connects.
The SDA pin is normally pulled high with an external device. Data on the
SDA pin may change only during SCL low time periods (refer to
must precede any other command (refer to Start and Stop Definition timing
diagram).
STOP CONDITION:
read sequence, the stop command will place the EEPROM in a standby
ACKNOWLEDGE:
All addresses and data words are serially transmitted to and from the
has received each word. This happens during the ninth clock cycle.
STANDBY MODE:
enabled: (a) upon power-up and (b) after the receipt of the STOP bit and
Device Addressing The 1K, 2K, 4K, 8K and 16K EEPROM devices all
the chip for a read or write operation (refer to Figure1).The device address
word consists of a mandatory one, zero sequence for the first four most
next 3 bits are the A2, A1 and A0 device address bits for the 1K/2K
input pins.The 4K EEPROM only uses the A2 and A1 device address bits
with the third bit being a memory page address bit. The two device address
bits must compare to their corresponding hard-wired input pins. The A0 pin
the next 2 bits being for memory page addressing. The A2 bit must
compare to its corresponding hard-wired input pin. The A1 and A0 pins are
no connect.The 16K does not use any device address bits but instead the 3
bits are used for memory page addressing. These page addressing bits on
the 4K, 8K and 16K devices should be considered the most significant bits
this bit is high and a write operation is initiated if this bit is low.Upon a
A write operation requires an 8-bit data word address following the device
EEPROM will again respond with a zero and then clock in the first 8-bit
data word. Following receipt of the 8-bit data word, the EEPROM will output
terminate the write sequence with a stop condition.At this time the
memory. All inputs are disabled during this write cycle and the EEPROM
will not respond until the write is complete (refer to Figure 2).
PAGE WRITE:
The 1K/2K EEPROM is capable of an 8-byte page write, and the 4K, 8K
does not send a stop condition after the first data word is clocked in.
Instead, after the EEPROM acknowledges receipt of the first data word, the
more data words. The EEPROM will respond with a zero after each data
word received. The microcontroller must terminate the page write sequence
with a stop condition The data word address lower three (1K/2K) or four
(4K, 8K, 16K) bits are internally incremented following the receipt of each
data word. The higher data word address bits are not incremented,retaining
generated, reaches the page boundary, the following byte is placed at the
beginning of the same page. If more than eight (1K/2K) or sixteen (4K, 8K,
16K) data words are transmitted to the EEPROM, the data word address
ACKNOWLEDGE POLLING:
Once the internally timed write cycle has started and the EEPROM inputs
3256D–SEEPR–11/03
ing a start condition followed by the device address word. The read/write bit
has completed will the EEPROM respond with a zero allowing the read or
Read Operations Read operations are initiated the same way as write
operations with the exception that the read/write select bit in the device
address word is set to one. There are three read operations: current
The internal data word address counter maintains the last address
accessed during the last read or write operation, incremented by one. This
maintained. Theaddress “roll over” during read is from the last byte of the
last memory page to the first byte of the first page. The address “roll over”
during write is from the last byte of the current page to the first byte of the
same page.Once the device address with the read/write select bit set to
data word is serially clocked out.The microcontroller does not respond with
RANDOM READ:
A random read requires a “dummy” byte write sequence to load in the data
word address. Once the device address word and data word address are
address read by sending a device address with the read/write select bit
high. The EEPROM acknowledges the device address and serially clocks
out the data word. The microcontroller does not respond with a zero but
SEQUENTIAL READ:
will continue to increment the data word address and serially clock out
sequential data words. When the memory address limit is reached, the data
word address will “roll over” and the sequential read will continue. The
10 AT24C01A/02/04/08/16
The light is proportional to the signal, so the signal is thus transferred to the
phototransistor. Optocouplers may also comes in few module such as the
SCR, photodiodes, TRIAC of other semiconductor switch as an output, and
incandescent lamps, neon bulbs or other light source. I also came across
two led and two phototransistors in a package in the power supply of a
NEC printer. In this article i will explain only the most commonly used opto
coupler which is the combination of LED and phototransistor. See the
optocoupler ic schematic diagram below:
EPROM
To retrieve data from the EPROM, the address represented by the values
at the address pins of the EPROM is decoded and used to connect one
word (usually an 8-bit byte) of storage to the output buffer amplifiers. Each
bit of the word is a 1 or 0, depending on the storage transistor being
switched on or off, conducting or non-conducting.
The switching state of the field-effect transistor is controlled by the voltage
on the control gate of the transistor. Presence of a voltage on this gate
creates a conductive channel in the transistor, switching it on. In effect, the
stored charge on the floating gate allows the threshold voltage of the
transistor to be programmed.
Storing data in the memory requires selecting a given address and applying
a higher voltage to the transistors. This creates an avalanche discharge of
electrons, which have enough energy to pass through the insulating oxide
layer and accumulate on the gate electrode. When the high voltage is
removed, the electrons are trapped on the electrode. Because of the high
insulation value of the silicon oxide surrounding the gate, the stored charge
cannot readily leak away and the data can be retained for decades.
Unlike EEPROMs, the programming process is not electrically reversible.
To erase the data stored in the array of transistors, ultraviolet light is
directed onto the die. Photons of the UV light create ionization within the
silicon oxide, which allow the stored charge on the floating gate to
dissipate. Since the whole memory array is exposed, all the memory is
erased at the same time. The process takes several minutes for UV lamps
of convenient sizes; sunlight would erase a chip in weeks, and
indoorfluorescent lighting over several years. Generally the EPROMs must
be removed from equipment to be erased, since it's not usually practical to
build in a UV lamp to erase parts in-circuit.
Application
For large volumes of parts (thousands of pieces or more), mask-
programmed ROMs are the lowest cost devices to produce. However,
these require many weeks lead time to make, since the artwork for an IC
mask layer must be altered to store data on the ROMs. Initially, it was
thought that the EPROM would be too expensive for mass production use
and that it would be confined to development only. It was soon found that
small-volume production was economical with EPROM parts, particularly
when the advantage of rapid upgrades of firmware was considered.
Some microcontrollers, from before the era of EEPROMs and flash
memory, use an on-chip EPROM to store their program. Such
microcontrollers include some versions of the Intel 8048, the Freescale
68HC11, and the "C" versions of the PIC microcontroller. Like EPROM
chips, such microcontrollers came in windowed (expensive) versions that
were useful for debugging and program development. The same chip came
in (somewhat cheaper) opaque OTP packages for production. Leaving the
die of such a chip exposed to light can also change behavior in unexpected
ways when moving from a windowed part used for development to a non-
windowed part for production.
TRANSFORMER
White light
There are two primary ways of producing high intensity white-light using
LEDs. One is to use individual LEDs that emit three primary colors red,
green, and blue and then mix all the colors to form white light. The other is
to use a phosphor material to convert monochromatic light from a blue or
UV LED to broad-spectrum white light, much in the same way a fluorescent
light bulb works.Due to metamerism, it is possible to have quite different
spectra that appear white.
Types
Advantages
Efficiency: LEDs emit more light per watt than incandescent light
bulbs. Their efficiency is not affected by shape and size, unlike
fluorescent light bulbs or tubes.
Color: LEDs can emit light of an intended color without using any color
filters as traditional lighting methods need. This is more efficient and can
lower initial costs.
Size: LEDs can be very small (smaller than 2 mm2) and are easily
populated onto printed circuit boards.
On/Off time: LEDs light up very quickly. A typical red indicator LED will
achieve full brightness in under a microsecond. LEDs used in
communications devices can have even faster response times.
Cycling: LEDs are ideal for uses subject to frequent on-off cycling,
unlike fluorescent lamps that fail faster when cycled often, or HID
lamps that require a long time before restarting.
Dimming: LEDs can very easily be dimmed either by pulse-width
modulation or lowering the forward current.
Cool light: In contrast to most light sources, LEDs radiate very little heat
in the form of IR that can cause damage to sensitive objects or fabrics.
Wasted energy is dispersed as heat through the base of the LED.
Slow failure: LEDs mostly fail by dimming over time, rather than the
abrupt failure of incandescent bulbs.
Lifetime: LEDs can have a relatively long useful life. One report
estimates 35,000 to 50,000 hours of useful life, though time to complete
failure may be longer. Fluorescent tubes typically are rated at about
10,000 to 15,000 hours, depending partly on the conditions of use, and
incandescent light bulbs at 1,000–2,000 hours.
Shock resistance: LEDs, being solid state components, are difficult to
damage with external shock, unlike fluorescent and incandescent bulbs
which are fragile.
Focus: The solid package of the LED can be designed to focus its light.
Incandescent and fluorescent sources often require an external reflector
to collect light and direct it in a usable manner.
Disadvantages
High initial price: LEDs are currently more expensive, price per lumen,
on an initial capital cost basis, than most conventional lighting
technologies. The additional expense partially stems from the relatively
low lumen output and the drive circuitry and power supplies needed.
Temperature dependence: LED performance largely depends on the
ambient temperature of the operating environment. Over-driving an LED
in high ambient temperatures may result in overheating the LED
package, eventually leading to device failure. Adequate heat sinking is
needed to maintain long life. This is especially important in automotive,
medical, and military uses where devices must operate over a wide
range of temperatures, and need low failure rates.
Voltage sensitivity: LEDs must be supplied with the voltage above the
threshold and a current below the rating. This can involve series
resistors or current-regulated power supplies.
Light quality: Most cool-white LEDs have spectra that differ significantly
from a black body radiator like the sun or an incandescent light. The
spike at 460 nm and dip at 500 nm can cause the color of objects to
be perceived differently under cool-white LED illumination than sunlight
or incandescent sources, due to metamerism,[91] red surfaces being
rendered particularly badly by typical phosphor based cool-white LEDs.
However, the color rendering properties of common fluorescent lamps
are often inferior to what is now available in state-of-art white LEDs.
Area light source: LEDs do not approximate a “point source” of light,
but rather a lambertian distribution. So LEDs are difficult to apply to uses
needing a spherical light field. LEDs cannot provide divergence below a
few degrees. In contrast, lasers can emit beams with divergences of 0.2
degrees or less.[92]
Blue hazard: There is a concern that blue LEDs and cool-white
LEDs are now capable of exceeding safe limits of the so-called blue-light
hazard as defined in eye safety specifications such as ANSI/IESNA RP-
27.1–05: Recommended Practice for Photobiological Safety for Lamp
and Lamp Systems.[93][94]
Electrical Polarity: Unlike incandescent light bulbs, which illuminate
regardless of the electrical polarity, LEDs will only light with correct
electrical polarity.
Blue pollution: Because cool-white LEDs (i.e., LEDs with high color
temperature) emit proportionally more blue light than conventional
outdoor light sources such as high-pressure sodium vapor lamps, the
strong wavelength dependence of Rayleigh scattering means that cool-
white LEDs can cause more light pollution than other light sources.
The International Dark-Sky Associationdiscourages using white light
sources with correlated color temperature above 3,000 K.
Droop: The efficiency of LEDs tends to decrease as one
increases current.
Application
Indicators and signs
The low energy consumption, low maintenance and small size of modern
LEDs has led to uses as status indicators and displays on a variety of
equipment and installations. Large-area LED displays are used as stadium
displays and as dynamic decorative displays. Thin, lightweight message
displays are used at airports and railway stations, and as destination
displays for trains, buses, trams, and ferries.
One-color light is well suited for traffic lights and signals, exit
signs, emergency vehicle lighting, ships' navigation lights
or lanterns (chromacity and luminance standards being set under the
Convention on the International Regulations for Preventing Collisions at
Sea 1972, Annex I and the CIE) and LED-based Christmas lights. In cold
climates, LED traffic lights may remain snow covered.[101] Red or yellow
LEDs are used in indicator and alphanumeric displays in environments
where night vision must be retained: aircraft cockpits, submarine and ship
bridges, astronomy observatories, and in the field, e.g. night time animal
watching and military field use.
Because of their long life and fast switching times, LEDs have been used in
brake lights for cars high-mounted brake lights, trucks, and buses, and in
turn signals for some time, but many vehicles now use LEDs for their rear
light clusters. The use in brakes improves safety, due to a great reduction
in the time needed to light fully, or faster rise time, up to 0.5 second faster
than an incandescent bulb. This gives drivers behind more time to react. It
is reported that at normal highway speeds, this equals one car length
equivalent in increased time to react. In a dual intensity circuit (i.e., rear
markers and brakes) if the LEDs are not pulsed at a fast enough frequency,
they can create a phantom array, where ghost images of the LED will
appear if the eyes quickly scan across the array. White LED headlamps are
starting to be used. Using LEDs has styling advantages because LEDs can
form much thinner lights than incandescent lamps with parabolic reflectors.
Due to the relative cheapness of low output LEDs, they are also used in
many temporary uses such as glowsticks, throwies, and the
photonic textileLumalive. Artists have also used LEDs for LED art.
Weather/all-hazards radio receivers with Specific Area Message
Encoding (SAME) have three LEDs: red for warnings, orange for watches,
and yellow for advisories & statements whenever issued.
Lighting
With the development of high efficiency and high power LEDs it has
become possible to use LEDs in lighting and illumination.
Replacement light bulbs have been made, as well as dedicated fixtures
and LED lamps. LEDs are used as street lights and in other architectural
lighting where color changing is used. The mechanical robustness and long
lifetime is used in automotive lighting on cars, motorcycles and on bicycle
lights.
LED street lights are employed on poles and in parking garages. In 2007,
the Italian village Torraca was the first place to convert its entire
illumination system to LEDs.[102]
LEDs are used in aviation lighting. Airbus has used LED lighting in
their Airbus A320 Enhanced since 2007, and Boeing plans its use in
the 787. LEDs are also being used now in airport and heliport lighting. LED
airport fixtures currently include medium-intensity runway lights, runway
centerline lights, taxiway centerline & edge lights, guidance signs and
obstruction lighting.
LEDs are also suitable for backlighting for LCD televisions and
lightweight laptop displays and light source for DLP projectors (See LED
TV). RGB LEDs raise the color gamut by as much as 45%. Screens for TV
and computer displays can be made thinner using LEDs for backlighting.
LEDs are used increasingly in aquarium lights. Particularly for reef
aquariums, LED lights provide an efficient light source with less heat output
to help maintain optimal aquarium temperatures. LED-based aquarium
fixtures also have the advantage of being manually adjustable to emit a
specific color-spectrum for ideal coloration of corals, fish, and invertebrates
while optimizing photosynthetically active radiation (PAR) which raises
growth and sustainability of photosynthetic life such as corals, anemones,
clams, and macroalgae. These fixtures can be electronically programmed
to simulate various lighting conditions throughout the day, reflecting phases
of the sun and moon for a dynamic reef experience. LED fixtures typically
cost up to five times as much as similarly rated fluorescent or high-intensity
discharge lighting designed for reef aquariums and are not as high output
to date.
The lack of IR/heat radiation makes LEDs ideal for stage lights using banks
of RGB LEDs that can easily change color and decrease heating from
traditional stage lighting, as well as medical lighting where IR-radiation can
be harmful. In energy conservation, LED's lower heat output also means air
conditioning(cooling) systems have less heat to dispose of, reducing
carbon emmissions.
LEDs are small, durable and need little power, so they are used in hand
held devices such as flashlights. LED strobe lights or camera
flashes operate at a safe, low voltage, instead of the 250+ volts commonly
found in xenon flashlamp-based lighting. This is especially useful in
cameras on mobile phones, where space is at a premium and bulky
voltage-raising circuitry is undesirable.
LEDs are used for infrared illumination in night vision uses
including security cameras. A ring of LEDs around a video camera, aimed
forward into aretroreflective background, allows chroma keying in video
productions.
LED’s are now used commonly in all market areas from commercial to
home use (standard lighting and AV installations, stage and theatrical,
architectural and public spaces, in fact anywhere and everywhere that
artificial light is used.
In many countries incandescent lighting for homes and offices is no longer
available and building regulations insist on new premises being fitted out at
day one with LED fixtures and fittings.
Increasingly the adaptability of colour LED’s are finding uses in medical
and educational applications such as mood enhancement and new
technologies, such as AmBX, for the control of colour LED’s have been
developed to exploit LED versatility. Nasa has even sponsored research for
the use of LED's to promote health for astronauts.
CIRCUIT WORKING
IN this project our first part is dtmf decoder. DTMF ic receive the dtmf pulse and
then converted into binary coded decimal . Pin no 18 of the the ic is connected to
positive supply ,. In this circuit we use 5 volt regulated power supply for the
smooth working.
Our next part of the circuit is ic 89c51. 89c51 is 40 pin ic. Pin no
bit wide.
We use port 2 as a bcd input. Output from the 8870 is connected
to the p2 – 4 pins.
Pin 11 p2.0 21
Pin 12 p2.1 22
Pin 13 p2.2 23
Pin 14 p2.3 24
port p1
P1.0 pin no 39
P1.1 pin no 38
P1.2 pin no 37
P1.3 pin no 36
P1.4 pin no 35
P1.5 pin no 34
P1.6 pin no 33
P1.7 pin no 32
P3.0 pin no 10
P3.1 pin no 11
All the output led is connected to this output. Note that 0 logic is
pin.
uses.
through 100 ohm resistor.At the output of the triac we control any
220 load. In this project its our choice, how many optocoupler we
Now when ic receive any pulse then output led is on and then
load is on. Again we press the same code then led is off and load
is also off.
the microcontroller.
circuit. But after few bells when phone is on and unit require a
code of 9 numbers. When we press a proper code then only
of the ic 8870. When dtmf decoder decode the signal at that time
reset mode then its start from the zero point.. O means first
then counter shifts its output from pin no 3 to nest output not 1 ,
pin no 2.
this output is available on the output pin, with the help of this
When call in coming then due to short pulse from the bell
optocoupler is on/off for the frequency of the bell. But when
output is connected to ic 555 then ic555 is switch on for a time
period. And for every pulse timer is on for a second and output
from timer is connected to counter circuit. We use forth output of
the counter so that after receiving forth pulse counter is on and
switch on the relay circuit and connect the main circuit to the
telephone instrument.
PROGRAM CODE
INTO THE HEX CODE WITH THE HELP OFASSEMBLER ITSELF.In this
program we receive the data from the dtmf decoder i.c and then
mov p3,#0ffh
mov p1,#0ffh
mov p2,#0ffh
mov p0,#0ffhfirst of all we get a data on one port and then this is
jmp go_back
clr buzzer call delay setb buzzer call delay ret delay: