Arduino-based EVM Machine
A simple Electronic Voting Machine made using Arduino, push buttons, and an LCD display. Each button acts as a vote for a candidate, while the LCD shows voting status and results.
Supplies
- Arduino Uno
- 16x2 LCD Display
- Push Buttons
- Potentiometer 10kΩ
- Breadboard
- 9V Battery
- Jumper Wires
- USB Cable
- Led
- Resistors
Hardware Setup
After gathering all the required components, assemble the Electronic Voting Machine
The system uses four push buttons for casting votes and a fifth button for displaying the final result. A 16x2 LCD is used to show the vote count and winner information.
Connections
16x2 LCD Display
- RS → D11
- EN → D10
- D4 → D9
- D5 → D8
- D6 → D7
- D7 → D6
- VSS → GND
- VDD → 5V
- RW → GND
- VO → Potentiometer (Middle Pin)
- LED+ → 5V
- LED− → GND
Potentiometer
- One Side Pin → 5V
- Other Side Pin → GND
- Middle Pin → LCD VO (Contrast Pin)
Push Buttons
- ENG Vote Button → A0
- SCI Vote Button → A1
- HIN Vote Button → A2
- SST Vote Button → A3
- Result Button → A4
Indicator LEDs
- LED 1 → D12
- LED 2 → D13
Power
- Arduino Uno powered using a battery or USB connection.
Arduino Code
Upload the code to the Arduino using the Arduino IDE.
In this demonstration, the voting options are displayed as:
- ENG
- SCI
- HIN
- SST
These labels can be modified in the code to represent candidates, teams, parties, or any custom voting category.
Downloads
Working
Each push button represents a voting option. When a button is pressed, the corresponding vote count increases and is displayed on the LCD.
A dedicated result button is used to display the winner after voting is complete.