"Enhanced Electronic Voting System with Arduino"
Introduction: Revolutionizing Voting with Advanced Arduino-Based Electronic Voting System
Abstract: This project presents an innovative approach to modernizing the electoral process through an Enhanced Electronic Voting System powered by Arduino technology. By integrating smart features, this system addresses the challenges of manual and traditional electronic voting methods, ensuring accurate, tamper-resistant, and efficient voting procedures.
System Overview: The Enhanced Electronic Voting System employs an Arduino-powered framework with an adjustable number of push buttons corresponding to political parties. Voters select their preferred candidates by pressing the buttons, while the LCD displays real-time voting updates. The culmination of the process involves automatic result calculation upon pressing the result button.
Block Diagram: Visualizing the System Architecture of the Enhanced Electronic Voting System Using Arduino
Functional Description: This advanced voting system utilizes Arduino's capabilities as the central unit for managing key voting operations. It oversees button presses, vote increments, result generation, and LCD display updates.
Implementation: Five push buttons are allocated for various political parties (expandable as needed). Votes are tallied as buttons are pressed, and the result button triggers result display. The circuitry is connected as indicated in the diagram, with push buttons linked to digital pins (7, 6, 5, 4, 3) and LCD pins (4, 6, 11, 12, 13, 14) connected to digital pins (13, 12, 11, 10, 9, 8).
Software Implementation: Below is a simplified version of the source code used to run the Enhanced Electronic Voting System. The code initializes the LCD and buttons, handles voting updates, and displays results on the LCD.
arduino
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // Modify address (0x27) as needed
#define sw1 A0
#define sw2 A1
#define sw3 A2
#define sw4 17
#define sw5 18
int vote1 = 0;
int vote2 = 0;
int vote3 = 0;
int vote4 = 0;
void setup() {
// Initialization code...
// LCD initialization and introductory display...
// Button and pin configurations...
}
void loop() {
// Display candidate names and vote counts on LCD...
// Rest of your code...
}
Conclusion: The Enhanced Electronic Voting System, built upon Arduino technology, marks a significant stride toward accurate and modernized voting processes. By eliminating fraud and enhancing transparency, this system contributes to the foundation of robust democratic practices.
Video Tutorial: [Link to Video Tutorial]
Code:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // Change the address (0x27) to match your I2C LCD's address
#define sw1 A0
#define sw2 A1
#define sw3 A2
#define sw4 17
#define sw5 18
int vote1 = 0;
int vote2 = 0;
int vote3 = 0;
int vote4 = 0;
void setup() {
pinMode(sw1, INPUT);
pinMode(sw2, INPUT);
pinMode(sw3, INPUT);
pinMode(sw4, INPUT);
pinMode(sw5, INPUT);
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
lcd.begin();
lcd.backlight(); // Turn on the backlight
lcd.setCursor(0, 0);
lcd.print("Techatronic.com");
delay(3000);
lcd.setCursor(0, 0);
lcd.print("VOTING MACHINE");
lcd.setCursor(0, 1);
lcd.print("Circuit design");
delay(3000);
digitalWrite(sw1, HIGH);
digitalWrite(sw2, HIGH);
digitalWrite(sw3, HIGH);
digitalWrite(sw4, HIGH);
digitalWrite(sw5, HIGH);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("BJP");
lcd.setCursor(4, 0);
lcd.print("INC");
lcd.setCursor(8, 0);
lcd.print("AAP");
lcd.setCursor(12, 0);
lcd.print("OTH");
}
void loop() {
lcd.setCursor(0, 0);
lcd.print("BJP");
lcd.setCursor(1, 1);
lcd.print(vote1);
lcd.setCursor(4, 0);
lcd.print("INC");
lcd.setCursor(5, 1);
lcd.print(vote2);
lcd.setCursor(8, 0);
lcd.print("AAP");
lcd.setCursor(9, 1);
lcd.print(vote3);
lcd.setCursor(12, 0);
lcd.print("OTH");
lcd.setCursor(13, 1);
lcd.print(vote4);
// Rest of your code...
}
Note: This content revision aims to enhance the presentation, readability, and overall appeal of the original content while maintaining its core concepts and information.
Comments
Post a Comment