Miniproject 2
Miniproject 2
BACHELOR OF TECHNOLOGY
By :
1. M.Pradeep -R170447
2. K.Sreekanth-R170381
3. P.Naveen -R171050
In the stream of
(RGUKT)
1
Table of contents
2
Abstract:
3
Literature review:
4
2000 to 2005, with 440,146 from BEL and 490,206 from ECIL .
(The first generation machines are deemed too risky to use in
national elections because their 15-year service life has expired ,
though they are apparently still used in certain state and local
contests.) In the 2009 parliamentary election, there were
417,156,494 votes cast, for an average of 302 votes per machine .
Ashok Kumar D., UmmalSariba Begum T., “A Novel design of
Electronic Voting System Using Fingerprint”, International
Journal of Innovative Technology & Creative Engineering
(ISSN:2045-8711),Vol.1,No.1. pp: 12 19, January 2011 Electronic
Voting System that will automatically perform authentication
validation and counting with the help of UIDAI. The proposed
electronic voting system can be implemented along with the
traditional election system. The proposed an approach that will use
the information provided by UIDAI in electronic voting system. Is
a Project Director at Contain Southampton, United Kingdom. His
generation on Biometric technology such as fingerprint. The
fingerprints are more secured technology. Those are use in smart
e-voting to secure voting process. Fingerprint are use to match the
voter data base otherwise voter cannot vote. The fingerprint
technologies are using Chris Roberts in voting system
5
easy to manufacture paper ballots and the ballots can be retained
for verifying, this type is still the most common way to vote.
2) Lever voting machine: Lever machine is peculiar equipment,
and each lever is assigned for a corresponding candidate. The
voter pulls the lever to poll for his favorite candidate. This kind of
voting machine can count up the ballots automatically. Because its
interface is not user-friendly enough, giving some training to
voters is necessary.
3) Direct recording electronic voting machine: This type, which is
abbreviated to DRE, integrates with keyboard, touchscreen, or
buttons for the voter press to poll. Some of them lay in voting
records and counting the votes is very quickly. But the other DRE
without keep voting records are doubted about its accuracy.
4) Punch card: The voter uses metallic hole-punch to punch a hole
on the blank ballot. It can count votes automatically, but if the
voter‟s perforation is incomplete, the result is probably
determined wrongfully.
5) Optical voting machine: After each voter fills a circle
correspond to their favorite candidate on the blank ballot, this
machine selects the darkest mark on each ballot for the vote then
computes the total result. This kind of machine counts up ballots
rapidly. However, if the voter fills over the circle, it will lead to
the error result of optical scan.
6
Introduction To Title:
7
Objective of the Project :
METHODOLOGY:
The aim and the objective are clearer due to the data and
information has been gathered from the previous literatures. The
design model is the result of the hardware and software
integration. The design model shows the prototypes, elements,
architecture and components of the system. However in order to
make this project successful the hardware and the software must
be well integrated and organized. Finding the answers to some
possible questions that may come up in the primary research is the
aim of the secondary research. In order to achieve successful
project, solution form the researcher is necessary. In order to
8
develop fingerprint voting system, enormous research must be
done to find the suitable software that is capable to meet the
project requirements. Furthermore, some technical element has to
be taken into account during developing the hardware and
implementing the software into the hardware.
Hardware Components:
1.Fingerprint Module
2.Arduino UNO
3.LCD
4.Connecting Wires
5.Switches
6.Bread board
9
1.Fingerprint Module:
10
2.Arduino UNO:
11
Reset:This pin of the board is used to reset the microcontroller. It
is used to Resets the microcontroller.
Analog Pins:The pins A0 to A5 are used as an analog input and it
is in the range of 0-5V.
Digital Pins:The pins 0 to 13 are used as a digital input or output
for the Arduino board.
Serial Pins: These pins are also known as a UART pin. It is used
for communication between the Arduino board and a computer or
other devices.The transmitter pin number 1 and receiver pin
number 0 is used to transmit and receive the data resp.
External Interrupt Pins:This pin of the Arduino board is used to
produce the External interrupt and it is done by pin numbers 2 and
3.
PWM Pins:This pins of the board is used to convert the digital
signal into an analog by varying the width of the Pulse. The pin
numbers 3,5,6,9,10 and 11 are used as a PWM pin.
SPI Pins:This is the Serial Peripheral Interface pin, it is used to
maintain SPI communication with the help of the SPI library. SPI
pins include:
1.SS: Pin number 10 is used as a Slave Select
2.MOSI: Pin number 11 is used as a Master Out Slave In
3.MISO: Pin number 12 is used as a Master In Slave Out
4.SCK: Pin number 13 is used as a Serial Clock
LED Pin:The board has an inbuilt LED using digital pin-13. The
LED glows only when the digital pin becomes high.
12
AREF Pin:This is an analog reference pin of the Arduino board. It
is used to provide a reference voltage from an external power
supply.
3.LCD :
13
•Pin3 (V0/VEE/Control Pin): This pin regulates the difference
of the display, used to connect a changeable POT that can
supply 0 to 5V.
•Pin4 (Register Select/Control Pin): This pin toggles among
command or data register, used to connect a microcontroller unit
pin and obtains either 0 or 1(0 = data mode, and 1 = command
mode).
•Pin5 (Read/Write/Control Pin): This pin toggles the display
among the read or writes operation, and it is connected to a
microcontroller unit pin to get either 0 or 1 (0 = Write
Operation, and 1 = Read Operation).
•Pin 6 (Enable/Control Pin): This pin should be held high to
execute Read/Write process, and it is connected to the
microcontroller unit & constantly held high.
•Pins 7-14 (Data Pins): These pins are used to send data to the
display. These pins are connected in two-wire modes like 4-wire
mode and 8-wire mode. In 4-wire mode, only four pins are
connected to the microcontroller unit like 0 to 3, whereas in 8-
wire mode, 8-pins are connected to microcontroller unit like 0 to
7.
•Pin15 (+ve pin of the LED): This pin is connected to +5V
14
•Pin 16 (-ve pin of the LED): This pin is connected to GND.
4.Switches:
A push button switch is a mechanical device used to control
an electrical circuit in which the operator manually presses a
button to actuate an internal switching mechanism
5.Breadboard:
15
Schematic block diagram:
LCD
Arduino Fingerprint
Switches Uno Module
16
Hardware Implementation of Embedded System:
In order to build a working prototype system, all the selected
components should be integrated. Before starting the hardware
integration, the schematic circuit was created which can be seen in
figure.The schematic diagram helps to understand and visualize
the connections between components.
17
Flowchart of working process of fingerprint voting machine.
Enrollment :
The portion of the code that execute enrollment of voters is shown
in mention under vote function. The code in structured inside
Enroll function.Count is the number given for the fingerprint and
its default value is set to 0. The value is increased and decreased
by pressing ‘Up’ and ‘Down’ switch respectively.
18
Flowchart of Fingerprint enrolment process
Before scanning the finger, a numerical equivalent value needs to
be assigned to the possible fingerprint so that the fingerprint can
be saved in a fixed unique integer value location and can be easily
accessed during the voting process. DY50 has internal memory of
512 bytes and is capable to store up to 162 different fingerprints
templates, therefore the unique numerical identification location to
the fingerprint can be manipulated by pressing ‘Up’ and ‘Down’
switch, pressing these buttons increases and decreases the
numerical value to be assigned to the fingerprint respectively.
After each possible number to be assigned ‘Select’ switch needs to
be pressed to authorize the action of assigning number to the
fingerprint. The process of registering a fingerprint into the system
19
in shown in figure 18 in the form of flow chart. To execute these
functions in voting system microcontroller is programmed in C
language. The portion of the code that execute enrollment of
voters is shown in mention under vote function. The code in
structured inside Enroll function. Count is the number given for
the fingerprint and its default value is set to 0. The value is
increased and decreased by pressing ‘Up’ and ‘Down’ switch
respectively.
20
message in LCD. If the image is not read properly user is re-
instructed to place finger. Once the image is taken, the image is
analyzed using finger.getImage function as provided in ada fruit
library.
Voting Procedure :
After successful registration of fingerprints, users with registered
finger image are eligible to vote. The voting process is controlled
by the microcontroller as instructed by code.screen then displays
instruction to cast the vote if the voter authentication is passed.The
integral count of vote is increased and further stored in the
memory of microcontroller. The instructions displayed in screen
during voting process.
Authentication:
The eligibility of a voter to vote is limited to only one time for one
voting session, as the system is designed to deny multiple voting
by aborting access to vote for the same finger image more than
once. The portion of the code that checks the status of voter either
has already voted or not is defined inside the void loop. The status
is monitored by flag register, when the vote is casted the flag is
assigned to 0 integer, so if the same user tries to vote for second
time the flag value is evaluated before authorizing vote access to
vote, and if flag has value 1, the procedure is aborted. Thus, the
authenticity of the system is maintained.
Also, if a person whose fingerprint is not registered in the system
tries to vote the message ‘Finger Not Found Try Later’ is
displayed in LCD screen as show in fig. Thus, the person is barred
from voting.
21
Message in LCD denying voting
Result :
All the casted votes are collected and stored in memory and
analyzed at the end of the voting process. ‘Result’ displays the
result. Result function basically calculates the total count of votes
of each candidate by adding number of time switches allocated for
each individual candidate were pressed. Simultaneously, the result
is also stored in memory of Arduino so that it can be accessed
after the voting process .
23
errors happening from electronic system so, people
can rely on results to be accurate.
• Time Saving: It takes weeks to count the votes by
election personnel sometimes. This time frame is not
peaceful for that area so it is ideal to get result as
soon as possible. The manual vote counting technique
can be seen in figure 20. With electronic device
election results can be produced is minutes rather
than days or weeks.
24
Disadvantages:
26
Conclusion :
Reference:
[1] Balaji, Speech of Shri V S Sampath, CEC for Defence Estates
Day Lecture 2014.
[2] R. Haenni, E. Dubuis, and U. Ultes-Nitsche, “Research on e-
voting technologies." Bern University of Applied Sciences,
Technical Report 5, 2008.
[3] G.V.L. N. Rao. Democracy at Risk! Citizens for Veri_ability,
Transparency & Accountability in Elections, New Delhi,
[4] Election Commission of India.
[5] A. K. Agarwala, D. T. Shahani, and P. V. Indiresan. Report of
the expert committee for evaluation of the upgraded electronic
voting machine (EVM). Sept. 2006.
27
[6] Wikipedia. Results of the 2009 Indian general election by
parliamentary constituency Sanjay Kumar, Manpreet
Singh,”DESIGN OF A SECURE ELECTRONIC VOTING
SYSTEM USING FINGERPRINT TECHNIQUE”,IJCSI
International Journal of Computer Science Issues, Vol. 10, Issue 4,
No 1, July 2013
[7] Press Trust of India.
28