• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Arduino Based Electronic Voting Machine Circuit

Arduino Based Electronic Voting Machine Circuit

Last updated on 19 September 2025 by Admin-Lavi Leave a Comment

This project makes simple Arduino Based Electronic Voting Machine Circuit.

It takes votes from push buttons.

It shows result on LCD display.

This circuit is good for school or college mini projects.

Easy to build and is with low cost.

Circuit Coding:

#include <LiquidCrystal.h>
LiquidCrystal lcd(13,12,11,10,9,8);

int partyA=0, partyB=0, partyC=0, partyD=0;

void setup(){
  lcd.begin(16,2);
  lcd.print("Voting Machine");
  delay(2000);
  lcd.clear();
}

void loop(){
  if(analogRead(A0) > 500){ partyA++; delay(500); }
  if(analogRead(A1) > 500){ partyB++; delay(500); }
  if(analogRead(A2) > 500){ partyC++; delay(500); }
  if(analogRead(A3) > 500){ partyD++; delay(500); }

  if(analogRead(A5) > 500){
    lcd.clear();
    lcd.print("PARTY A:"); lcd.print(partyA);
    lcd.setCursor(0,1); lcd.print("PARTY B:"); lcd.print(partyB);
    delay(2000);
    
    lcd.clear();
    lcd.print("PARTY C:"); lcd.print(partyC);
    lcd.setCursor(0,1); lcd.print("PARTY D:"); lcd.print(partyD);
    delay(3000);
    
    lcd.clear();
  }
}

Coding Explanation:

  • We used LiquidCrystal library for LCD.
  • We make LCD object with pins.
  • We make 4 variables for vote.
  • Arduino reads A0 to A3 in loop.
  • If button is pressed then vote increase.
  • If result button is ON A5 is pressed and show all votes on LCD.
  • Then LCD clear after showing the result.
  • Delay is used to stop double count.

Circuit Working:

Arduino Based Electronic Voting Machine Circuit Diagram

Parts List:

ComponentQuantity
Potentiometer 10k1
Arduino Uno1
16×2 LCD Display1
Tactile switch5

Circuit is simple with Arduino, push buttons and LCD.

Arduino reads buttons, adds votes and shows result on LCD.

Five buttons used for party A, B, C, D and one for result.

Press any party button to give vote.

Each press adds one vote.

Press result button to see total votes.

LCD shows result few seconds then clears.

Then voting starts again.

How to Build:

To build a Arduino Based Electronic Voting Machine Circuit follow the below steps:

  • Gather all the parts as shown in circuit diagram.
  • Party A button connects to A0 and GND.
  • Party B button connects to A1 and GND.
  • Party C button connects to A2 and GND.
  • Party D button goes to A3 and GND.
  • Result button goes to A5 and GND.
  • LCD RS pin connects to D13 of Arduino.
  • LCD E pin connects to to D12 of Arduino.
  • LCD D4 pin connects to D11 of Arduino.
  • LCD D5 pin connects to D10 of Arduino.
  • LCD D6 pin goes to D9 of Arduino.
  • LCD D7 pin goes to D8 of Arduino.
  • LCD GND pin goes to GND of Arduino.
  • LCD VCC pin connects to 5V of Arduino.
  • LCD RW pin connects to GND of Arduino.
  • LCD Contrast pin connect to potentiometer middle pin.
  • Potentiometer one end go to 5V and other end to GND.

Conclusion:

This project for Arduino Based Electronic Voting Machine Circuit makes simple voting machine.

It uses Arduino, LCD and few buttons.

It is cheap and easy for beginners.

More parties and security can add later.

References:

Electronic Voting Machine using ARDUINO UNO

Filed Under: Arduino Projects, Indicator Circuits

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « PIR Motion Detector Circuit using Arduino

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • Alarm Circuits (34)
  • Amplifier Circuits (67)
  • Arduino Projects (52)
  • Audio Circuits (97)
  • Automobile Circuits (19)
  • Battery Charger Circuits (48)
  • Free Energy (13)
  • Heater and Temperature Controllers (10)
  • High Voltage (1)
  • Indicator Circuits (40)
  • Inverter Circuits (13)
  • LDR Circuits (16)
  • LED and Lamps (116)
  • Meters and Testers (28)
  • Motor Controllers (18)
  • Oscillator Circuits (34)
  • Power Supply Circuits (92)
  • Remote Control Circuits (7)
  • Security and Protection (26)
  • Sensors and Detectors (92)
  • Solar Circuits (17)
  • Timer Circuits (30)
  • Transistor Circuits (57)
  • Transmitter Circuit (13)
  • Tutorials (5)
  • Water Level Controller (4)

Recent Posts

  • Arduino Based Electronic Voting Machine Circuit
  • PIR Motion Detector Circuit using Arduino
  • LDR Light Sensor Circuit with Arduino
  • Arduino Text to Speech Voice Generator Circuit
  • Smart Table to Kitchen Order Circuit with Arduino

Recent Comments

  1. Admin-Lavi on Constant Voltage, Constant Current Battery Charger Circuit
  2. Bill on Constant Voltage, Constant Current Battery Charger Circuit
  3. Admin-Lavi on Long Range FM Transmitter Circuit (2km)
  4. Sina on Long Range FM Transmitter Circuit (2km)
  5. Admin-Lavi on Long Range FM Transmitter Circuit (2km)

Copyright © 2025 | New Circuit Ideas