Digital Voting Machine
Digital Voting Machine
Machine
A 3-input voting machine is an electronic device that takes three binary
inputs and produces a single binary output based on a predefined logic.
This presentation will explore the fundamental concepts and design of
such a voting machine using basic logic gates.
by I.SHAILESH
Basic Logic Gates: AND and OR
AND Gate OR Gate
The AND gate produces a HIGH output only The OR gate produces a HIGH output when any
when all its inputs are HIGH. It is used to of its inputs are HIGH. It is used to implement the
implement the logical conjunction operation. logical disjunction operation.
Truth Table R epresentation
Input A1 Input A2 Input A3 Output
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Logic Diagram Design
1 Input Mapping
Assign the three inputs to the 3 AND
gates as shown in logic
diagram.(A1.A2,A2.A3,A1.A3)
2 Gate Connections
Connect the 3 outputs’ of the AND
gates’ to the OR gate to implement the
desired logical
operations.(A1.A2+ A2.A3+ A1.A3)
3 Output Determination
The final output based on the connected logic
gates is GLOWIING OF LED HERE (OUTPUT=
A1.A2+ A2.A3+ A1.A3)
Circuit Implementation with Logic Gates