Smart Electronic Voting Machine Using Arduino

In this project, we will be going to build a simple Electronic Voting Machine using an Arduino LCD display. The main motive of this project is to design an electronic voting machine that will help to pull up the fraudulent manual voting systems and prior versions of electronic voting.

The device is integrated with a number of switches where A, B, C, D, and so on are the number of political parties. The voter will be allowed to choose their preferred candidate from the listed buttons. The final voting result will then be displayed on an LCD screen for the satisfaction of voters. Using the result button, the result will be automatically calculated.

Principle Behind The Electronic Voting Machine

In this project, we have used four push buttons for up to four political parties in the election. You can increase the number of candidates as per requirement. When anyone presses any of the four buttons the predefined respecting voting value will be increment by one each time. Rest of the voting process, we can see the final result by pressing the result button.

Project

Circuit Diagram

Electronic Voting Machine Circuit Diagram

Components Required

  • Arduino UNO
  • 16×2 LCD Display
  • I2C LCD Module
  • Push Buttons (x5)
  • Connection Wire
  • Breadboard
  • 5V Power Supply

Circuit Connection

Arduino Pin16×2 LCD I2C Pin
A5SCL
A4SDA
5VVCC
GNDGND

Working Principle of The Electronic Voting Machine

For the microcontroller, we chose the Arduino atmega328p microcontroller for our project. This is the heart and brain of this system. Arduino processes the complete voting process like reading the exact button, incrementing the value, generating a result, and sending the vote quantity and result to the LCD Display.

Here we have added five buttons that are assigned to candidate A, candidate B, candidate C, and candidate D, and the fifth button is used for calculating or displaying the result.

Arduino Code

To run and compile the below code you have to install this library to the Arduino IDE software.

LiquidCrystal I2C Library

Leave a Comment