Design The New Voting System Computer Science Essay

Published: Last Edited:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

This chapter will explain how the e-voting design project will be carried out and the software that will be implemented. First, this project requires the understanding of the current voting method for the student council to help with the design of the new voting method. Next, design a system that will implement the new voting method. The new system will incorporate the entire feature required.

3.2 Flow Chart

Literature review

START Figure 3.2 shows the flowchart of the project.

Design the new voting system

Meet the entire feature require by the proposal

Develop voter GUI


Develop device-software connection

Develop administrator GUI

Develop voter identification component YES

Develop the voting component

Create the database for the system

Develop the vote tabulate algorithm

Develop the network connect between Client GUI and Administrator GUI


Final test the software and the device. Check the function of each component


Figure 3.2: Flow Chart of the Project

The work flow diagram as shown in Figure 3.2 displays the progress work of developing the real time eVoting system from start until the project is finished. The project starts with study and understanding the current method of voting for the student council. This is important because from the understanding, the weakness and strength of the current method is known. With the knowledge of weakness and strength of current method, the design for the new voting method will be improved by reducing the weakness and enhance the strength.

The new design is checked to determine whether the design meet the feature requirement that has been proposed for the new eVoting system. The feature that is not met will be rejected and redesigned. Among the features that have been proposed are a real time voting system, using database for the stored information and using of Radio Frequency Identification (RFID) for voter identification.

The next step for this project is to develop the voter GUI and administrator GUI. At the voter GUI side, the first thing to develop is the connection between the software and device. This is so the device can communicate and transfer the data to the software. Next is the development of the voter identification component. This is use to identify the voter. Next, develop the voting component. This is the main component for the system. For the administrator side, the first component is the database for the system. This is develop using a Mysql. The database will store the voter personal information, candidate information and election information. Next component for the administrator GUI is the vote tabulate algorithm. This component will tabulate the entire vote that has been cast by the voter and store it in the database.

This project proceeds with the development of the network connection between the voter GUI and the administrator GUI. This is so that voter GUI and administrator GUI can communicate to send and receive data. With the last component finish, the GUI now can identify voter, cast a vote, store data in database and display the result. The project then will be testing for all the feature and function of each component. This is to determine all the components are working properly and with no flaws. If a flaw is found, the project will be redeveloping to eliminate the flaws and recheck. If no flaw was found, the project is finish.

3.3 Methodology

This involved hardware and software implementation. There are a few methodologies to achieve the objective:

Creating and designing the Graphic User Interface (GUI) that represents the application and the service offer by this project. This GUI is developed using Microsoft Visual Basic.Net

The database is created and developed using Mysql database. All the voter personal data, candidate information and the election information will be stored in the database such faculty, CGPA, picture and etc.

Figure 3.3 show the block diagram of the real time eVoting system. Each of the voters will have the RFID card. The card will be use by the voter at the RFID reader at the polling station. The reader will send the information contain the in the RFID card to the GUI. The GUI will interpret the information and get the necessary information from the database. The GUI also will let the vote to cast their vote and store them. It all will display the result when the poling is close.


RFID card

RFID reader

GUI (Interface)



Figure 3.3: the block diagram of the real time evoting system

3.4 Hardware implementation

In this project, the hardware that will be used is RFID Reader, RFID card, serial port to USB converter and the Laptop. The RFID reader, the passive RFID card, serial port to USB converter is shown in figure 3.4




Figure 3.4: (a) RFID reader (b) RFID card (c) Serial port to USB converter

3.5 RFID Specifications

The RFID reader used in this project is RFID-IDR-232N. The RFID-IDR-232N is a high performance proximity reader featuring medium range (2 cm optimum) . This reader was made in China and is design for low frequency (125 KHz). The unit runs on 5volt (DC) supply from the USB port. Table 3.5 shows the details specifications of the RFID reader.






5Volt supply by USB port


125 KHz or 134.2 KHz


Read Only


Internal LED and Buzzer

Operating Temperature

0 - 50 Degree

Read distance

1 - 3 cm

Response time

0.1 s

Table 3.5: RFID Specifications

3.6 Software implementation

Programming can be split into 2 classes that is high level programming such as Visual Basic and low level programming such as assembly language. Each class of programming language has it own advantages and the disadvantages. Before any GUI can be developed, programming language must be chosen. For this project, the programming language chosen is Visual Basic

Visual Basic is chosen because it belongs to the high level programming language. The high level programming language ten to be more productive, user friendly and easy to write. The disadvantage of Visual Basic is less processing power.

3.7 The Graphical User Interface (GUI)

Visual Basic helps the development of the GUI faster and easier. This is because Visual Basic manipulates graphical development. The GUI can be created easily using drag and drop features of the Visual Basic.

The GUI of this project will consist of 2 parts:

Administrator GUI

Voter GUI

3.7.1 Administrator GUI

This project will provide a GUI for the administrator of the systems. This GUI will give the administrator control on the system and the capability to set the conditions of the voting process. This is essential for the admin to ensure the voting run smoothly. Among the features available at the admin GUI:

Set the number of faculty

Set the faculty name

Set the number of candidate for each faculty

Insert the candidates profile

View voters list

Add voter

Remove voter

Edit voter personal information

Set voting time

View result

Voting log

Start the election

Get reading from RFID

3.7.2 Voter GUI

The Voter GUI is a GUI for voters to cast their vote. First, The GUI will get the reading from the RFID reader to identify the voter, and then it will display the candidate list based on the voter faculty. Other feature is like:

Voter identification

Get reading from RFID reader

Stored votes

Display candidate list

Cast vote

Closed pole