Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views7 pages

Arduino Project

The E-Voting System project aims to create a secure and user-friendly electronic voting system using Arduino, allowing real-time vote tallying and displaying results on an LCD. The system enables voting for four candidates and includes features like vote recording, result calculation, and a reset mechanism. While it offers advantages such as transparency and reduced human error, it lacks voter authentication, making it unsuitable for large-scale elections.

Uploaded by

Tejas Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Arduino Project

The E-Voting System project aims to create a secure and user-friendly electronic voting system using Arduino, allowing real-time vote tallying and displaying results on an LCD. The system enables voting for four candidates and includes features like vote recording, result calculation, and a reset mechanism. While it offers advantages such as transparency and reduced human error, it lacks voter authentication, making it unsuitable for large-scale elections.

Uploaded by

Tejas Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Arduino Project Title :- E-VOTING SYSTEM

AIM: To design and develop an E-Voting System using


Arduino that enables secure, efficient, and user-
friendly electronic voting. The system ensures accurate
vote recording, real-time tallying, and optional voter
authentication through components such as buttons,
LCD display.

GROUP MEMBERS:
Sr No. Name Roll No&Batch Enrollment Sign
No.
1. Gaurav 37(B) ADT23SOCB0394
Upadhyay
2. Sandilyaditya 48(B) ADT23SOCB1205
3. A.Yedukondalu 70(B) MITU22BTCS0145

About Project :
The Electronic Voting Machine using Arduino is a simple yet effective project that
demonstrates the use of microcontroller technology to conduct digital voting. The
system is designed to allow users to vote for one of four candidates (A, B, C, D) using
buttons. Votes are tallied in real time and displayed on an LCD screen. The machine
also determines the winner or handles tie cases when the result button is pressed. This
project is ideal for small-scale voting applications like school elections or community
polls.

Key Components and Functionality :

1. Objectives :
 Develop a user-friendly electronic voting system using Arduino.
 Accurately record votes and display results in real time.
 Ensure transparency by showing live vote counts. .

2. Components Used :
 Arduino Board: Acts as the microcontroller for the project.
 Push Buttons: Used to cast votes for candidates and to calculate results.
 16x2 LCD Display: Displays voting options, live vote counts, and results.
 Resistors: Ensure proper button functionality.
 Power Supply: Provides power to the system.

3. Features of the System


 Vote Recording:
 Each button press increments the vote count for a specific candidate.
 Votes are displayed in real time on the LCD.
 Result Calculation:
 A separate button triggers the result calculation.
 The system determines the candidate with the highest votes and displays the
winner.
 Handles tie cases by displaying "Tie Up or No Result."
 Reset Mechanism:
 After announcing results, the vote counters reset, allowing the system to
restart the process.

4. Advantages
 Simple and intuitive interface for users.
 Real-time vote display ensures transparency.
 Eliminates the need for manual vote counting, reducing human errors.
 Compact and portable design.

5. Limitations
 Security: The system lacks voter authentication, making it unsuitable for
large-scale or sensitive elections.

Screen Shot
(Tinkercad) :

Code :
#include<LiquidCrystal.h>
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
#define S1 7
#define S2 6
#define S3 5
#define S4 4
#define S5 3
int vote1=0;
int vote2=0;
int vote3=0;
int vote4=0;
void setup()
{
pinMode(S1, INPUT);
pinMode(S2,INPUT);
pinMode(S3,INPUT);
pinMode(S4,INPUT);
pinMode(S5,INPUT);
lcd.begin(16, 2);
lcd.print(" Electronic ");
lcd.setCursor(0,1);
lcd.print(" Voting Machine ");
delay(4000);
digitalWrite(S1, HIGH);
digitalWrite(S2, HIGH);
digitalWrite(S3, HIGH);
digitalWrite(S4, HIGH);
digitalWrite(S5, HIGH);
lcd.clear();
lcd.setCursor(1,0);
lcd.print("BJP");
lcd.setCursor(5,0);
lcd.print("CON");
lcd.setCursor(9,0);
lcd.print("AAP");
lcd.setCursor(13,0);
lcd.print("SHIVSENA");
}
void loop()
{
lcd.setCursor(1,0);
lcd.print("BJP");
lcd.setCursor(1,1);
lcd.print(vote1);
lcd.setCursor(5,0);
lcd.print("CON");
lcd.setCursor(5,1);
lcd.print(vote2);
lcd.setCursor(9,0);
lcd.print("AAP");
lcd.setCursor(9,1);
lcd.print(vote3);
lcd.setCursor(13,0);
lcd.print("SHIVSENA");
lcd.setCursor(13,1);
lcd.print(vote4);
if(digitalRead(S1)==0)
vote1++;
while(digitalRead(S1)==0);
if(digitalRead(S2)==0)
vote2++;
while(digitalRead(S2)==0);
if(digitalRead(S3)==0)
vote3++;
while(digitalRead(S3)==0);
if(digitalRead(S4)==0)
vote4++;
while(digitalRead(S4)==0);
if(digitalRead(S5)==0)
{
int vote=vote1+vote2+vote3+vote4;
if(vote)
{
if((vote1 > vote2 && vote1 > vote3 && vote1 > vote4))
{
lcd.clear();
lcd.print("BJP is Winner");
delay(3000);
lcd.clear();
}
else if((vote2 > vote1 && vote2 > vote3 && vote2 >
vote4))
{
lcd.clear();
lcd.print("CON is Winner");
delay(3000);
lcd.clear();
}
else if((vote3 > vote1 && vote3 > vote2 && vote3 >
vote4))
{
lcd.clear();
lcd.print("AAP is Winner");
delay(3000);
lcd.clear();
}
else if(vote4 > vote1 && vote4 > vote2 && vote4 >
vote3)
{
lcd.setCursor(0,0);
lcd.clear();
lcd.print("SHIVSENA is Winner");
delay(3000);
lcd.clear();
}
else if(vote4 > vote1 && vote4 > vote2 && vote4 >
vote3)
{
lcd.setCursor(0,0);
lcd.clear();
lcd.print("SHIVSENA is Winner");
delay(3000);
lcd.clear();
}
else
{
lcd.clear();
lcd.print(" Tie Up Or ");
lcd.setCursor(0,1);
lcd.print(" No Result ");
delay(3000);
lcd.clear();
}
}
else
{
lcd.clear();
lcd.print("No Voting....");
delay(3000);
lcd.clear();
}
vote1=0;vote2=0;vote3=0;vote4=0,vote=0;
lcd.clear();
}
}
Conclusion :
The implementation of an electronic voting (e-voting) system offers numerous
advantages, including enhanced accuracy, efficiency, and accessibility in the voting
process. By leveraging modern technology, e-voting systems can streamline the
election process, reduce the potential for human error, and ensure a more
inclusive experience for all voters. While there are challenges related to security
and privacy that must be addressed, the benefits of adopting e-voting systems are
significant and can contribute to more transparent and reliable elections. Future
advancements in technology will continue to improve the robustness and usability
of e-voting systems, paving the way for more widespread adoption and a more
democratic voting experience.

You might also like