CIRCUIT
Electronic
voting machine has now replaced the traditional mechanism of voting due
to several advantages like security, automatic counting etc. This
project presents a way to develop an electronic voting machine which
displays the count of votes on a 16x2 LCD interface. A user can get
his/her vote register through a set of switches (one for each
candidate). After every cast of vote, the subsequent count can be seen
on LCD. The circuit uses AT89C51 microcontroller and the code for the
project has been written in C.
This LCD
based electronic voting machine is designed for four candidates. The
input part consists of a set of six tactile switches. The switches and
16x2 LCD are interfaced to microcontroller AT89C51 for various operations and displays.
The
provision of casting votes for the candidates has been provided through
four of these switches. These switches are made active high and
connected to pins 2-5 (P1^1 – P1^4) of the controller. The remaining two
switches (both active low) are to start and stop the voting procedure.
They are connected to pins 1 and 6 (P1^0 and P1^5) respectively. The
Init (start) switch initializes the voting system when pressed, while
the Stop switch ends the voting and displays the poll results on LCD
screen.
0 comments:
Post a Comment