The voting machine of definition push key at random
Technical field
The utility model relates to a kind of voting machine, and the voting machine of definition push key at random particularly belongs to the technical field of voting machine.
Background technology
Voting machine is a kind of equipment that is applied in the meeting, and it is used for the ballot and the hint expression of the person of attending a meeting to resolving of meeting.The several buttons of the general tool of voting machine in the market, each button is fixed on the shell of voting machine, and each button is expressed the specific meaning.This kind voting machine has such defective: because the voting button of voting machine is fixed on the voting machine, the function of each key of tool is fixed, during voting, thereby voting person's other people can learn voting person's the voting meaning according to voting person's hand-type, so the confidentiality of this kind voting machine is not strong.
The utility model content
The utility model technical issues that need to address, promptly the purpose of this utility model is in order to provide a kind of voting machine, the confidentiality when this kind voting machine helps improving the voting machine voting.
The purpose of this utility model can reach by taking following measure:
The voting machine of definition push key at random, its design feature is: comprise shell, LCD MODULE, microcontroller, keyboard circuit, communication interface and power supply, the output terminal of microcontroller is connected with the input end of LCD MODULE; Microcontroller is connected with upper level equipment by communication interface, and the control signal output ends of microcontroller connects the control input end of keyboard circuit, and the keyboard circuit output terminal is connected with the input end of microcontroller.
Described microcontroller receives the instruction of upper level equipment, and the button of setting keyboard circuit after treatment defines numerical value at random, and the control display module shows corresponding numerical value.
The purpose of this utility model can also take following measure to reach:
Described microcontroller can be integrated circuit ATMEGA16-44A; Keyboard circuit can be made up of the button of several common cathodes, and the output terminal of each button is connected with 12,13,14,15 input ports of integrated circuit ATMEGA16-44A respectively.The optimal number of button is four
Described LCD MODULE can comprise one to four LCDs, each LCDs be arranged at accordingly respectively keyboard circuit each button near.
The utlity model has following outstanding effect:
The display screen of the utility model keyboard, LCD MODULE places on the panel of shell, and display screen places near the keyboard.Because the microcontroller of voting machine can receive the instruction of upper level equipment and after treatment each key of keyboard be defined numerical value at random, and the control display module shows corresponding numerical value.When voting, each participates in the representative content shown according to display screen of parliament, can learn the function of corresponding button, puts to the vote then.Therefore, the utility model can prevent that other people hand-type when voting person decides by vote from judging the content of voting, has improved the confidentiality of voting machine when voting.
Description of drawings
Fig. 1 is the synoptic diagram of the utility model specific embodiment 1 shell.
Fig. 2 is the synoptic diagram of the utility model specific embodiment 2 shells.
Fig. 3 is the utility model circuit block diagram.
Fig. 4 is the utility model circuit theory diagrams.
Embodiment
Below in conjunction with specific embodiment the utility model is specifically described.
Specific embodiment 1:
With reference to Fig. 1, Fig. 3, present embodiment comprises shell 5, LCD MODULE 1, microcontroller 2, keyboard circuit 3, communication interface 4 and power supply 6, and the output terminal of microcontroller 2 is connected with the input end of LCD MODULE 1; Microcontroller 2 is connected with upper level equipment by communication interface 4, and the control signal output ends of microcontroller 2 connects the control input end of keyboard circuit 3, and keyboard circuit 3 output terminals are connected with the input end of microcontroller 2.
In the present embodiment, the display screen 7 of keyboard 3, LCD MODULE 1 places on the panel of shell, and display screen 7 is LCDs of a strip, and it places the top of keyboard 3.
With reference to Fig. 4, the power supply of whole voting machine is powered by power circuit 6.The output terminal of keyboard circuit 3 is connected with the input end of integrated circuit ATMEGA16-44A, and keyboard circuit 3 is made up of button SW1, SW2, SW3, the SW4 of four common cathodes.The output terminal of each button is connected with 12,13,14,15 input pins of integrated circuit ATMEGA16-44A respectively.19,20,21,22 output pins of integrated circuit ATMEGA16-44A are connected with the output terminal of LCD MODULE 1.
That carry out that the interface circuit 4 of communication adopts with upper level equipment is integrated circuit SP485, and integrated circuit SP485 carries out routine with integrated circuit ATMEGA16-44A and is connected.
Principle of work: during work, each voting machine is received voting system.When deciding by vote at every turn, computing machine sends " button at random " and instructs integrated circuit ATMEGA16-44A, the numerical value input scheme of each key of integrated circuit ATMEGA16-44A picked at random keyboard is exported the function meaning of each key simultaneously in the relevant position of the display screen of LCD MODULE.That SW1, SW2, four buttons of SW3, SW4 are represented respectively is definite, agree with, waive the right, oppose four kinds of functions.After representative was put to the vote, integrated circuit ATMEGA16-44A gave collecting voting information the computing machine in the voting system again.Each voting, the function meaning of each button representative voting in is all different, can prevent that therefore other people from judging the content of deciding by vote by the hand-type when voting person decides by vote, and improved the confidentiality of voting machine when deciding by vote.
Specific embodiment 2:
As shown in Figure 2, the characteristics of present embodiment are: the quantity of the display screen 7 of LCD MODULE is four.Four display screens 7 are arranged near the shell upper keyboard.Each display screen respectively with keyboard on each key corresponding one by one.The common cathode button of keyboard circuit 3 can be two, more than three or five.All the other implement 1 with concrete.