Vous êtes sur la page 1sur 3

ABSTRACT

This topic presents a basic approach to develop an electronic machine. The idea is to display the count of votes on a set of seven segment displays. A set of switches are provided through which a user can cast vote. After every cast of vote, the subsequent count can be seen on the seven segments. The segments and switches are controlled through AT !C"#. $or every candidate, a segment has been provided. This voting machine is designed for four candidates. The provision of casting vote has been provided by means of four tactile switches. These switches ta%e manual inputs from the user and transfer them to the pins of controller. Based on these inputs, the vote count for different candidates is increased by AT !C"#.

To display the vote count, four seven segment displays are also connected to the microcontroller &refer seven segment interfacing with AT !C"#'. The count value for each candidate is sent to the corresponding segment. The four counts appear continuously by multiple(ing these segments through AT !C"#.

)ins *+" of the port ), are configured to ta%e inputs through switches connected to them. The data pins of the seven segments are connected to port )*. )ins -+,, of port )#, are configured as output to act as control.enable pins of the seven segments.

C/RC0/T 1/A2RA3

)R4T4T5)6

Vous aimerez peut-être aussi