Microcontroller Review2 - GRP6

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 22

“ELECTRONIC VOTING MACHINE”

USING 8051 MICROCONTROLLER

GAURAV PATIL-19BEC0399
PRANJAL GUPTA-19BEC0510
GAURAV SHARMA-19BEC0713
TAMAL KUMAR-19BEC0731
Abstract:-
Voting is most pivotal process of democratic society through which people determine its decision. Nowadays
electronic voting machine has become an effective voting tool compare with traditional paper-based voting
schemes. Flawless voting is ensuring by electronic voting machine. This is the reason it became more
widespread. People are making sure that their vote is secured. One more feature is that it avoids any kind of
malpractice or invalid votes. Besides that, talking about economic benefits, this system is more economical
than traditional paper-based voting schemes since the expenditure incurred on manpower is saved. It is also
making voter feels convenient because he or she has to press only one button of the respective candidates to
vote. Thus, we are decided to design an electronic voting machine to replace the traditional paper-based
voting schemes due to several advantages like security, automatic counting, economic etc. This project
presents a way to develop an electronic voting machine by using a 16x2 LCD. The electronic voting machine
contains 6 reset buttons which are New Entry button, 2 buttons for 2 candidates, and a Result button. The
New Entry button is to avoid any kind of malpractice or invalid votes. The New Entry button is under
supervision and control of a conservator and a user can only vote after the New Entry is pressed. Besides that,
the electronic voting machine only allow 1 vote for each user. If any user tries to press the button multiple
times to vote more, only the first vote will be registered. The 2 buttons represent the respective candidates,
voter can vote to the candidate that he or she desired to vote by press the button that represent the
candidate. The result will only display on the LCD screen at the end when the Result button is press. So that,
the result would not affect the decision of the voter during the voting process is on the way. Of course, the
Result button also under supervision and control of a conservator. Finally, the number of votes of respective
candidate will display on LCD and we can know that which candidate is won when the Result button is
pressed.
COMPONENTS
REQUIRED:

1.Microcontroller board 8051(AT89C51)


2.LCD2x16
3.Resistor
4.LED
5.Reset Button
6.CAPACITOR
METHODOLOGY
:
How does it work? First, the LCD screen will always display “Welcome to vote!” as long as
the voting is started by pressing the New Entry button after which the user is prompted to
vote. Then, the LCD screen will display “Please vote…” to indicate the voter could start to cast
a vote. The count of votes is stored in two different variables. As soon as the user votes for a
candidate by pressing one of the buttons, the value of the corresponding variable is
increased by one. After this, a Thank you message is displayed on LCD to acknowledge the
registration of user’s vote and the LCD screen will be automatically display back “Welcome
to vote!” after some delay. The message will be stays on the screen until the next voter come
and a conservator presses the New Entry button. Then the voter has to press the button to
cast another vote and finally the Result button is pressed to get the poll results. When the
Result button is pressed the names of the candidates are displayed along with their vote
counts. After some delay, the result is displayed which could be either declaration of the
winner candidate or the candidates with a clash of their number of votes.
BLOCK DIAGRAM FOR EVM:
FLOWCHART
CODE
PROTEUS
EXPECTED OUTPUT:
First of all, the electronic voting machine will be starting by display “WELCOME TO
VOTE!” as long as the New Entry button is being pressed. The button 1 represented
New Entry button and button 6 represented Result button. While the button 2,3,4 and
5 represented candidate 1,2,3 and 4. After that, the LCD screen will display “PLEASE
VOTE…” immediately to indicate the voter could start to cast their vote. The result is
shown in figure below. After the voting process is ended, the Result button is being
pressed by a conservator. Then all the candidates follow by the number of votes will be
display on LCD screen and after some delay it would declare the winner automatically.
Based on the figures above candidate1 (C1) get 18 votes while candidate2 (C2) only 11
votes. So C1 has wins the poll and the LCD screen will make a congratulation and
declare that C1 wins! Conversely the LCD screen will display “C2 wins” if the number of
votes for C2 is more than C1. In case of the number of votes for both candidates clash,
the LCD screen will ask for proceed to another voting.

You might also like