Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ABSTRACT
The most important thing he forgets to switch off the room lights wherever not required. With
this, even the power will be wasted up to some extent. This project gives the best solution for
reducing electrical power save. Also the manual operation is completely eliminated. The home
appliances can be switched on/off using IR without actually going near the switch boards or
regulators. The remote used in this project is IR remote.
The loads like lights, motors, heaters, power controlling system and also current through
the loads can be controlled in this project. We can control all loads at a time from one place
(control room) without connecting any physical wire between loads and control room.
IR remote acts as the transmitter in this project. When a button is pressed in the remote,
the signal will be passed and received by the IR receiver TSOP Receiver. This signal is sent to the
microcontroller which decodes the signal and performs the corresponding action in accordance
with the button pressed in the remote. For example, if number 1 is pressed in the remote, the load
1 will be switched on/off according to the user requirement. The other tasks will be performed in
the similar fashion using IR.
This project uses regulated 5V, 500mA power supply. 7805 three terminal voltage
regulator is used for voltage regulation. Bridge type full wave rectifier is used to rectify the ac
output of secondary of 230/12V step down transformer.
We are much thankful to our Guide Sri N.HARIKRISHNA Lecturer in Electrical and
Electronics Engineering, Govt. Polytechnic, Kamalapuram for his valuable guidance and
suggestion in analyzing and testing throughout the period, till the end of project work completion.
We wish to express our thanks to Sri. G.V.RAMANAIAH, HEEES for his encouragement to
complete the project work.
Finally, we would like to express our thanks to faculty members of E.E.E department, friends and
lab technicians one and all that had helped to complete the project successfully.
As a gesture of respect for our family members and for the support we received from them we are
dedicating this work to them.
-Project associates
CONCLUSIONS
BIBLOGRAPHY
230/12V
DIODES
IN4007
CAPACITORS
1000uf/25V
0.1uf,10V
MICRO CONTROLLER
89S52
87C51
RESISTORS
1K
10K
100
TRANSISTORS
BC547
RELAYS
5V
RC5REMOTE CONTROL _
38Hz
DC MOTER
12V
DC FAN
12V
BULBS
60W,230V
SOCKET
5A,230V
BLOCKDIAGAM:
LOAD1
LOAD2
IR
RECEIVER
LOAD3
LOAD4
8
9
S
5
2
Crystal
Oscillator
Reset
Circuit
USB REMOTE
AS IR
TRANSMITTER
CHAPTER 2
MICROCONTROLLER, IR RECEIVER, REGULATOR AND TIMERS
2.1 MICRO CONTROLLER
Microprocessors and microcontrollers are widely used in embedded systems products.
Microcontroller is a programmable device. A microcontroller has a CPU in addition to a fixed
amount of RAM, ROM, I/O ports and a timer embedded all on a single chip. The fixed amount of
on-chip ROM, RAM and number of I/O ports in microcontrollers makes them ideal for many
applications in which cost and space are critical.
The Intel 89S52 is a Harvard architecture, single chip microcontroller (C)
which was developed by Intel in 1980 for use in embedded systems. It was popular in the 1980s
and early 1990s, but today it has largely been superseded by a vast range of enhanced devices
with 8051-compatible processor cores that are manufactured by more than 20 independent
manufacturers including Atmen, Inline Technologies and Maxim Integrated Products.
89S52 is an 8-bit processor, meaning that the CPU can work on only 8 bits of data at a
time. Data larger than 8 bits has to be broken into 8-bit pieces to be processed by the CPU. 8051
is available in different memory types such as UV-EPROM, Flash and NV-RAM.
The microcontroller used in this project is AT89C51. Atmen Corporation introduced this 89S52
microcontroller. This microcontroller belongs to 89S52 family. This microcontroller had 128
bytes of RAM, 4K bytes of on-chip ROM, two timers, one serial port and four ports (each 8-bits
wide) all on a single chip. AT89S52 is Flash type 89S52
The present project is implemented on Kiel Vision. In order to program the device, Preload tool
has been used to burn the program onto the microcontroller.
The features, pin description of the microcontroller and the software tools used are discussed in
the following sections.
F
GOVT POLYTECHNIC KAMALAPURAM.
Page 11
inverting amplifier that can be configured for use as an on-chip oscillator, as shown in Figure 11.
Either a quartz crystal or ceramic resonator may be used. To drive the device from an external
clock source, XTAL2 should be left unconnected while XTAL1 is driven, as shown in the below
figure. There are no requirements on the duty cycle of the external clock signal, since the input to
the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum
voltage high and low time specifications must be observed.
Port 0 is also designated as AD0-AD7, allowing it to be used for both address and
data. ALE indicates if P0 has address or data. When ALE=0, it provides data D0-D7, but when
ALE=1, it has address A0-A7. Therefore, ALE is used for demultiplexing address and data with
the help of an internal latch.
When there is no external memory connection, the pins of P0 must be connected to a 10K-ohm
pull-up resistor. This is due to the fact that P0 is an open drain. With external pull-up resistors
connected to P0, it can be used as a simple I/O, just like P1 and P2. But the ports P1, P2 and P3
do not need any pull-up resistors since they already have pull-up resistors internally. Upon reset,
ports P1, P2 and P3 are configured as input ports.
GOVT POLYTECHNIC KAMALAPURAM.
Page 13
I/O. With external memory connections, port 2 must be used along with P0 to provide the 16-bit
address for the external memory. Port 2 is designated as A8-A15 indicating its dual function.
While P0 provides the lower 8 bits via A0-A7, it is the job of P2 to provide bits A8-A15 of the
address.
Port 3:
Port 3 occupies a total of 8 pins, pins 10 through 17. It can be used as input or output.
P3 does not need any pull-up resistors, the same as port 1 and port 2. Port 3 has an additional
function of providing some extremely important signals such as interrupts.
To
Type
fo
TSOP1730
30HKZ
TSOP1733
33KHZ
TSOP1736
36KHZ
TSOP1737
36.7KHZ
TSOP1738
38KHZ
TSOP1740
40KHZ
TSOP1756
56KHZ
Description:The TSOP17.. series are miniaturized receivers for infrared remote control systems. PIN diode
and preamplifier are assembled on lead frame, the epoxy package is designed as IR filter. The
demodulated output signal can directly be decoded by a microprocessor. TSOP17.. is the standard
IR remote control receiver series, supporting all major transmission codes. 94.
Features: Photo detector and preamplifier in one package
Internal filter for PCM frequency
Improved shielding against electrical field
disturbance
TTL and CMOS compatibility
Output active low
GOVT POLYTECHNIC KAMALAPURAM.
Page 17
BLOCK DIAGRAM:-
INPUT
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
CONTROL
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
CIRCUIT
G
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AG C
BAND
DEMODUL
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
PASS
ATOR
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBB
3.3 555 TIMERS
GENERAL PURPOSE SINGLE BIPOLAR TIMERS:-
DESCRIPTION:The NE555 monolithic timing circuit is a highly stable controller capable of producing
accurate time delays or oscillation. In the time delay mode of operation, the time is
precisely controlled by one external resistor and capacitor. For a stable operation as an
GOVT POLYTECHNIC KAMALAPURAM.
Page 18
CHAPTER 3
TRANSFORMERS, DIODES, CAPACITORS AND RESISTORS
3.1 TRANSFORMER
Introduction:
Electrical energy is generated at place where it is easier to get water head and coal for
coal hydro and thermal power stations respectively. The energy is to be transmitted at
considerable distance for use in town, cites and village located at distant places. Transmission of
electrical energy at high voltages is economical, therefore, some means are required for stepping
up the voltages at generating stations and stepping down the same at the place where it is to be
used. Electric machine used for this purpose is known as TRANSFORMER.
Definition:
A transformer is a static A C machine which transformer the electric power fron one electric
circuit to another electric circuit with same frequency. It works on MUTUAL INDUDTION
principle.
Construction:
A transformer essentially consists of magnetic circuits linked with two distinct windings
primary and secondary. The two windings are insulated from each other.
In all types of transformer the core is constructed steel lamination. The steel used is of high
silicon content, sometimes heat treated to produce a high permeability and low hysteresis loss.
The eddy current loss is minimized by laminating the core, the lamination being insulated from
each other by a light coat of core plate varnish or by oxide layer on the surface. The average
thickness of laminations of 0.35 mm for a frequency of 50Hz and 0.5mm for frequency of 25Hz.
The figure shows A P-N junction which is just formed. Its sis single crystal with its left
half P-type and right half N-type, p-region has holes and relatively charged impunity ions. The Nregion has free electrons and positively charged impurity ions.
Holes from the P-region diffuse in to the N-region. They then combine with the
free electrons in the N-region, free electrons from the, N-region diffuse in to the P-region. The
diffusion of holes and free electrons across the junction occurs for a very short time. After a new
recombinations of holes and electrons in the immediate neighborhoods of the junction, a
restraining force is setup automatically. This force is called barrier. This barrier (or) depletion
N
(negative charges dominate)
Reverse Bias:With the reverse bias to PN junction the following points to be noted
1.with the increase in external voltage the barrier potential increase
2. The junction offers very high resistance, almost infinite resistance to the current flow
3. very little amount if current flows which can be treated as o current for all practical purpose
before breakdown occurs.
PN-JUNCTIONREVERSE BIAS:-
Functions of capacitors: It stores the dielectric charge when the source is connected to it.
It opposes changes in voltage.
It blocks direct current and allows alternating current.
Applications:These capacitors are used for direct voltage working applicator.
In electrical engineering field improve power factor.
In electrical field bypass, filter coupling etc.
3.4. RESISTORS
Introduction:Resistors are one of the basic electronic found in almost all electronic circuits. The
Function of resistors is to limit the amount of current (or) divide the voltage in a circuit. Resistors
exhibit the property of resistance.
It shows constant relation between the voltage across it to the current through it. The
value range form ohms to mega ohms.
Basically resistance is classified into three main groups as under.
Low Resistance 0<R<100 k Ohms.
Medium Resistance 0<R<100 K Ohms.
High Resistance 100K<R<Infinity.
Resistance:Resistance may define as the opposition to the flow of current in the substance.
The unit of resistance(R) is Ohm().
Features of resistors:These are two terminal, passive bilateral element.
The effect of resistance is same for both A.C and D.C.
Classification of resistors:GOVT POLYTECHNIC KAMALAPURAM.
Page 29
C H APT E R 4
TRANSISTORS RELAYS AND LCD
4.1 TRANSISTERS
A Transistor consists of two PN-Junction formed by sandwiching either P-type or N-type
semiconductor between a pair of opposite types.
Hence there are two types of transistors possible, namely.
(i) n-p-n transistor
A transistor has two PN junctions. As discussed later on junction is forward biased and the other
is reverse biased. The forward biased junction has a high resistance path. The weak signal is
introduced in the low resistance circuit and output is taken from the high resistance circuit
therefore a transistor transfers a signal from a low resistance to high resistance, the perforce,
trans means the signal transfer property of the device while istor classifies it as a solid element
in the same general family with resistors.
GOVT POLYTECHNIC KAMALAPURAM.
Page 32
P
Forward bias
Reverse bias
P
Forward bias
Reverse bia
The base is much thinner then the emitter while collector is wider then both however for sake of
convenience, it is customary to show emitter and collector t90be of equal sizes.
The transistor has tow PN-junction i.e.it is like tow diodes .The junction between emitter and
base may be called emitter base diode or simply emitter code. The junction between base and
collector may be called collector base diode or simply collector diode. The emitter diode always
forward biased where as collector diode is reverse biased.
Transistor action:The action of transistor (NPN) is explained from the following figure.
n++
n+
electrons
R
holes
recombination
IN the NPN transistor emitter base Junction is forward biased and collector base junction is
reverse biased. The forward bias causes the electrons in the N-type emitter to flow towards the
base. This constitutes the emitter current
tend to combine with holes. As the base is lightly doped and very thin, therefore, only few
electrons (5%) combined with the holes to constitute base current
the electrons cross-over into the collector region to constitute collector current
. In this way,
almost the entire emitter current flows in the collector circuit. It is clear that sum of collector and
base currents.
i.e.
Transistors symbol:C
The Conventional current flows into the emitter are indicated by the direction of arrows.
Transistor configurations:When a transistor is to be connected in a circuit, we require 4-terminals, 2-for input and 2for output. The difficult is over-come by making one terminal of the transistor common to both
input and output terminals.
Accordingly, transistor can be connected in a circuit in the following three ways.
1. Common Base (CB) connection
2. Common Emitter (CF) connection
3. Common Collector (CC) connection
Common Base Connection:IE
IC
Signal
VEB (or)VEE
VCB(or)VCC
In this circuits arrangement, input is applied between emitter and base and output is taken from
collector and base, Here, base of transistor is common to both input and output circuits and hence
to name common base connection. The above figure show. The common base NPN transistor
circuit.
IB
IC
VBE(or)VBB
VCE(or)VCC
In this circuit arrangement, input is applied between base and emitter and output is taken from the
collector and emitter. Here emitter of transistor is common to both input and output circuits and
hence the name common emitter connection. The above figure show common emitter NPN
transistor circuit.
Common collector connection:IE
IB
Ic
VEC(or)VEE
In this circuit arrangement, input is applied between base and collector while output is taken
between. The emitter and collector. Here collector of the transistor is common to both input and
TRANSISTOR AS A SWITCH:The figure shows the transistor switching circuit as driven by a voltage step. When
the input voltage is zero, the transistor is cut-off. In this case is appears like open switch, with no
current through the collector resistor, the output voltage equals +15V. When the v oltage is +5V,
the base current,
Visualize the transistor
Shorted between the collector and emitter. Then the output voltage ideally drops to zero and saturation
current,
hard saturation in almost any small single transistor this means that the transistor acts like a closed switch and
is approximately zero.
TRANSISTOR AS A AMPLIFIER:A transistor raises the strength of a weak signal and thus acts as an amplifier. The weak signal is applied
between emitter-base junction and output is taken across the load RC connected in the collector circuits in
order to achieve faithful amplification. The input circuit should always remain forward biased to do so a dc
voltage VEE is applied in the ill put circuit in addition to the signal.
As the input circuit has low resistance, therefore, a small change in signal voltage causes an appreciable
change in emitter current. The causes, almost the same change in collector current due to transistor actions. The
collector current flowing through high load resistance
applied in the input circuit appears in the amplified form in the circuit. It is in this way that a transistor acts as
an Amplifier.
CONCLUSION
The most important thing he forgets to switch off the room lights wherever not
required. With this, even the power will be wasted up to some extent. This project gives the
best solution for electrical power save.Also the manual operation is completely eliminated.
The home appliances can be switched on/off using IR without actually going near the switch
boards or regulators. The remote used in this project is IR remote.
The loads like lights, motors, heaters, power controlling system and also
current through the loads can be controlled in this project. We can control all loads at a
time from one place (control room) without connecting any physical wire between loads
and control room.
FUTURE SCOPE:The design with same modification RFD can also used control all load at a time from one
please to another without connecting any physical wire between loads and control room.
BIBLOGRAPHY
Electrical power by
Electrical machines by
: Tokhem TMH
ELECTRONIC COMPONENTS.COM