Fingerprint electronic voting machine
College and society elections still use paper or simple push-button counters that allow duplicate votes. A machine that verifies each voter's fingerprint, allows one vote and counts securely shows how biometric checks work.
- Parts
- ₹2,837
- Build
- 12 weeks
- Board
- Arduino Uno
- Objectives
- 6
Block diagram
- R307 fingerprint sensorIdentifies the voter
- Candidate buttonsRecord the choice
- Arduino UnoChecks voter and stores counts
- LCDGuides the voter
- Buzzer and LEDsConfirm the vote
- Data loggerStores timestamped readings for analysis+
- Cloud dashboardStores readings, plots trends and sends alerts+
Objectives
- To enrol up to 100 voters' fingerprints with an admin mode.
- To allow one vote per enrolled finger and reject repeat attempts.
- To keep counts in EEPROM so a power cut does not lose them.
- To show results only in admin mode after polls close, and measure false rejects.
- To log timestamped data and analyse it to support the conclusions with evidence.
- To publish readings over MQTT and show them on a live dashboard with threshold alerts.
Parts and specifications
- Arduino Uno R3 (CH340 clone)ATmega328P 16 MHz, 32 KB flash, 2 KB SRAM, 5 V logic, 6 analog inputs (10-bit), 6 PWM pins₹450Buy
- R307 fingerprint sensorOptical, stores up to 1000 prints, FAR < 0.001%, match in under 1 s, UART 57600₹900Buy
- Box and admin key switch₹250
- DS3231 RTC moduleTemperature-compensated, ±2 ppm (about 1 minute a year), I²C 0x68, CR2032 backup₹150Buy
Total about ₹2,837 at typical online prices. Tap a part for its pinout and datasheet notes.
Design calculations
Each candidate count 2 bytes (up to 65,535 votes) and one 'voted' flag byte per enrolled ID: 4 × 2 + 100 = 108 bytes of the 1024 available.
100,000 writes per cell. Writing the voter's flag and one count per vote uses each cell at most a few hundred times.
The R307 returns a confidence score; accept above 50 (out of about 255). Enrol each finger twice to merge two templates.
Pin map
| Signal | Pin or connection |
|---|---|
| R307 TX → Uno D2, R307 RX ← D3 | SoftwareSerial 57600 |
| Candidate buttons 1 to 4 | D4 to D7 (pull-ups) |
| Admin key switch | D8 |
| Result button | D9 |
| LCD SDA / SCL | A4 / A5 |
| Buzzer / LEDs | D10 / D11 to D13 |
Firmware outline
- Admin mode (key switch on): enrol fingerprints to IDs 1 to 100, clear votes.
- Voting mode: show 'Place finger'; search the sensor's library.
- If no match: 'Not registered'. If matched and the ID's flag is set: 'Already voted'.
- Else show candidates; on a button press add 1 to that count, set the flag, beep and light the LED.
- Results only with admin key and result button, after polls close.
Test plan
| Test | Expected result |
|---|---|
| Enrolled voter votes | Count goes up by one |
| Same finger tries again | Rejected |
| Unregistered finger | Rejected |
| Power cut mid-poll | Counts and flags kept |
| 30 voters | False reject rate recorded |
These rows start your results table when you plan the project.
Viva practice
Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 5.
Make it yours
One or two upgrades for a mini project, two to four for a major one.
Build these first
Datasheets and sources to cite
- R307 fingerprint module user manual
- Election Commission of India EVM manual
- Microchip ATmega328P datasheet (EEPROM endurance)
About this project
How much does the fingerprint electronic voting machine project cost?
About ₹2,227 for the parts in the base list: Arduino Uno R3 (CH340 clone), R307 fingerprint sensor, Push button 12 mm × 6, 20×4 LCD with I²C backpack, Active buzzer 5 V, LED 5 mm green with 220 Ω × 4, Breadboard 830 points, Box and admin key switch.
How long does it take?
About 8 weeks for the base project, built on an Arduino Uno. Each upgrade adds time.
Which branches is it suitable for?
Electronics and Communication, Computer Science / IT (IoT, AI), Diploma (any electronics branch), as a mini or major project.
Which pins and design calculations does it use?
R307 TX → Uno D2, R307 RX ← D3 on SoftwareSerial 57600; Candidate buttons 1 to 4 on D4 to D7 (pull-ups); Admin key switch on D8. Worked calculations on this page: eeprom use, eeprom life, matching.
How do I test it?
Enrolled voter votes: Count goes up by one. Same finger tries again: Rejected. Unregistered finger: Rejected. Power cut mid-poll: Counts and flags kept. 30 voters: False reject rate recorded.
What are the objectives?
To enrol up to 100 voters' fingerprints with an admin mode. To allow one vote per enrolled finger and reject repeat attempts. To keep counts in EEPROM so a power cut does not lose them. To show results only in admin mode after polls close, and measure false rejects.
