Vous êtes sur la page 1sur 18

Project Title

EVM IN 8051

Under the Guidance of

Submitted by

ABSTRACT
The Project Electronic Voting System is an interesting project
which uses 8051 microcontroller as its brain.

The project is designed for Eight contestants. Voters can poll


their vote to any one of the contestant.
In this project one port is dedicated for push button switches
for eight contestants, master switch for polling officer.

PROJECT BLOCK DIAGRAM

HARDWARE REQUIREMENTS
TRANSFORMER (230 12 V AC)
VOLTAGE REGULATOR (LM 7805)
RECTIFIER
FILTER
MICROCONTROLLER (AT89S52/AT89C51)
LED
PUSH BUTTONS
BUZZER
BC547
1N4007
RESISTOR
CAPACITOR

Bridge rectifier

230 V
AC
50
Hz

5v Regulator

5V
DC
12V step down
transformer

Filter(470f)

MICROCONTROLLER

It is a smaller computer
Has on-chip RAM, ROM, I/O ports...

CPU

I/O
Port

RAM ROM
Serial
Timer COM
Port

A single chip
Microcontroller

External interrupts
Interrup
t
Control

On-chip
ROM for
program
code

Timer/Counter

On-chip
RAM

Timer 1
Timer 0

CPU

OSC

Bus
Control

4 I/O Ports

P0 P1 P2 P3

Address/Data

Serial
Port

TxD RxD

Counter
Inputs

Features of AT89S51/52
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory
Endurance: 10,000 Write/Erase Cycles
4.0V to 5.5V Operating Range
Fully Static Operation: 0 Hz to 33 MHz
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
Full Duplex UART Serial Channel
Interrupt Recovery from Power-down Mode
Watchdog Timer
Dual Data Pointer

Pin Description

LEDs are semiconductor devices are made out of


silicon,When current passes through the LED, it emits
photons as a byproduct. Normal light bulbs produce light
by heating a metal filament until its white hot
LEDs present many advantages over traditional light
sources including lower energy consumption, longer
lifetime, improved robustness, smaller size and faster
switching

BUZZER
Piezo Buzzer

This buzzer is an piezo type audio signaling device, which has a piezo
element and a oscillating circuit inside which oscillates the piezo brass base
plate, which when given voltage difference produces sound of a predefined
frequency.
Features

These high reliability piezo buzzers are applicable to general

electronics

equipment.
Compact, pin terminal type Piezo buzzer with 4 KHz output.
Pin type terminal construction enables direct mounting onto printed circuit
boards.

BC547
The BC547 transistor is an NPN Epitaxial Silicon
Transistor.
The BC547 transistor is a general-purpose transistor in
small plastic packages.

It

is

used

in

general-purpose

switching

and

amplification BC847/BC547 series 45 V, 100 mA NPN


general-purpose transistors.
Whenever base is high, then current starts flowing
through base and emitter and after that only current will
pass from collector to emitter

Refer cd

Keil an ARM Company makes C compilers, macro


assemblers, real-time kernels, debuggers, simulators,
integrated

environments,

emulators

for

evaluation

boards,

and

ARM7/ARM9/Cortex-M3,

XC16x/C16x/ST10, 251, and 8051 MCU families.


Compilers are programs used to convert a High
Level Language to object code. Desktop compilers
produce an output object code for the underlying
microprocessor, but not for other microprocessors.

i.e., the programs written in one of the HLL like


Cwill compile the code to run on the system
for a particular processor like x86 (underlying
microprocessor in the computer).

For

example

different

compilers

from

the

for

Dos

Compilers

platform
for

is

Unix

platformSo if one wants to define a compiler


then compiler is a program that translates
source code into object code.

ATMEL 89S52 Data Sheets.

www.atmel.com

www.beyondlogic.org

www.wikipedia.org

www.howstuffworks.com

www.alldatasheets.com

?
S
E
I
R
E
U
Q

U
O
Y
K
TH A N

Vous aimerez peut-être aussi