Professional Documents
Culture Documents
SUPERVISOR: MR.PETER
Name : MR.PETER
Signature : ……………………………….
Date : ……………………………….
Acknowledgement.
I would like to acknowledge my project supervisor Mr.Peter for directing me all through the success of the project.
I also thank my parents for financial support they gave me all through. Lastly I thank the almighty God for giving me
good health and strength during this period.
Dedication
I dedicate this project to my beloved parents, my uncles and all those who have financially and morally supported me
to complete this project.
TABLE OF CONTENT.
Declaration.......................................................................................................................................2
Acknowledgement...........................................................................................................................3
Dedication........................................................................................................................................4
CHAPTER ONE..............................................................................................................................7
1.1 INTRODUCTION................................................................................................................7
1.2 AIM.......................................................................................................................................8
1.3 OBJECTIVES.......................................................................................................................9
1.4 BLOCK DIAGRAM DESCRIPTION.....................................................................................10
Power supply......................................................................................................................10
Temperature sensor.............................................................................................................10
1.4 Micro-controller..............................................................................................................11
CHAPTER TWO.......................................................................................................................13
2.1 LITERATURE REVIEW AND ANALYSIS......................................................................13
INTRODUCTION.....................................................................................................................13
2.2 POWER SUPPLY...........................................................................................................14
2.2.1 TRANSFORMATION................................................................................................15
2.2.2 RECTIFICATION.......................................................................................................16
a) Half wave rectification.......................................................................................................16
b) Center tapped full wave rectification..................................................................................17
Positive Half cycle..........................................................................................................18
Negative Half cycle.........................................................................................................18
c) Full wave Bridge Rectification...........................................................................................19
During the First Half Cycle.............................................................................................20
During the Second Half Cycle........................................................................................21
d) Controlled Rectifiers...........................................................................................................22
2.2.3 SMOOTHING.................................................................................................................22
a) Capacitor smoothening basics.........................................................................................23
b) Smoothing Capacitor Value............................................................................................24
a) Smoothing Capacitor Ripple Voltage.............................................................................25
b) Ripple Current.................................................................................................................26
c) Capacitor Discharge Current...........................................................................................26
d) Capacitor Charging Current............................................................................................26
2.2.4 VOLTAGE REGULATION............................................................................................27
a) Electronic Voltage Regulator..........................................................................................27
1.5 2.3 MICRO-CONTROLLER..........................................................................................30
1.6 2.4 LM35 TEMPERATURE SENSORS........................................................................30
2.5 12V DC MOTOR FAN........................................................................................................31
1.7 2.6 Liquid Crystal Display (LCD)..................................................................................33
CHAPTER THREE.......................................................................................................................35
1.8 3.1 PROJECT DESIGN..................................................................................................35
1.9 Introduction.....................................................................................................................35
1.10 3.2 POWER SUPPLY.....................................................................................................36
3.3 RECTIFICATION...............................................................................................................37
1.11 3.4 SMOOTHING...........................................................................................................38
3.5 VOLTAGE REGULATOR.....................................................................................................39
1.12 3.6 LCD DISPLAY.........................................................................................................40
1.13 3.7 CIRCUIT DIAGRAM...............................................................................................41
1.14 3.8 CIRCUIT OPERATION...........................................................................................42
CHAPTER FOUR.........................................................................................................................43
1.15 4.1 TEST AND RESULT TABLE.................................................................................43
1.16 4.2 COSTING.................................................................................................................43
1.17 4.6 CONCLUTION.........................................................................................................47
1.18 4.8 RECOMMENDATION............................................................................................48
ABSTRACT
List of Figures
Figure 3.1 Microcontroller 13
Figure 3. 5 DC Relay 17
Figure 3. 9 Buzzer 20
Figure 3. 10 DC motor 21
ACKNOWLEDGEMENT........................................................................................................................II
ABSTRACT.............................................................................................................................................III
List of Figures..........................................................................................................................................VI
List of Tables...........................................................................................................................................VI
List of Acronyms....................................................................................................................................VII
CHAPTER ONE........................................................................................................................................1
INTRODUCTION.....................................................................................................................................1
1.1. Background.....................................................................................................................................1
CHAPTER TWO.......................................................................................................................................4
LITERATURE REVIEW..........................................................................................................................4
CHAPTER THREE.................................................................................................................................12
METHIDOLOGY....................................................................................................................................12
3.2.1 Microcontroller.......................................................................................................................12
ATmega328P Microcontroller.........................................................................................................14
3.2.5 Relay.......................................................................................................................................17
3.2.9 Buzzer.....................................................................................................................................20
3.2.10 DC motor..............................................................................................................................20
CHAPTER FOUR
RESULT AND DISCUSION..................................................................................................................31
5.1 Result.............................................................................................................................................31
5.2 Discussion......................................................................................................................................33
6.1 Conclusion.....................................................................................................................................35
6.2 Recommendations..........................................................................................................................35
REFERENCES........................................................................................................................................36
Appendix A..............................................................................................................................................37
CHAPTER ONE
1.1 INTRODUCTION
Introduction Microcontroller based temperature measurement in today’s environment encompasses a wide variety of
needs and applications. To meet this wide array of needs the process controls industry has developed a large number
of sensors and devices to handle this demand. In this project you will have an opportunity to understand the concepts
and use of the LM35 sensor, and actually run an experiment using a selection of this device (Colins, 2008).
Temperature is a very critical and widely measured variable for most conditions or a particular covering.
Temperature measurement varies in different location judging by the temperature needs to be met at that location.
Many processes must have either a monitored or controlled temperature. More difficult measurements such as the
temperature of smoke stack gas from a power generating station or blast furnace or the exhaust gas of a rocket may
be need to be monitored. Much more common are the temperatures of fluids in processes or process support
applications, or the temperature of solid objects such as metal plates, bearings and
A digital thermometer can be easily made by interfacing a temperature sensor to the microcontroller AT89C51.
The temperature sensor used in the project isLM35. The LM 35 IC generates a 10mV variation to its output
voltage for every degree Celsius change in temperature.
The Output of the temperature sensor is analog in nature so we need an analog to digital convertor for converting
the analog input to its equivalent binary output.
ADC 0804 is an analog to digital convertor IC used in the project. 0804 is a single channel convertor which
converts the analog input up to a range of 5V to an equivalent 8-bit binary output.
The step size is defined by the voltage applied at the Vref/2 pin of the ADC IC. For example, if the voltage at
Vref/2 pin is set to 1.28V then ADC has a step size of 10 mV. So if the input voltage is 1V the equivalent binary
output of ADC will be 100 or 0110 0100 in binary.
The 8 bit binary output of the ADC is incremented by one for every 10 mV rise of input voltage. Different
step size can be selected by changing the voltage input to the Vref/2 pin. The step size of the ADC is calibrated using
a preset to match the actual temperature. The circuit is based on LM35 analog temperature sensor, and AT89S51
microcontroller. LM35 is an analogue temperature sensor IC which can measure a temperature range of -55 to 150°C.
Its output voltage varies 10mV per °C change in temperature.
Celsius scale thermometer displays the ambient temperature through a LCD display. It consists of two sections.
One is that which senses the temperature.
This is a temperature sensor LM 35. The other section converts the temperature value into a suitable number in
Celsius scale which is done by the ADC0804.Once the ADC is calibrated it will give the correct output further.
The binary output of ADC is fed parallel to a port of the microcontroller .The microcontroller reads the input
through ADC and displays the corresponding decimal value on LCD indicating the temperature.
1.2 OBJECTIVES
i. To use a temperature sensor to detect the temperature.
ii. To incorporate a microcontroller to analyse the input data from the temepearture sensor.
iii. To use a lcd to display the temperature readings.
Lcd
Power
supply
2.1.0 Transformer
A transformer is a static electrical device which works by the principle of electromagnetic induction, it couples
electrical energy from one electric circuit to another without changing the frequency. This energy transfer usually
takes place with change of voltage and current.
It consists of two coils with mutual inductance that are electrically separate but have common magnetic circuit,
primary coil is connected to a.c supply while the secondary coil is connected to the load.
TYPES OF TRANSFORMER
Transformers can de classified of two types based on their construction;
i. Shell type transformer.
ii. core type transformers
Applications
Low voltage applications which include electronic circuits as well as converters in power electronics.
Shell type transformer will be used for this project application due to its versatile advantages.
𝜙 cycle
𝜙m
t
1f
4
𝜙=𝜙msinwt (iii)
e= 4f𝜙msinwt(average value)
R . m . s value
Form factor=
Average value
R .m . s value
1.11=
Average value
R .m . s value
Since the induced emf is the average value Form factor1.11=
Average value
e= 4.44Nf𝜙msinwt,
ep= 4.44Npf𝜙msinwt,
es= 4.44Nsf𝜙msinwt,
𝜙= 𝜙msinwt,
d
∅=N ∅ msinwt
dt
=N𝜙m (w)
e2 N2
= =k
e1 N1
In an ideal transformer on no load,v1=E1 and v2=E2
Hence;
v 1 N 1 E1
= = =K
v2 N 2 E2
Where
v1
=¿ voltage ratio
v2
and
N1
=turns ratio
N2
2.1.2 RECTIFICATION
Rectification is the process of converting an alternating voltage or current in to corresponding direct current DC.
Rectifier is an electronic switch consisting of diodes which carries out the rectification process. The output to a
rectifier is alternating current it output is unidirectional pulsating direct current.
There are three types of rectifiers;
i. Half wave rectifier
ii. Full wave Bi-phase rectifier
iii. Full wave bridge rectifier
I=C⋅ΔUΔt
Clarification:
C = capacity of the capacitor in μF
I = Charge current in mA
Δt = half-period in ms
ΔU = ripple voltage in V
Also:
value for smoothing capacitor.
I
C=
F∗VS
Where:
C=capacitance
F=frequency
Vs=dc.output voltage
2.1.3 VOLTAGE REGULATOR
It is a device which is used to stabilize the output voltage for a given circuit. It is designed in such a way that even if
the amount of load is varied or the supply input voltage changes, it still maintains its output voltage constant.
Where:
Vo=variable output voltage
Vref=set input voltage
I=current
R1=fixed resistor
R2=variable(adjustable) resistor
2.1.4 SMOOTHING
This is the process of removing ripples at the output of rectifier and produce a smooth DC power supply to be used
to power electronic circuits without large levels of voltage regulations.
Smoothing is performed by a large value electrolytic capacitor connected across the D.C supply to act as a reservoir,
supplying current to the output when the varying D.C voltage from the rectifier is falling. Smoothing significantly
increases the average D.C voltage to almost the peak value (1.4*RMS value).
Smoothing is not perfect due to the capacitor voltage falling a little as it discharges, giving a small ripple voltage,
therefore the voltage of the capacitor should be maintained at a suitable range as capacitor is one of the type of
smoothing circuit is employed in this project because; this method offers the best smoothing where large currents are
consumed by the circuit. Besides, it is economical since only a capacitor is required.
The capacitor charges quickly near the peak of the varying D.C, and then discharges as it supplies current to the
output for many circuits a ripple which is 10% of the supply voltage is satisfactory and the equation below gives the
required value for the smoothing capacitor. A large capacitor will give les ripple. The capacitor value must be
doubled when smoothing half-wave DC.
Smoothing capacitor for 10% ripple, C = (5*Io)/(Vs*f),
TYPES OF SMOOTHING
i. Capacitive Filters
ii. L-section Resistive Filters
iii. L-section Inductive Filters
iv. Pi-Section Filters
The operation of an L-section inductive filter can also be seen through the effect that inductive reactance has on the
circuit.
When the pulsating DC voltage is applied to the inductor, the changing voltage produces a high inductive reactance.
Therefore, the inductor tends to block the pulsating DC voltage. The DC portion of the signal is allowed to pass
through the inductor. The pulses not blocked by the inductor are bypassed by the capacitor.
iv) Pi-Section Filters
A pi-section filter is a filter made with two capacitors and an inductor or resistor to smooth out the AC ripple in a
rectified waveform.
Pi-section filters get their name from the Greek letter pi (π) because the filter configuration resembles the symbol for
pi. The two types of pi-section filters are inductive and resistive.
A pi-section filter consists of three elements. In a pi- section inductive filter, there is a shunt input capacitor, C1; a
series inductor (choke), L1; and a shunt output capacitor, C2. See Figure 4.
As the input voltage reaches the first capacitor (C1), the capacitor shunts most of the AC ripple current to the ground.
This presents a much smoother current to L1. Since L1 presents a high inductive reactance to the remaining AC
ripple, L1 tends to block the AC ripple much better than a resistor in a resistive pi-section filter. Finally, C2 shunts to
ground any remaining AC ripple. The result is a relatively smooth DC voltage.
Where:
C=capacitance
F=frequency
Vs=dc.output voltage
2.2 SENSORS
A device which gives an output by detecting the changes in quantities or events can be defined as a sensor. Generally,
sensors produce an electrical signal or optical output signal corresponding to the changes in the inputs. There are
different types of sensors, for example, consider a thermocouple which can be considered as temperature sensor that
produces an output voltage based on the input temperature changes.
Types of Sensors
i. Temperature Sensor
ii. IR Sensor
iii. Ultrasonic Sensor
iv. Smoke and Gas Sensors
Temperature sensors, smoke sensors, IR sensors, ultrasonic sensors, pressure sensors, proximity sensors, and touch
sensors are frequently used in most of the electronics applications.
2.2.1Thermostat
The Thermostat is a contact type electro-mechanical temperature sensor or switch, that basically consists of two
different metals such as nickel, copper, tungsten or aluminium etc, that are bonded together to form a Bi-metallic
strip. The different linear expansion rates of the two dissimilar metals produces a mechanical bending movement
when the strip is subjected to heat.
The bi-metallic strip can be used itself as an electrical switch or as a mechanical way of operating an electrical switch
in thermostatic controls and are used extensively to control hot water heating elements in boilers, furnaces, hot water
storage tanks as well as in vehicle radiator cooling systems.
i) Bi-metallic Thermostat
The thermostat consists of two thermally different metals stuck together back to back. When it is cold the contacts are
closed and current passes through the thermostat. When it gets hot, one metal expands more than the other and the
bonded bi-metallic strip bends up (or down) opening the contacts preventing the current from flowing.
2.2.2 Thermistor
Thermistors are generally made from ceramic materials such as oxides of nickel, manganese or cobalt coated in glass
which makes them easily damaged. Their main advantage over snap-action types is their speed of response to any
changes in temperature, accuracy and repeatability.
Most types of thermistor’s have a Negative Temperature Coefficient of resistance or (NTC), that is their resistance
value goes DOWN with an increase in the temperature, and of course there are some which have a Positive
Temperature Coefficient, (PTC), in that their resistance value goes UP with an increase in temperature.
2.2.3 Thermocouple
The Thermocouple is by far the most commonly used type of all the temperature sensor types. Thermocouples are
popular due to its simplicity, ease of use and their speed of response to changes in temperature, due mainly to their
small size.
Thermocouples are thermoelectric sensors that basically consists of two junctions of dissimilar metals, such as copper
and constantan that are welded or crimped together. One junction is kept at a constant temperature called the
reference (Cold) junction, while the other the measuring (Hot) junction. When the two junctions are at different
temperatures, a voltage is developed across the junction which is used to measure the temperature sensor as shown
below.
i)PIC Microcontroller
PIC Stands for Peripheral Interface Controller is a kind of microcontroller components was used in the development
of electronics, computer robotics, and similar devices. Even though the PIC was produced by Microchip technology
and based on hardware computing architecture, here the code and data are placed in separate registers to increase the
input and output. Pic has a built-in data memory, data bus and dedicated microprocessor for preparing all I/O
purposes and methods.
ARM stands for Advanced RISC Machine. It’s the most popular Microcontrollers Programming in the digital
embedded system world, and most of the industries prefer only ARM microcontrollers since it consists of significant
features to implement products with an excellent appearance. It is cost sensitive and high-performance device which
has been used in a wide range of application such as Industrial Instrument control systems, wireless networking and
sensors, and automotive body systems, etc.
iii)8051 Microcontroller
Intel created 8051 microcontrollers in 1981. It is an 8bit microcontroller. It’s made with 40 pins DIP (Dual inline
package), 4kb if ROM storage and 128 bytes of RAM storage, 2 16 bit timer. It consists of are four parallel 8 bit
ports, which are programmable as well as addressable as per the specification.
iv)AVR Microcontroller
AVR stands for Alf and Vegard's RISC Processor. It was the modified Harvard architecture machine, where program
and data were stored in the separate physical memory system that appears in different address spaces, but having the
ability to browse information things from program memory victimization particular directions. AVR isn't associate
degree signifier and doesn't symbolize something specially.
v)MSP Microcontroller
MSP stands for Mixed Signal Processor. It’s the family from Texas Instruments. Built around a 16 -bit CPU, the
MSP is designed for low cost and respectively, low power dissipation embedded statements. It’s the controller's
appearance is directly related to the 16-bit data bus, and seven addressing modes and the decreased instructions set,
which allows a shorter, denser programming code for fast performance.
The Range of Microcontroller is an IC chip that executes programs for controlling other device or machines. It is a
micro-device which is used for control of other device machines that’s why it’s called Microcontrollers
Programming.
i. Piezoelectric buzzers
ii. Magnetic buzzers
iii. Electromagnetic buzzers
iv. Mechanical buzzers
v. Electromechanical buzzers
Piezoelectric and magnetic buzzers are most commonly used in electronic applications. The buzzers are designed to
be used as a transducer or indicator in any circuit.
Piezoelectric buzzers
A piezoelectric buzzer operates on the principle of the piezoelectric effect. The main component of a piezoelectric
buzzer is a piezoelectric element. The element is composed of a piezoelectric ceramic and a metal plate. Both the
piezoelectric disc and metal plate are held together with an adhesive. The piezoceramic disc has electrodes attached
to it. The piezoelectric disc expands and contracts diametrically when an alternating current is applied to it. This
produces vibrations in the piezoelectric element and generating the sound of a particular frequency or range of
frequencies.
Magnetic buzzer
In a magnetic buzzer, there is a ferromagnetic disc that is attached to a pole. There are magnets around the pole
which maintains the disc in a rest position. There is a coil below the ferromagnetic disc that acts as an electromagnet.
When current is supplied to the coil, the disc is attracted to the coil. When there is no current in the coil, the disc
returns to its rest position. A weight above it controls the vibrations of the disc. When an oscillating signal is applied
to the coil, the electromagnetic field generated from it also fluctuates, causing vibrations in the ferromagnetic disk.
This way, the sound of the frequency same as the frequency of the applied oscillating signal is produced by the
magnetic buzzer. Magnetic buzzers come in both transducer as well as indicator configurations.
CHAPTER THREE
3.0 METHIDOLOGY PROJECT DESIGN
INTRODUCTION
The chapter endeavor to give specific information of the component and devices used in the project. Every project
system in existence can be reviewed as the consortium of related blocks whose and function and objective is to
achieve a purpose. The building blocks of every system when opened up will show how the electric component and
devices are interconnected to perform specific functions Therefore each block of a system can be single hardly
represent a function of the system of the system.
The stage by stage system design and construction and how it’s achieved through hardware and development of
software is well .All the operations of hardware and software are also included in this chapter.
3.2 MICROCONTROLLER
A microcontroller is a self-contained system comprising a processor, memory modules and peripherals. Hence, a
microcontroller can be used as an embedded system. The majority of microcontrollers in use today are embedded in
other machinery such as automobiles, telephones, appliances and peripherals for computer systems.
Based on the above criteria the PIC16F877 Microcontroller will be used for this project.
Figure 3.05:PIC16F877 Microcontroller
3.4 SENSORS
3.4.0 LM35 TEMPERATURE SENSORS.
The LM35 is a basic, ultra-low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor
and a thermistor to measure the surrounding air, and out puts a digital signal on the data pin (no Analog input pins
needed).
The Resistance variation with temperature is given by;
Where,
RT = 100 Ω[1.1372]
RT = 113.72 Ω
Where:
CHAPTER FOUR
All the hardware units of the system were tested and it was ensured that in a good working condition or not. Then
each and every unit were interfaced and implemented individually with the microcontroller board and loaded with the
software according to the necessity of the application.
After all of the units were working correctly, the units were assembled together and then the whole system was
developed and tested.
TEST POINT EXPECTED VALUE (VOLTS) ACUAL VALUE
(VOLTS)
1 (Supply voltage) 12V DC 12.1V DC
2 (5V regulator) 5V DC 4.9 V DC
3 (input circuit) 5V 4.9
4(microcontroller 5V 4.3V
output)
LCD 5V
Push button 1 40 40
switch
IC sockets 40 pins 1 100 100
LCD 16*2 1 2500 2500
Strip board Copper strip board 1 100 100
Solder wire 0.2mm 6 METRES 40 240
Connector wires 0.5mm 8 metres 35 280
Casing 15*10*4 1 750 750
Microcontroller PIC 16F877 1 2500 2500
Crystal 1 150 150
SUB TOTAL 7,845
ESEARCH
AND
WRITTING
ROPOSAL
RESENTATI
ON
ROJECT
EPORT
WRITTING
ROJECT
IMULATIO
N
ROTOTYPE
ABRICATIO
N
ULL
ROJECT
OMPLETIO
4.4 CONCLUSION
The design and construction of a GSM – based Fire and Smoke detection and prevention system was successfully
carried out and tested effectively. The system did not pose extra-ordinary constraint and the components and
materials used conform to engineering standard. A close look at the circuit diagram of the smoke detector reveals that
all the components used were all locally sourced and available. Also, consideration has been made in the area of cost
and size (packaging) compared to other similar designs. In situations where components could not be obtained
exactly, standard values closest to be calculated should be chosen so as to obtain optimum degree of accuracy and
resolution in the design of the units of this device. Finally, project design was challenging because it gave an
exposure into the practical application of theoretical knowledge in solving problems associated with design and
construction most especially in developing countries. Likewise, it gave more exposure to fire issues.
When the trigger button was pressed, and the right time was entered, the system ran alongside the real time for as
long as the circuit was powered. Seconds, minutes and hours were displayed on the LCD. This proved success of the
project.
4.5 RECCOMENDATION
The project can be extended by increasing the number of sensors used along with an increase in the number of
installation places. The remote management of electronic devices can also be extended with the use of different real
electronic devices. Accomplishing tasks needs time and resource which gives smart and persuasive output. But the
time for the project and sources of information is scarce due to lack of access. Even if our electronics LAB has not
anything to support in material to do our project and the free time use of our computer LAB also is not opened in a
time. Therefore such obstacles should be proved for the coming final project. And the department should supply
students particularly for students who are doing there BSC. With relevant information regarding there project.
4.4 REFERENCES
www.electronicshub.com
www.electronictoday.com
REFERENCES
[2].Fire safety design guidelines for federal buildings by George V. Hadjisophocleous and Noureddine Benichou
[3].International Advanced Research Journal in Science, Engineering and Technology Vol. 2, Issue 5, May 2015
[4].Design and Implementation of a Smart Fire Alarm System Using GSM Technologies Via Short Messages
Service.
[5].Fire Alarm System Research ñ Where it’s been and where it’s going Wayne D. Moore, P.E., FSFPE
[6].Embedded C Programing and the Atmel AVR Richard H. Barnett, Sarah fox and Larry o’cull 2 nd edition page
xxi
[7].the AVR microcontroller and embedded system using assembly and C by Muhammad Ali mazidi, sarmad
naimi, and sepehr naimi prentice hall page 42
[8].the AVR microcontroller and embedded system using assembly and c by Muhammad Ali mazidi, sarmad
naimi, and sepehr naimi prentice hall page 45
[10]. www.ti.com/lit/ds/symlink/lm35.pdf
[11]. AVR 8-bit Microcontrollers Quick Reference Guide February 2009
Appendix A
CHAPTER TWO.
INTRODUCTION
This chapter explains the literature from various sources about a component, circuit or device. In the engineering
domain various approaches have been given to explain the concepts that exist. The purpose of the project, there is
need to the Arthur is well grounded in the research that he/she is undertaking. Therefore the purpose of this chapter is
to bring out the facts concerning he general information of this project.
In the design a project that are several approaches that can be used. It is the responsibility of the Arthur to mention a
particular type or circuit device or components that will be chosen to be used along many. The block diagram of
chapter one needs to be opened up so that the components that consists it are seen. For the purpose of this chapter,
components are identified by their symbols in the circuit diagram. The operation or the circuit needs to be explained
and design formula for the components or device has to be stated.
The purpose of this is to be able to power the electronic circuit.The main requirements of a power supply are:-
To provide the rated voltages for the circuit to be supplied with a specified tolerance.
To be able to supply the ratedmaximum current to be supplied to the circuit without the supply voltage falling
outside the specified limits.
To maintain the supply voltage constant within specified limits as the load changes or the mains supply input
voltage varies or even the ambient temperature changes.
The power supply consists of a step down transformer, rectifier circuit and a smoothening capacitors as well as
voltage regulator IC.
Block diagram of AC Rectifier.
2.2.1 TRANSFORMATION
This process is achieved by use of a transformer. A transformer is a static device that transfers electrical energy from
one circuit to another through inductively coupled conductors-the transformers' coil.
A varying current in the first or primary winding creates a varying magnetic flux in the transformers'core and thus
a varying magnetic field through the secondary winding. This varying magnetic field induces a varying
electromotive force (EMF) or 'voltage' in the secondary winding. This effect is called mutual induction.
There are various types of transformer used in the electrical power system for different purposes, like generation,
distribution and transmissionand utilization of electrical power. The different types of transformers are step up
and step-down transformer, power transformer, distribution transformer, instrumental transformercomprising
current and potential transformers, single phase and three phase transformers, Auto-transformer and much more.
My project is specified to use a single phase transformer, which is a static device working on the principle of
Faraday's law of mutual induction. It utilizes single phase alternating current, meaning the transformer relies on a
voltage cycle that operates in a unified time phase.
In its most bases from a transformer consist of:
a) A primary coil or winding.
b) A secondary winding.
c) A core that supports the coil.
2.2.2 RECTIFICATION.
This is the process of converting alternating current (AC) to direct current (DC). This involves a device that only
allows one way flow of electric charge. Rectification is required because the electronic circuit operates with DC
while the main power supply is an AC.
There are three typical methods of rectification.
For most power applications, half wave rectification is insufficient for the task. The harmonic content of the
rectifier's output waveform is very large and consequently difficult to filter. Furthermore, the AC power source only
supplies power to the load one half every cycle, meaning that half of its capacity is unused. Half wave rectification is,
however, a very simple way to reduce power to a resistive load, some two position lamp dimmer switches applies full
AC power to the lamp filament for "full" brightness and then half wave rectifies it for a lesser light output.
In the "DIM" switch position, the incandescent lamb receives approximately one half the powerit would normally
receive operating on full wave rectifier. Because the half wave rectified power pulses far more rapidly than the
filament, has time to heat up and cool down, the lamp does not blink. Instead, its filament merely operates at a lesser
temperature than normal, providing less light output.
The principle of "Pulsing" power rapidly to a slow responding load device to control the electrical power sent to it is
common in the world of industrial electronics. Since the controlling device (the diode, in this case) is either fully
conducting or fully non conducting at any given time, it dissipates little heat energy while controlling load power,
making this method of power control very efficient. This circuit is perhaps the crudest possible 6method of pulsing
power to a load, but it suffices as a proof-of-concept application.
In rectifying AC power to obtain the full use of both half cycles of the sine wave, a different rectifier circuit
configuration must be used. Such a circuit uses a transformer with a center tapped secondary winding and two diodes
as shown.
Positive Half cycle.
The circuit operation can be easily understood one half cycles at a time. Consider the first half cycle, when the source
voltage polarity is positive (+) on top and negative (-) on bottom. At this time, only the top diode is conducting; the
bottom diode is blocking current, and the load "sees"the first half of the sine wave, positive on top and negative on
bottom. Only the top half of the transformer's secondary winding carries current during this half cycle as in the figure
below.
Full wave center tapped rectifier: Top half of secondary winding conducts during positive half cycle of input,
delivering positive half cycle to load.
A full wave rectifier is a circuit arrangement which makes use of both half cycles of input alternating current (AC)
and converts them to direct current (DC). In our tutorial on half wave rectifiers, we have seen that a half wave
rectifier makes use of only one half cycle of the input alternating current.
Thus a full wave rectifier is much more efficient (doublet) than a half wave rectifier. This is process of converting
both half cycles of the input supply AC to DC.
Full Wave rectifier can be constructed in two ways. The first method makes use of a center tapped transformer and
two diodes. The second method uses a normal transformer with four diodes arranges as a bridge.
The transformer secondary is connected to two diametrically opposite points of the bridge at points A and C. The
load resistance RLis connected to bridge through points B and D.
During the First Half Cycle.
During the first half cycle of the input voltage, the upper end of the transformer secondary winding is positive with
respect to the lower end. Thus during the first half cycle diodes D 1 and D3 are forward biased and current flows
through arm AB, enters the load resistance R L, and returns back flowing through arm DC. During this half of each
input cycle, the diodes, D2 and D4, are reverse biased and current is not allowed to flow in arms AD and BC.
During the second half cycle of the input voltage, the lower end ofthe transformer secondary winding is positive with
respect to the upper end. Thus diodes D2and D4 become forward biased and current flows through arm CB, enters the
load resistance RL, and returns back to the source flowing through arm DA. Thus the direction of flow of current
through the load resistance RL remains the same during both half cycles of the input supply voltage.
Advantages of a Bridge Rectifier Circuit.
It does not require a center tapped transformer which is costly.
The peak inverse voltage in bridge circuit is half of that in full wave circuit using center tapped transformer.
Disadvantages of Bridge Rectifier Circuit.
It requires four diodes as compared to two in other circuits.
More voltage drop, more losses, poor efficiency and poor voltage regulation as compared to circuit using
center tapped transformer. This is because in a bridge circuit two diodes are always in circuit while in center
tapped only one diode is in circuit at a time. Thus bridge rectifiers are suitable for high voltage.
d) Controlled Rectifiers.
They are rectifiers that are using thyristors. This is due to the reason that by changing the firing angle ofthyristor the
output DC voltage can be controlled. The thyristor can be triggered at any angle in the positive half cycle.
The thyristor blocks during the negative cycle. Just before triggering the voltage across the thyristor is the same as
the input. During conduction the voltage drop across the thyristor is only about 1V. Since thyristors are available in
high voltages, high current rating, controlled rectifiers are mostly used in many high powerdevice.
The uncontrolled rectifier has a higher efficiency, better power factor and lower input current distortion compared
with a controlled rectifier. Rectifier should be properly sized to satisfactorily supply the line at full load.
2.2.3 SMOOTHING.
A power supply unit for electronic circuits is required to provide a DC voltage of minimum ripple waveform. The
output of a bridge rectifier is still not smooth. To reduce the ripple voltage to tolerable level, a filter circuit is needed.
Smoothing is performed by a large value electrolytic capacitor connected across the DC supply to circuit as a
resevior, supplying current to the output when the varying DC voltage from the rectifier is falling. In the power
supply using an AC waveform input and diode rectifiers, this raw Rectifiedoutput is normally smoothed using a
reserviorcapacitor.
Aluminum electrolytic capacitors are ideal for the job as many electrolytic are able to have a sufficiently high
capacitance and ripple current rating to supply the required current to smooth the waveform.
a) Capacitor smoothening basics
The raw DC supplied by a rectifier on its own would consist of services of half sine waves with the voltage varying
between zero and squareroot of two times RMS voltage (ignoring any diode and other losses). A supply of this nature
would not be of any use for powering circuits because any analogue circuits would have the huge level of ripple
Superposed on the output, and any digital circuits would not function because the power would be removed every
half cycle.
To smooth the output of the rectifier a reservoir capacitor is used-placed across the output of the reciter and in
parallel with the load. This capacitor charges up when the voltage from the rectifier rises above that of the capacitor
and then as the rectifier voltage falls, the capacitor provides the required current from its stored charge.
It should be remembered that the only way discharge path for the capacitor, apart from internal leakage is through the
load to the rectifier/smoothing system. The diodes prevent backflow through the transformer etc.
The choice of the capacitor value needs to fulfill a number of requirements. In the first case the value must be chosen
so that its time constant is very much longer than the time interval between the successive peaksof the rectified
waveform.
R load. C>>1÷f
Where:
R load = the overall resistance of the load for the supply.
F = the ripple frequency, this will be twice the line frequency a full wave rectifier is
used.
As there will always be some ripple on the output of a rectifier using a smoothing capacitor circuit, it is necessary to
be able to estimate the approximate value. Over-specifying a capacitor too much will add extra cost, size and weight-
under-specifying it will lead to poor performance.
The diagram above shows the ripple for a full wave rectifier with capacitor smoothing. If a half wave rectifier was
used, then half the peaks would be missing and he ripple would be approximately twice the voltage.
For cases where the ripple is small compared to the supply voltage-which is almost always the case-it is possible to
calculate the ripple from knowledge of the circuit conditions.
b) Ripple Current.
Two of the major specifications of a capacitor are its capacitance and working voltage. However for applications
where large levels of current may flow, as in the case of a rectifier smoothing capacitor, a third parameter is of
importance-its maximum ripple current.
The ripple current is not just equal to the supply current. There atetwo scenarios.
On the discharge cycle, the maximum current supplied by the capacitor occurs as the output from the rectifier circuit
falls to zero. At this point all the current from the circuit is suppliedby the capacitor. This is equal to the full current
of the circuit.
d) Capacitor Charging Current.
On the charge cycle of the smoothing capacitor, the capacitor needs to replace all the lost charge, but it can only
achieve this when the voltage from the rectifier exceeds that from the smoothing capacitor.
This only occurs over a short period of the cycle. Consequently, the current during this period is much higher. The
large the capacitor, the better it reduces the ripple and the shorter the charge period.
When selecting a reservoir capacitor for smoothing applications in power supply, not only is the value in terms of
capacitance important to give the required ripple voltage reduction, but it is also very importantto ensure that the
capacitor ripple current rating is not exceeded. If too much current is drawn, the capacitor will heat up and its life
expectancy reduced, or in extreme cases it could fail.
A voltage regulator is designed to automatically 'regulate' voltage level. It basically steps down he input voltage to
the desired level and keeps that in the same level during the supply. This makes sure that even when a load is applied
the voltage doesn't drop.
Voltage regulators find their applications in computers, alternators, power generator plants where the circuit is used
to control the output of the plant. Voltage regulators may be classified as electromechanical or electronic. It can also
be classified as AC regulators or DC regulators.
All electronic voltage regulators will have a stable voltage reference source which is provided by the reverse
breakdown voltage operating diode calledzenerdiode. The main reason to use a voltage regulator is to maintain a
constant DC output voltage. It also blacks the AC ripple voltage that cannot be blocked by the filter.
A good voltage regulator may also include additional circuits for protection like short circuits, current limiting
circuits, thermalshutdown and over voltage protection.
Use in all power supplies to electronic gadgets to regulate voltage and save the device from damage.
Used with the alternator of internalcombustion engines to regulate the alternator output.
Used for electronics circuits to supply a precise amount of voltage.
Voltage regulators are different from voltage stabilizers. Regulators are used to step down voltages to the desired
levels where as a stabilizer 'stabilizes'the voltage. Regulators are mostly used for DC while stabilizers are mostly for
AC. Stabilizers keep the voltages from going too high or too low as not to damage the device connected to it, like a
TV or fridge.
Advantages of Voltage regulator.
Output voltage regulation is good (tap switching) to very good (double conversion).
Ultrafast voltage correction speed.
No restrictions on the number of correction cycle.
Versatility of KVA rating, voltage and configuration.
Very low or no regular maintenance.
Good line isolation.
Mechanical drive components, brushes and contractors require regular maintenance and/or replacement.
Frequent overloads can damage brushes.
Speed of voltage correction correct may not be fast enough for electronic loads.
The LM35 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and
a thermistor to measure the surrounding air, and spits out a Digital signal on the data pin (no Analog input pins
needed) it’s fairly simple to use, but requires careful timing to grab data.
The LM35 calculates relative humidity by measuring the electrical resistance between two electrodes. The humidity
sensing component of the LM35 is a moisture holding substrate with the electrodes applied to the surface.
It features a calibrated Digital signal output with the temperature and humidity sensor capability. It is integrated with
a high performance 8-bit micro controller. Its technology ensures the high reliability and excellent long-term
stability.
The DC motor is the device which converts the direct current into the mechanical work. It works on the principle of
Lorentz law, which states that, "The current carrying conductor places in a magnetic and electric field experience a
force." And that force is called the Lorentz force.
The armature and stator are the two main parts of the DC motor. The armature is the rotating part, and the stator is
their stationary part. The armature coil is connected to the DC supply. It consist the commutators and brushes. The
brushes transfer the current from rotating part of the motor to the stationary external load. The armature is placed
between the north and South Pole of the permanent or electromagnet.
Types of a DC Motors.
Permanent magnet DC motors. The permanent magnet motor uses a permanent magnet to create field flux.
Series DC motors. In a series DC motor, the field is wound with a few turns of a large wire carrying the full
armature current.
Shunt DC motors.
Compound DC motors.
The principle behind the LCD's is that when an electrical current is applied to the liquid crystal module, the module
tends to untwist. This causes the angle of light which is passing through the molecule of the polarized glass and also
cause a change in the angle of the top polarizing filter.
As a result a little light is allowed to pass the polarized glass through a particular area of the LCD. Thus that
particular area will become dark compared to other. The LCD works on the principle of blocking light.
1.7 Introduction
This chapter endeavours to give specific information for the components and devices used in the project. Every
system in the existence can be viewed as a constituent of related blocks whose functioning objectives is to achieve a
purpose. The building blocks of every system which will be opened up will show how the electronic components and
devices are interconnected to perform specific function. Therefore each block of a system can be single handy
represent a function of the system.
Every device and component used in a given block has to be specific in terms of size, value and function. Electronic
components are manufactured by various companies in different sizes and types. This is to ensure that every need for
a given component in a particular system requires design for one to establish the appropriate value, size and function.
It is the requirement of this chapter to illustrate how a given value and type of a component is arrived at. The design
worker requires that one has to have the electronic data sheet table for you to design a component value. The
formulas stated in chapter two in conjunction with data sheet table should be used to calculate the appropriate value
of the component or device.
Vp = 240V
Vs= 12V
Is= 1A
Therefore,
3.3 RECTIFICATION.
Figure 3.02 rectifier circuit diagrams
VP = ( VSr.m.s ×1.414) – ( 0.7 ×2)
= (12 ×1.414) – 1.4
= 15.568 volts
Vdc= 2Vp / π
= 2 ×15.569/π
=9.91 volts
Therefore IN4007 diodes will be used for this project since they can withstand the above conditions.
1.9 3.4 SMOOTHING
Shunt capacitor filter is the one used. This is because; this method offers the best smoothing where large currents are
consumed by the circuit. Besides, it is economical since only a capacitor is required.
The value of the capacitor used can be got using the formula shown below.
Vs= 12 V
F= 50
Therefore,
C = 0.0042F OR C = 4,200µF
Resistor R is used to set pin 4 high. Since input impedance is very high, the current through the resistor R can be
limited to 1mA. It value can therefore be calculated as follows.
R = V/I
R = 5 volts / 0.001A
R = 5kΩ
LCD is a flat panel display electronic display or video display that uses the light modulating properties of liquid
crystal.
A 16*2 character LCD is used due to its reliability and availability.
1.11 3.7 CIRCUIT DIAGRAM
1.12 3.8 CIRCUIT OPERATION
The transformer is used to step down 240V ac to 12V ac. The bridge rectifier converts the 12 V ac to 12 volts DC.
The DC ripples are then filtered by the 4200 uF smoothing capacitor. The 7805 regulator ensures a stable 5 volts
supplied to the circuit.
The microcontroller has an internal clocking mechanism which when aided by the program generates real time
clocks. These clocks are used to increment internal registers that holds the seconds, minutes and hours. These are
then displayed on the LCD in alpha-numeric form.
CHAPTER FOUR.
TOTAL 4,465
4.6 CONCLUTION
The project works well. However there were challenges:
1. Some of the components available locally were not of the best quality. Therefore the low quality components
lead to deviated targeted timing.
2. Lack of the required programming tools led to use of low quality software. This undermined the targeted
accuracy of the project.
3. Assembling all components was a challenge also due to cost.
The project was tested and worked. Programming of the micro controller was outsourced due to lack of kits and
updated mnemonics.
4.8 RECOMMENDATION
4.9 REFERENCES.
https://internetofthingsagenda.techtarget.com/definition/microcontroller
https://wiki.eprolabs.com/index.php?title=Temperature_Sensor_LM35
https://www.metmotors.com/brief-overview-of-a-12v-dc-motor/
https://www.explainthatstuff.com/howrelayswork.html
https://researchmaniacs.com/Math/LCD/What-is-the-least-common-denominator-of-6-and-2.html
CIRCUIT DIAGRAM:
HARDWARE DETAILS OF 8051 CIRCUIT TRAINER:
1. RS232 interface
2. 38KHZ RC5 IR receiver
3. Buzzer
4. Light Sensor (LDR)
5. Temperature Sensor
6. Three Analog Inputs via presets
7. All port open 89V51RD2 Microcontroller
8. Four 7-Segment Display
9. Real time clock with DS1307
10. EEPROM 24C256
11. Eight LEDs
12. Two Relays
13. Four Switches
14. Eight bit Analog to Digital Converter
15. Matrix keypad 4x4
16. Stepper Motor driver ULN2803
17. LCD 16 character by 2 lines
18. DC Motor Driver L293D
COMPONENT DESCRIPTION:
LM35 is a precision IC temperature sensor with its output proportional to the temperature (in oC). The sensor
circuitry is sealed and therefore it is not subjected to oxidation and other processes. With LM35, temperature
can be measured more accurately than with a thermistor. It also possess low self heating and does not cause
more than 0.1 oC temperature rise in still air.
The LM35 series are precision integrated-circuit LM35 temperature sensors, whose output voltage is linearly
proportional to the Celsius (Centigrade) temperature. The LM35 sensor does not require any external calibration
or trimming to provide typical accuracies of ±¼°C at room temperature and ±¾°C over a full -55 to +150°C
temperature range.
It can be used with single power supplies, or with plus and minus supplies. As it draws only 60 µA from its
supply, it has very low self-heating, less than 0.1°C in still air. The LM35 is rated to operate over a -55° to
+150°C temperature range, while the LM35C sensor is rated for a -40° to +110°C range (-10° with improved
accuracy).
Pin Diagram:
Pin Description:
AT89C51 is an 8-bit microcontroller and belongs to Atmel's 8051 family. ATMEL 89C51 has 4KB of Flash
programmable and erasable read only memory (PEROM) and 128 bytes of RAM. It can be erased and program
to a maximum of 1000 times.
In 40 pin AT89C51, there are four ports designated as P1, P2, P3 and P0. All these ports are 8-bit bi- directional
ports, i.e., they can be used as both input and output ports. Except P0 which needs external pull-ups, rest of the
ports have internal pull-ups. When 1s are written to these port pins, they are pulled high by the internal pull-ups
and can be used as inputs. These ports are also bit addressable and so their bits can also be accessed
individually.
Pin Diagram:
Pin Description:
Pin Diagram:
A seven segment display is the most basic electronic display device that can display digits from 0-9. They find
wide application in devices that display numeric information like digital clocks, radio, microwave ovens,
electronic meters etc.
The most common configuration has an array of eight LEDs arranged in a special pattern to display
Every LED is assigned a name from 'a' to 'h' and is identified by its name. Seven LEDs 'a' to 'g' are used to
display the numerals while eighth LED 'h' is used to display the dot/decimal.
A seven segment is generally available in ten pin package. While eight pins correspond to the eight LEDs, the
remaining two pins (at middle) are common and internally shorted.
These segments come in two configurations, namely, Common cathode (CC) and Common anode (CA).In CC
configuration, the negative terminals of all LEDs are connected to the common pins. The common is connected
to ground and a particular LED glows when its corresponding pin is given high. In CA arrangement, the
common pin is given a high logic and the LED pins are given low to display a number.
ADC0804:
ADC0804 is a very commonly used 8-bit analog to digital convertor. It is a single channel IC. The digital
outputs vary from 0 to a maximum of 255. ADC0804 needs a clock to operate. The time taken to convert the
analog value to digital value is dependent on this clock source. An external clock can be given at the Clock IN
pin.
Pin Diagram:
Pin Description:
The 741 is a versatile op-amp IC. Commonly available 741 is an eight pin dual-in-line package op- amp IC. It
has only a single op-amp module inside it and it requires dual-power supply.
Pin-outs:
The pin-out of the 741 op-amp is shown below. Pin 2 & 3 are input pins and pin 6 is the output pin. Pin 4 & 7
are provided for dual-power supply.
Pin-out of 741
An op-amp is supposed to have zero output voltage whenever the input difference voltage is zero. But
practically this is hard to achieve, because of certain current mismatch at the input terminals. The 741 has two
terminals for setting the output voltage to zero, when the input voltage is zero. The pins provided for this
function are called offset null. Among the input pins, the pin2 is called inverting input and the pin3 is called
non-inverting input.
Preset:
A preset is a three legged electronic component which can be made to offer varying resistance in a circuit. The
resistance is varied by adjusting the rotary control over it.The resistance does not vary linearly but rather varies
in exponential or logarithmic manner. Such variable resistors are commonly used for adjusting sensitivity along
with a sensor.The variable resistance is obtained across the single terminal at front and one of the two other
terminals. The two legs at back offer fixed resistance which is divided by the front leg. So whenever only the
back terminals are used, a preset acts as a fixed resistor. Presets are specified by their fixed value resistance.
Working of presets is quite simple. It works by having a resistive track and a small plate having dents to short
the track. This small plate can be rotated using a screw driver or some similar tool. Position of the dents on the
track determines the amount of resistance that is to be used in the circuit.
Pin Diagram:
RESISTORS:
Resistor is a passive component used to control current in a circuit. Its resistance is given by the ratio of voltage
applied across its terminals to the current passing through it. Resistors can be either fixed or variable. Negative
temperature coefficient (NTC), positive temperature coefficient (PTC) and light dependent resistor (LDR) are
some such resistors. These special resistors are commonly used as sensors. Read and learn about internal
structure and working of a resistor.
Pin Diagram:
The resistor color code is always read one band at a time starting from left to the right, with the larger width
tolerance band oriented to the right side indicating its tolerance. By matching the color of the first band with its
associated number in the digit column of the color chart below, the first digit is identified and this represents the
first digit of the resistive value. The second digit of the resistance is obtained by matching again the color of the
second band with its associated number in the digit column of the color chart. The tolerance band is usually
gold or silver but some may have none.
Transistor 2N2222:
Pin Diagram:
2N2222 is an NPN BJT transistor. It is used for general purpose low-power amplification and switching
applications. These are designed for high speed switching application at collector current up to 800mA.It
provides useful current gain over a wide range of collector current.
Other features include, low leakage currents and low saturation voltage. 2N2222A is another variant with
improved characteristics. The emitter leg of 2N2222 is indicated by a protruding edge in the transistor case.
CAPACITORS:
A capacitor is a passive two terminal component which stores electric charge. This component consists of two
conductors which are separated by a dielectric medium. The potential difference when applied across the
conductors polarizes the dipole ions to store the charge in the dielectric medium. The circuit symbol of a
capacitor is shown below:
Pin Diagram:
As you turn on the power supply, the current begins to flow through the capacitor inducing the positive and
negative potentials across its plates. The capacitor continues to charge until the capacitor voltage equalizes up to
the supply voltage which is called as the charging phase of the capacitor. Once the capacitor is fully charged at
the end of this phase, it gets open circuited for DC. It begins to discharge when the power of the capacitor is
switched off. There are different types of capacitors. The symbol of capacitors from each group is shown below:
DESIGN SPECIFICATIONS:
The term printed circuit board is derived from the original method where a printed pattern is used as the mask
over wanted areas of copper. The PCB provides an ideal baseboard upon which to assemble and hold
firmly most of the small components.
From the constructor’s point of view, the main attraction of using PCB is its role as the mechanical
support for small components. There is less need for complicated and time- consuming metal work
of chassis contraception except perhaps in providing the final enclosure. Most straight forward
circuit designs can be easily converted in to printed wi r i n g la ye r t he thou gh t re qu i red
to c ar r y ou t the i n ver s ion cab f oo ted h i gh l i ght an possible error that would otherwise be
missed in conventional point to point wiring .The finished project is usually neater and truly a work of art.
Actual size PCB layout for the circuit shown is drawn on the copper board. The board is then immersed in
FeCl3 solution for 12 hours. In this process only the exposed copper portion is etched out by the
solution.
Now the petrol washes out the paint and the copper layout on PCB is rubbed with asmooth sand paper slowly
and lightly such that only the oxide layers over th e Cu arer e m o ved. No w th e ho le s are d r i l l
ed at the resp ect i ve p la ces a cco rd in g to com po nent layout as shown in figure.
(B) PCB L A Y OU T D E S I G N :
W hen des i gn in g the la yout one shou ld o bse r ve the m in im um s i ze ( com ponent bod y
length and weight). Before starting to design the layout we needallth
e r e q u i r e d components in hand so that an accurate assessment of space can be made. Other space
considerations might also be included from case to case of mounted components over the printed circuit board
or to access path of present components.
It might be necessary to turn some components around to a different angular position so that terminals are closer
to the connections of the components. The scale can be checked by positioning the components on the squared
paper. If any connection crosses, then one can reroute to avoid such condition.
All common or earth lines should ideally be connected to a common line routed around the
perimeter of the layout. This will act as the ground plane. If possible try to route the outer supply line to the
ground plane. If possible try to route the other supply lines around the opposite edge of the layout through
the centre. The first set is tearing the circuit to eliminate the crossover without altering the circuit detail in
any way.
P lan the la yout l ook in g at the top s i de to th i s boa rd. F i rs t th i s s hou ld be t
ran s la ted inversely; later for the etching pattern large areas are recommended to maintain good
copper adhesion. It is important to bear in mind always that copper track width must be according to
the recommended minimum dimensions and allowance must be made for increased width where
termination holes are needed. From this aspect, it can become little tricky to negotiate the route to
connect small transistors.
There are basically two ways of copper interconnection patterns underside the board. The first is the removal of
only the amount of copper necessary to isolate the junctions of the components to one another. The second is to
make the interconnection pattern looking more like conventional point wiring by routing uniform width of
copper from component to component.
Etching process requires the use of chemicals. Acid resistant dishes and running water s u ppl
y. Fer r i c c h lo r ide i s m ost l y u sed so lu t io n bu t o the r etch in g m ate r ia l s s uch as
ammonium per sulphate can be used. Nitric acid can be used but in general it is not used due to poisonous
fumes. The pattern prepared is glued to the copper surface of the board using a latex type of adhesive
that can be cubed after use. The pattern is laid firmly on the copper using a very sharp knife to cut round the
pattern carefully to remove the paper corresponding to the required copper pattern areas.
Then apply the resistant solution, which can be a kind of ink solution for the purpose of maintaining
smooth clean outlines as far as possible. While the board is drying, test all the components. Bef ore go in
g t o ne xt s tage , che ck t he who le pat te rn and cro ss chec k wi t h the c i rcu i t diagram. Check
for any free metal on the copper. The etching bath should be in a glass or enamel disc. If using crystal of
ferric- chloride these should be thoroughly dissolved in water to the proportion suggested. There should
be 0.5 lt. of water for 125 gm of crystal.
To prevent particles of copper hindering further etching, agitate the solutions carefully by gently twisting or
rocking the tray. The board should not be left in the bath a moment longer than is needed to remove
just t h e r i g h t a m o u n t o f c o p p e r . I n s p i t e o f t h e r e b e i n g a r e s i s t i v e c o a t i n
g t h e r e i s n o protection against etching away through exposed copper edges. This leads to over etching.
Have running water ready so that etched board can be removed properly and rinsed. This will halt
etching immediately.
Drilling is one of those operations that call for great care. For most purposes a 0.5mmdrill is
used. Drill all holes with this size first those that need to be larger can be easily drilled again with the
appropriate larger size.
From the greatest variety of electronic components available, which runs into thousands of different types it is
often a perplexing task to know which is right for a given job. T her e cou ld be dam age s uch a s hai r l ine cr
ac k on P CB. I f the re a re, th en the y ca n be repaired by soldering a short link of bare copper wire over the
affected part. The most popular method of holding all the items is to bring the wires far apart after they have
been inserted in the appropriate holes. This will hold the component in position ready for soldering.
Some components will be considerably larger .So it is best to start mounting the smallest first and
progressing through to the largest. Before starting, be certain that no further drilling is likely to be
necessary because access may be impossible later. Next will probably be the resistor, small signal diodes or
other similar size components. Some capacitors are also very small but it would be best to fit these
afterwards. When fitting each group of components mark off each one on the circuit as it is fitted so that if we
have to leave the job we know where to recommence.
Although transistors and integrated circuits are small items there are good reasons for leaving
the soldering of these until the last step. The main point is that these components are very sensitive to heat and
if subjected to prolonged application of the soldering iron, they could be internally damaged. All the
components before mounting are rubbed with sand paper so that oxide layer is removed from the
tips. Now they are mounted according to the component layout.
(E) SOLDERING :
This is the operation of joining the components with PCB after this operation the circuit will be ready to use to
avoid any damage or fault during this operation following care must be taken.
2. Types of PCB:
PCBs can be divided into three main categories:
Single Sided.
Double Sided.
Multi Layered.
It is an important process in the design of electronic equipment. The design of PCBs (Printed Circuit Boards)
depends on circuit requirements like noise immunity, working frequency and voltage levels etc. High power
PCBs requires a special design strategy.
The fabrication process to the printed circuit board will determine to a large extent the price and reliability of
the equipment. A common target aimed is the small series of highly reliable professional quality PCBs with low
investment.
The layout of PCB has to incorporate all the information of the board before one can go on the artwork
preparation. This means that a concept that clearly defines all the details of the circuit and partly defines the
final equipment is prerequisite before the actual layout can start. The detailed circuit diagram is very important
for the layout designer but he must also be familiar with the design concept and with the philosophy behind the
equipment.
PRACTICAL APPLICATIONS:
CONCLUSION:
The circuit is based on LM35 analog temperature sensor, ADC0804 and AT89S51 microcontroller. It consists
of two sections. One is that which senses the temperature i.e. LM 35. The other section converts the
temperature value into a suitable number in Celsius scale which is done by the ADC0804.
A digital thermometer can be easily made by interfacing a temperature sensor to the microcontroller
AT89C51.The LM 35 IC generates a 10mV variation to its output voltage for every degree Celsius change in
temperature. The Output of the temperature sensor is analog in nature so we need an analog to digital convertor
for converting the analog input to its equivalent binary output.ADC 0804 is an analog to digital convertor IC
used in the project. 0804 is a single channel convertor which converts the analog input up to a range of 5V to an
equivalent 8-bit binary output.