Beruflich Dokumente
Kultur Dokumente
CHAPTER:- 1
INTRODUCTION OF PROJECT
1.1 INTRODUCTION
In this Water Heater can control the temperature of water by using temperature
sensor. In this project, LM35 senses the temperature of water and give output to the
comparator it will convert output of LM35 in to square wave as high and low logic level. Now
comparator will compare the measured value & the set point. Then it is given to the
microcontroller through port 2. Then its output is connected to driver IC ULN2003. These IC
drives the relay and buzzer . The heater is connected through relay to the driver IC.
CHAPTER:- 2
BLOCK DIAGRAM
Above figure shows the circuit diagram of automatic water heater control by using
microcontroller. In the above figure we us the LM35 (Temperature sensor), LM358
(Comparator), transistor, AT89C51 Microcontroller, Buzzer, ULN2003 Driver Ic, Heater,
Resistor, capacitor, Relay.
In this Water Heater can control the temperature of water by using temperature
sensor. In this project, LM35 senses the temperature of water and give output to the comparator
it will convert output of LM35 in to square wave as high and low logic level. Now comparator
will compare the measured value & the set point.Then it is given to the microcontroller through
port 1. Then its output is connected to driver IC ULN2003. These IC drives the relay and
buzzer. The heater is connected through relay to the driver IC.
CHAPTER:-3
HARDWARE REQUIREMENT
A small step down transformer is used to reduce the voltage level to the
devices needs. In India, a 1 supply is available at 230 volts. The output of the transformer is
a pulsating sinusoidal AC voltage, which is converted to pulsating DC with the help of a
rectifier. This output is given to a filter circuit which reduces the AC ripples, and passes the
DC components. But here are certain disadvantages in using an unregulated power supply.
Every power supply must obtain the energy it supplies to its load, as well as any energy it
consumes while performing that task, from an energy source. Depending on its design, a power
supply may obtain energy from various types of energy sources, including electrical energy
transmission systems, energy storage devices such as a batteries and fuel cells,
electromechanical systems such as generators and alternators, solar power converters, or
another power supply.
Regulator:-
7805 regulator:-
Pin Description:
LM 7812 :-
7812 is a famous IC which is being widely used in 12V voltage regulator circuits.
Truly speaking it is a complete standalone voltage regulator. We only need to use two
capacitors, one on the input and second one on the output of 7812 in order to achieve
clean voltage output and even these capacitors are optional to use. To achieve 12V 1A
current, 7812 should be mounted on a good heat sink plate. Thanks to the transistor like
shape of 7812 which makes it easy to mount on a heat sink plate. 7812 has built in over
heat and short circuit protection which makes it a good choice for making power supplies.
Features:-
Features
Compatible with MCS-51 Products
4K Bytes of In-System Reprogrammable Flash Memory Endurance: 1,000 Write/Erase
Cycles
Fully Static Operation: 0 Hz to 24 MHz
Three-level Program Memory Lock
128 x 8-bit Internal RAM
32 Programmable I/O Lines
Two 16-bit Timer/Counters
Six Interrupt Sources
Programmable Serial Channel
Fig 6:AT89C51
GND: Ground.
Port0:
Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can
sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high
impedance inputs. Port 0 may also be configured to be the multiplexed low order address/data
bus during accesses to external program and data memory. In this mode P0 has internal pull-
ups. Port 0 also receives the code bytes during Flash programming, and outputs the code bytes
during program verification. External pull-ups are required during program verification.
Port 1:
Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 1 output buffers
can sink/source four TTL inputs. When 1s are written to Port 1 pins they are pulled high by the
internal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being
pulled low will source current (IIL) because of the internal pull-ups. Port 1 also receives the
low-order address bytes during Flash programming and verification.
Port 2:
Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 2 output buffers
can sink/source four TTL inputs. When 1s are written to Port 2 pins they are pulled high by the
internal pull-ups and can be used as inputs. As inputs,Port 2 pins that are externally being pulled
low will source current (IIL) because of the internal pull-ups. Port 2 emits the high-order
address byte during fetches from external program memory and during accesses to external
data memory that uses 16-bit addresses (MOVX @ DPTR). In this application, it uses strong
internal pull-ups when emitting 1s. During accesses to external data memory that uses 8-bit
addresses (MOVX @ RI), Port 2 emits the contents of the P2 Special Function Register. Port
2 also receives the high-order address bits and some control signals during Flash programming
and verification.
JSPMs BIT Barshi
17
Automatic Water Heater Controlling
Port 3:
Port 3 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 3 output buffers
can sink/source four TTL inputs. When 1s are written to Port 3 pins they are pulled high by the
internal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being
pulled low will source current (IIL) because of the pull-ups. Port 3 also receives some control
signals for Flash programming and verification.
RST
A high on this pin for two machine cycles while the oscillator is running resets the
device.
ALE/PROG
Address Latch Enable output pulse for latching the low byte of the address during
accesses to external memory. This pin is also the program pulse input (PROG) during Flash
programming. In normal operation ALE is emitted at a constant rate of 1/6 the oscillator
frequency, and may be used for external timing or clocking purposes. Note, however, that one
ALE Port Pin Alternate Functions P3.0 RXD (serial input port) P3.1 TXD (serial output port)
P3.2 INT0 (external interrupt 0) P3.3 INT1 (external interrupt 1) P3.4 T0 (timer 0 external
input) P3.5 T1 (timer 1 external input) P3.6 WR (external data memory write strobe) P3.7 RD
(external data memory read strobe) 4 AT89C51 pulse is skipped during each access to external
Data Memory. If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH.
With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin
is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in
external execution mode.
PSEN
AT89C51 is executing code from external program memory, PSEN is activated twice each
machine cycle, except that two PSEN activations are skipped during each access to external
data memory.
EA/VPP
External Access Enable. EA must be strapped to GND in order to enable the device to
fetch code from external program memory locations starting at 0000H up to FFFFH. Note,
however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should be
strapped to VCC for internal program executions. This pin also receives the 12-volt
programming enable voltage (VPP) during Flash programming, for parts that require 12-volt
VPP.
XTAL1: Input to the inverting oscillator amplifier and input to the internal clock operating
circuit.
There are different types of oscillator electronic circuits such as Linear oscillators
Hartley oscillator, Phase-shift oscillator, Armstrong oscillator, Clapp oscillator, Colpitts
oscillator, and so on, Relaxation oscillators Royer oscillator, Ring oscillator, Multivibrator,
and so on, and Voltage Controlled Oscillator (VCO). In this article, let us discuss in detail about
Crystal oscillator like what is crystal oscillator, crystal oscillator circuit, working, and use of
crystal oscillator in electronic circuits.
Features
CHAPTER :-4
The LM358 IC is a great, low power and easy to use dual channel op-amp IC.
It is designed and introduced by national semiconductor. It consists of two internally frequency
compensated, high gain, independent op-amps. This IC is designed for specially to operate
from a single power supply over a wide range of voltages. The LM358 IC is available in a chip
sized package and applications of this op amp include conventional op-amp circuits, DC gain
blocks and transducer amplifiers. LM358 IC is a good, standard operational amplifier and it is
suitable for your needs. It can handle 3-32V DC supply & source up to 20mA per channel. This
op-amp is apt, if you want to operate two separate op-amps for a single power supply. Its
available in an 8-pin DIP package
JSPMs BIT Barshi
23
Automatic Water Heater Controlling
Features :
The features of the LM358 IC are
It consists of two op-amps internally and frequency compensated for unity gain
The large voltage gain is 100 dB
Wide bandwidth is 1MHz
Range of wide power supplies includes single and dual power supplies
Range of Single power supply is from 3V to 32V
Range of dual power supplies is from + or -1.5V to + or -16V
The supply current drain is very low, i.e., 500 A
2mV low i/p offset voltage
Common mode i/p voltage range comprises ground
The power supply voltage and differential i/p voltages are similar
o/p voltage swing is large.
4.2 TRANSISTOR
BC547 transistor
BC547 is mainly used for amplification and switching purposes. It has a maximum
current gain of 800. Its equivalent transistors are BC548 and BC549.
The transistor terminals require a fixed DC voltage to operate in the desired region of
its characteristic curves. This is known as the biasing. For amplification applications, the
transistor is biased such that it is partly on for all input conditions. The input signal at base is
amplified and taken at the emitter. BC547 is used in common emitter configuration for
amplifiers. The voltage divider is the commonly used biasing mode. For switching applications,
transistor is biased so that it remains fully on if there is a signal at its base. In the absence of
base signal, it gets completely off.
Specifications:
Straight-lead housing
In a grounded-emitter transistor circuit, such as the light-switch circuit shown, as the base
voltage rises, the emitter and collector currents rise exponentially. The collector voltage drops
because of reduced resistance from collector to emitter. If the voltage difference between the
collector and emitter were zero (or near zero), the collector current would be limited only by
the load resistance (light bulb) and the supply voltage. This is called saturation because current
is flowing from collector to emitter freely. When saturated, the switch is said to be on.
Providing sufficient base drive current is a key problem in the use of bipolar transistors as
switches. The transistor provides current gain, allowing a relatively large current in the
collector to be switched by a much smaller current into the base terminal. The ratio of these
currents varies depending on the type of transistor, and even for a particular type, varies
depending on the collector current. In the example light-switch circuit shown, the resistor is
chosen to provide enough base current to ensure the transistor will be saturated.
In a switching circuit, the idea is to simulate, as near as possible, the ideal switch having the
properties of open circuit when off, short circuit when on, and an instantaneous transition
between the two states. Parameters are chosen such that the "off" output is limited to leakage
currents too small to affect connected circuitry; the resistance of the transistor in the "on" state
is too small to affect circuitry; and the transition between the two states is fast enough not to
have a detrimental effect.
4.3 ULN2003
Driver IC ULN2003
The relay driver uln2003 IC is a high voltage and current Darlington array IC, it
comprises of 7-open collector Darlington pairs with common emitters. A pair of Darlington is
an arrangement of two bipolar transistors. This IC belongs to the family of ULN200x ICs and
various types of this family interface to various logic families. This ULN2003 IC is for 5V
TTL and CMOS logic devices. These ICs are used as relay drivers as well as to drive a wide
range of loads, line drivers, display drivers etc.
This IC is also normally used while driving Stepper Motors. The pairs of Darlington
in ULN2003 is esteemed at 500mA and can withstand peak current of 600mA.In the pin layout,
the I/Ps & O/Ps are provided reverse to each other. Each driver also has a suppression diode to
dissipate voltage spikes while driving inductive load.
The zero crossing feature of the TRIAC driver, (an opto-isolator) ensures low noise
generation thus avoiding sudden inrush of current on resistive and inductive loads. In this
project, two push buttons are used for generating the output pulses from the microcontroller
randomly, away from the ZVS i.e. not coinciding with zero voltage supply voltage of the
waveform.
4.4 BUZZER
Types of Buzzers
There are several different kinds of buzzers. At Future Electronics we stock many of
the most common types categorized by Type, Sound Level, Frequency, Rated Voltage,
Dimension and Packaging Type. The parametric filters on our website can help refine your
search results depending on the required specifications.
The most common sizes for Sound Level are 80 dB, 85 dB, 90 dB and 95 dB We also
carry buzzers with Sound Level up to 105 db. There are several types available including
Electro-Acoustic, Electromagnetic, Electromechanic, Magnetic and Piezo, among others.
Alarm devices
Timers
Confirmation of user input (ex: mouse click or keystroke)
Electronic metronomes
Annunciator panels
Game shows
Sporting events
Household appliances
3. Ratings
* Operating Temperature Range: - 20C ~ + 105C
* Storage Temperature Range: - 40 C ~ + 105C
* Operating Voltage: 3.0 to 30.0 VDC Fig 12 :-buzzer
* Case material: PC UL 94HB
4.5 RELAY
12V Relay
A type of relay that can handle the high power required to directly control an electric
motor or other loads is called a contactor. Solid-state relays control power circuits with
no moving parts, instead using a semiconductor device to perform switching. Relays
with calibrated operating characteristics and sometimes multiple operating coils are
used to protect electrical circuits from overload or faults; in modern electric power
systems these functions are performed by digital instruments still called "protective
relays".
Features
NEED
Anytime you want to switch a device which draws more current than is provided by an
output of a switch or component you'll need to use a relay. The coil of an SPDT or
an SPST relay that we most commonly use draws very little current (less than 200
milliamps) and the amount of current that you can pass through a relay's common,
normally closed, and normally open contacts will handle up to 30 or 40 amps. This
allows you to switch devices such as headlights, parking lights, horns, etc., with low
amperage outputs such as those found on keyless entry and alarm systems, and other
components. In some cases you may need to switch multiple things at the same time
using one output. A single output connected to multiple relays will allow you to open
continuity and/or close continuity simultaneously on multiple wires.
The COM terminal is the common terminal. If the COIL terminals are energized with the rated
voltage, the COM and the NO terminals have continuity. If the COIL terminals are not
energized, then the COM and the NO terminals have no continuity.
The NO terminal is the terminal where you place the output. If there is no voltage to COIL
terminals or insufficient voltage, the output is open and receives no voltage. When the COIL
terminals receive the rated voltage or a little under, the NO terminal receives sufficient voltage
and can turn on the device on the output.
4.6 HEATER
Fig14:- heater
Coil heaters are high performance mini tubular heaters that have small rectangular,
square or round cross sections that are flexible and can acquire different shapes and
configurations.
The sheath material of standard cable heaters is stainless 304; their heating core is
coiled or straight solid Nickel Chrome wire. Cable heaters can transmit up to 35 W/in2 heating
capacity and can attain up to 1500 0F surface temperature.
CHAPTER:-5
5.1 ADVANTAGES:-
Saves Power
Using a water heater controller saves power. This is because water heater are controlled
automatically. When water is heated at specific temperature then heater is turned off.
Saves Money
Works Automatically
Another big advantage is that these devices can work on their own. There is no need to operate
them manually.
Maintenance:-
It is an economical system that requires very less maintenance as compared to conventional
system as it has no complicated circuits and delicate mechanisms. This saves the additional
maintenance cost.
Cost:-
The main advantage of the water heater controller is it has very low cost than the conventional
one available in markets. For example, some commercial controllers use microcontrollers
which alone costs Some controllers even have a price range but for our system, the components
used are less in number and easily available. Hence losses will be less leading to a better
efficiency.
Construction: -
The construction of a water heater controller is very simple as it requires only a few
components. The circuit involved is also relatively simpler.
Skill required:-
Since the system of water heater controller is simpler than the ones conventionally available,
it can be easily made at home. The controller can also be easily operated by anyone. Human
effort is reduced as the system is turned off automatically. This system consumes less power.
Simple and more reliable
5.2 APPLICATIONS:-
5.3 CONCLUSION:-
5.4 REFERENCES:-
1. www.electronicshub.com
2. www.electronicsguarage.com
3. www.wikipedea.com