You are on page 1of 5

Microprocessor Interfacing & Programming

EL-303
Semester Project
(Section E)
Fall 2017

Electronic Voting Machine


Using ATmega32 and Bluetooth/GSM Module

Engr. Hina Ashraf

_______________________________________________________________________

NATIONAL UNIVERSITY OF COMPUTER AND EMERGING SCIENCES (NUCES),


ISLAMABAD
Electronic Voting Machine using ATmega32

Description:

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

Voting machine will perform following functionalities:


1. User Authentication
2. To whom user wants to caste the vote.
3. Number of votes count
4. Flags indication for Winner
5. Voting Display
6. Results transmission to server

User Authentication: 4x4 Keypad will be used to enter user CNIC who wants to caste the vote.
If the user record is not in the database, or already casted the vote, it will generate the error
otherwise it will ask user to whom you want to caste the vote.
To whom user wants to caste the vote: 4 switches will be used to select for this purpose. Each
switch will indicate a particular candidate.
Number of votes count: A counter will be designed to count number of votes for particular
votes.
Flags indication for Winner: On the basis of maximum vote count, the flag of winner candidate
will be raised high through stepper motor.
Display: An LCD will be used to display all candidates names and the number of votes casted
for a particular candidate. The LCD Display may look like as shown in figure below:

Results transmission to server: Number of vote counts for each candidates will be sent to
server (Mobile phone) using serial communication through Bluetooth module.
Your system design may look like as shown in given block diagram.
(Inward arrows represent input and outward arrows represent output)

Equipment Required:
AVR Atmega32 Kit*
5V Power Supply*
Bluetooth Module Keypad
LCD
Stepper Motor + Small Flag
Jumper Wires
Dip switches

*Already issued. Remaining equipment need to be purchased from market.

Software Required:

Atmel Studio 6 or latest version


Proteus 8.1 or 7 (For Simulations)
Super PRO
Hyper Terminal / Docklight (For Serial Communication)
For Bluetooth users only: Any Bluetooth Mobile app to send code to Microcontroller.

Submission Details:
The project consists of multiple phases. For each phase, you have to submit Code and Proteus
files (if any) on SLATE for plagiarism check. For demo, you have to show Proteus
Simulations and Working Hardware.
Phase 0: Find three projects based on ATmega32 microcontroller. Choose one of the three
projects and give complete details of the project including Introduction, equipment required and
applications of the project. | Deadline 7th September, 2017

Phase 1: Deadline: 10th October, 2017


Design a flow chart of complete project using any Tool (e.g. Visio, Microsoft Office etc.).
Submit it on SLATE as well as printed copy in Lab.

Phase 2 | Counters | Deadline: 17th October, 2017


1- You have to make three individual counters for three candidates that are linked to three push
buttons. The counters are incremented whenever a push button is pressed.
2- Provide the functionality of resetting all the counters at once.

Phase 3 | Bluetooth/GSM Module Interfacing with ATmega32 | Deadline: 26th October, 2017
In this phase you have to interface Bluetooth/GSM module with ATmega32 to send values of
counters serially from mobile phone to Microcontroller via Bluetooth module/GSM module.

Phase 4 | Keypad and LCD Interfacing with Atmega32 | Deadline: 16th November, 2017
Get the ID of the voter through keypad and perform authentication. Authentication is valid if the
voters id exists in database and the voter has not casted votes already. Also display the voters
ID taken from the keypad on LCD.

Phase 5 | Indication of winner through flag and stepper motor | Deadline: 31st November, 2017
Three flags of each candidate are attached to stepper motor. On the basis of highest count, the
respective flag is raised high.

Final Demo | Integration of all modules with hardware demo. | Deadline: 7th December, 2017

Marks Distribution:

Project contains 20% weightage of total Lab Marks.

Phase Marks (Absolute)


Phase 0 1
Phase 1 2.5
Phase 2 2.5
Phase 3 2.5
Phase 4 3
Phase 5 2.5
Final Demo 6

Group Members:
This is a group Project. And Maximum 2 Students/Group are allowed.

You might also like