Vote Disposal System Design of Basing on PC
- Author
- LiuZiGui
- Advisor
- MaoHanLing , HuangZhenFeng
- School
- Guangxi University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 110
- Citations
- 9
Abstract
With our country’s economic information developing rapidly today, the method of traditional counting vote can not meet the needs of the society because of the low efficiency and psychology obstacle. Difficult problem can be solved by vote disposal system design of basing on PC , which may be used not only the small vote but also the large-scale vote of possessing thousands of candidates, and the voting result can been printed with high efficiency at the same time. The whole system’s structure is very simple and inexpensive. The system supports concurrent operation of device because USB 100 module is used for communication bridge between AT89C51 and Personal Computer, the speed and the veracity of vote disposal is much improved. A great deal manpower and material resources will be saved by using the system. Then work efficiency will be improved greatly.The vote disposal system is made up of hardware (Optical Mark Reader) and software, Optical Mark Reader read vote and collects the data information of vote, its structure can be divided into mechanical transmission, photoelectric sensor, MPU and USB module ect.The part of chanical transmission that ensures votes to get across the photoelectric sensor placidly and rapidly is divided into stepping motor, gear change mechanism, the part of driving paper and supporting paper board ect. Photoelectric sensor which identify the information symbol of votes is composed of LED and PT. USB 100 provide the two applied programme manners of suppositional COM port and dynamic link library, which reduces the difficulty of the applied program. MPU is put inside the OMR that have the effect of disposing independently in order to enhance the function of OMR and reduce the burden of PC. AT89C51 is the CPU that answers for collecting the data and communicating with the USB 100. Application is provided with the function of creating and printing votes, setting up candidates’ information database, printing report forms,communicating with OMR ect.Moreover vote disposal system of basing on PC can be applied in the other aspect, for example, examination, teaching evaluation, democratic election, personnel select, market research and poll ect.
Table of contents
First chapter 8-13
1.1 subject background and significance of
1.2 of vote-rigging system development 8-10
1.2. an electronic voting 8-9
1.2.2 PLC vote 9
1.2.3 smart ballot box 9-10
1.3 photoelectric reader Development Status 10-11
1.4 photoelectric reader classification 11-13
Chapter II USB interface technology 13-32
2.1 the USB the status of 13-14
2.2 USB the concept and its characteristics 14
2.3 USB specification 14
2.4 hub specification 14-15
2.5 USB use classification 15-16
2.6 USB data flow model, 16-26
2.6.1 bus topology 18
2.6.2 USB host 18-19
2.6.3 USB devices 19-20
2.6.4 bus physical topology 20-21
2.6.5 bus logical topology 21-22
2.6.6 client software layer and application layer 22-23
2.6. 7 USB traffic 23-24
2.6.8 device endpoint 24-25
2.6.9 No. 0 endpoint 25
2.6 .10 non-zero endpoint requirements 25
2.6.11 channel 25-26
2.7 USB bus protocol 26
2.8 USB transmission type 26-28
2.9 USB drive's characteristics and use of 28-32
Chapter III optical reader designed 32-52
3.1 Based on PC-ballot system design requirements 32
3.2 functional modules based on the processing system of the PC votes 32
3.3 optical reader of the principle 32-
3.4 The structure of the optical reader 32-49
3.4.1 mechanical transmission 33-39
3.4.2 photoelectric sensor (optical probe) is 39-41
3.4.3 USB100 modules is 41-44
3.4.4 microprocessor 44-49
3.5 optical reader circuit design 49-52
the fourth chapter of the software design 52-72
4.1 ballot design 52-54
4.1.1 ballots layout is 52-53
4.1.2 votes generated preview program 53-54
4.2 database created 54-60
4.2.1 MFC ODBC database access technology introduced 54-55
4.2.2 ODBC data source to create 55-56
4.2.3 database design 56
4.2.4 to generate procedural framework 56-57
4.2.5 record to add functionality 57-59
4.2.6 record delete function 59-60
4.2.7 record to modify the function 60
4.3 counting procedures designed 60
4.4 Report Print 60
4.5 communications applications 60-72
4.3.1 MSCOMM control provides two ways to deal with the means of communication 61
4.3.2 MSComm control the common property 61-63
4.3.3 MSComm control events 63-64
4.3.4 Communication Program Design 64-72
Conclusion to Chapter 72-73
References 73-75
Acknowledgements 75
Related dissertations
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- VxWorks Migration on VME Bus Embedded Controler
- Embedded Linux-based USB Encryption Driver Design
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research Communication Device and Communication Protocols Based on USB Interface
- Research and Implementation of Infrared Touch Screen Based on HID Class
- The Designand Realization of Embedded USB Mass Storage System
- Design and development of laser gyro and USB interface frequency test system
- Analysis and Application of USB3.0High-Speed Signal Integrity
- A Reaserch of Phase Locked Loop Design Applying to Universal Serial Bus Equipment