Documente Academic
Documente Profesional
Documente Cultură
Introduction
AT89S52
BLOCK DIAGRAM
AT89S52
MICROCONTROLLER
8K Bytes of In-System
Flash Memory
• 256 x 8-bit Internal RAM
• 32 Programmable I/O
Lines
• Three 16-bit
Timer/Counters
• Eight Interrupt Sources
ROM - 8K bytes
RAM - 256 bytes
Timer - 3
I/O pins - 32
Serial port - 1
Interrupt sources - 8
Features of AT89S52
PIN DIAGRAM OF AT89S52
Vcc
Pin 40 provides supply voltage to the
chip. The voltage source is +5V.
GND
Pin 20 is the ground.
RESET
Pin9 is the reset pin. It is an input and is
active high. Upon applying a high pulse to
this pin, the microcontroller will reset and
terminate all the activities. This is often
referred to as a power-on reset.
PIN DESCRIPTION
This system uses 5V regulated power supply for the
microcontroller and ADC unit and 18V supply for the load
This is provided by the 18V, 2Amp transformer.
A Relay is an electrically controllable switch widely used in industrial controls, automobiles, etc…
inductor
DPDT RELAY
•In this project we will be
using 4 DPDT 5 pin relays to
switch on the load
applications.
•DPDT stands for double pole
double throw relay.
•Relay is an electromagnetic
device used to separate two
circuits electrically and
connect them magnetically.
• They are often used to
interface an electronic circuit,
which works at a low voltage
to an electrical circuit which
works at a high voltage.
Diagrammatic
explanation:
N/C AC
230V
IRON
ARM
INDUCTOR
COM
ON
N/O BULB
OFF
8/6/19 WineYard technologies
SOLAR CELL DESCRIPTION
The solar cell is composed of the semiconductors of
the P-N junctions.
It can convert light into electric energy. Therefore we
can assume that electricity produced using sunlight
shining on the solar cell can be used like common
electricity.
INVERTER
An inverter is an electrical
device that converts direct
current (DC) to alternating
current (AC); the converted
AC can be at any required
voltage and frequency with
the use of appropriate
transformers, switching, and
control circuits.
Lead Acid Battery
Specifications
12V 1.3Ah sealed lead acid battery
1. CE and Ro Hs
2. high quality and reliability
3. maintenance free
4. long life cycle
12V 1.3Ah sealed lead acid battery
General Features:
Sealed and maintenance free operation.
Non-Spillable construction design.
ABS containers and covers(UL94HB, UL94-
0)optional.
Safety valve installation for explosion proof.
High quality and high reliability.
Exceptional deep discharge recovery performance.
Low self discharge characteristic.
Flexibility design for multiple install positions.
SOFTWARE TOOLS
We use KEIL and PROLOAD softwares to
write the program in embedded C
language and to dump the program into
the Micro Controller respectively.
KEIL
KEIL is a software used where the
machine language code is written and
compiled. After compilation, the machine
source code is converted into hex code
which is to be dumped into the
microcontroller for further processing.
KEIL compiler also supports C language
code.
PROLOAD
PROLOAD is a software which
accepts only hex files.
Once the machine code is converted
into hex code, that hex code has to be
dumped into the microcontroller
placed in the programmer kit and this
is done by the PROLOAD.
CONTD..,