MOBILE VOTING : MOBILE VOTING (m-voting) Submitted to:Mr.Sayeed Tathir Abbas Submitted by:Vishal Rajora(0707731101) CONTENT : Introduction
PCB Design CONTENT OBJECTIVE : THE OBJECTIVES ARE
To save time.
To minimize errors in voting.
To make the voting easier.
It can used in selection of student secretary. OBJECTIVE COMPONENTS REQUIRED : COMPONENTS REQUIRED INTRODUCTION : India is world’s largest democracy.
In India all earlier elections a voter used to cast his vote by using ballot paper.
This is a longtime-consuming process and very much prone to errors.
This situation continued till election scene was completely changed by electronic voting machine.. Cell phone based voting machine is capable of saving considerable printing stationery and transport of large volumes of electoral material.
It is easy to transport, store, and maintain.
It completely rules out the chance of invalid votes.
Its use results eduction of polling time, resulting in fewer problems in electoral preparations, law and order, candidates' expenditure etc. and easy and accurate counting without any mischief at the counting centre. INTRODUCTION Slide 6: The aim of our project is to design & develop a mobile based voting machine.
In this project user can dial the specific number from any land line or mobile phone to cast his vote.
Once the user is connected to the voting machine he can enter his password & choice of vote.
If he has entered a valid choice & password his vote will be caste with two short duration beeps.
For invalid password/choice long beep will be generated.
User is allotted 15 seconds to enter his password & choice. A reset button is provided for resetting the system.
A total key is provided to display the result BLOCK DIAGRAM : BLOCK DIAGRAM MOBILE GSM
MODEM SERIAL INTERFACE PIC
16F876A LCD KEY BLOCK DIAGRAM EXPLANATIOPN : PIC MICROCONTROLLERS
PIC devices are grouped by the size of their instruction word length Classification
Base line: 12 bit instruction word length.Mid-range: 14 bit instruction word length. High-end: 16 bit instruction word length.
Each part of PIC can be placed into one of the three groups
Special Features BLOCK DIAGRAM EXPLANATIOPN Slide 9: The core includes the basic features that are required to make the device operate. These include
CPU (Central Processing Unit) operation
ALU (Arithmetic Logical Unit) operation
Device memory map organization
Instruction set Slide 10: Peripherals are the features that add a differentiation from a microprocessor. These include
General purpose I/O
Capture, Compare, and PWM (CCP)
Synchronous Serial Port (SSP)
Analog to Digital (A/D) Converter
Watchdog Timer PIC16F876 : PIC16F876 ….
PPPPPP PIC FEATURES OF PIC16F876 : PIC–Peripheral Interface Controller
873–28 pin,10bit adc, with internal EEPROM
F–Flash FEATURES OF PIC16F876 FEATURES OF PIC16F876 : 7X–28 pin,8bit adc, without internal EEPROM
87XX-28 pin,10bit adc, with internal EEPROM Naming of PIC
4K -Program memory
192 bytes -Data memory
128 bytes –EEPROM Data Memory
8-bit RISC ALU
28 pins with 22 I/O pins FEATURES OF PIC16F876 INPUT\OUTOUT PORTS : A port is a group of pins on a microcontroller on which the desired combinations of zeros and
ones can be set simultaneously or the present status can be read.
PIC16F873 has 3 ports
PORTA -6 bit
PORTB -8 bit
PORTC -8 bit INPUT\OUTOUT PORTS Slide 15: MAX 232
The MAX232 is an integrated circuit that converts signals from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits. The MAX232 is a dual driver/receiver and typically converts the RX, TX, CTS and RTS signals. The drivers provide RS-232 voltage level outputs (approx. ± 7.5 V) from a single + 5 V supply via on-chip charge pumps and external capacitors LCD DISPLAY : LCD DISPLAY GSM MODEM : A GSM modem is a wireless modem that works with a GSM wireless network.
A wireless modem behaves like a dial-up modem.
The main difference between them is that a dial-up modem sends and receives data through a fixed telephone line while a wireless modem send sand receives data through radio waves.
A GSM modem can be an external device or a PC Card PCMCIA Card.
GSM modem is connected to a computer through a serial cable or a USB cable.
A GSM modem in the form of a PC Card GSM MODEM GSM MODEM : It should be inserted into one of the PC Card slots of a laptop computer.
Like a GSM mobile phone, a GSM modem requires a SIM card from a wireless carrier in order to operate
computers use AT commands to control modems
These extended AT commands are defined in the GSM standards. With the extended AT commands
Reading, writing and deleting SMS messages.
Sending SMS messages.
Monitoring the signal strength.
Monitoring the charging status and charge level of the battery.
Reading, writing and searching phone book entries. GSM MODEM : CIRCUIT OPERATION : PIC16F873 has 3 ports
PORTA -6 bit
PORTB -8 bit
PORTC -8 bit
The first pin of port A is connected to reset key.
Third and fourth pin is connected to led’s.
Led connected to the third blinks if the circuit is working properly
A3 AND A4 of port A is connected to transmitter pin and receiver pin of MAX 232. CIRCUIT OPERATION CIRCUIT OPERATION : Ninth and tenth pin is connected to the crystal oscillator.
Twentieth pin is connected to a led which is the indicator of power supply
Port B is not used in this circuit.
In port C eleventh to eighteenth pins are connected to lcd.
Eight and nineteenth pin of pic is grounded
Max 232 is used in this circuit for serial communication.
In this circuit capacitors connected between the first and third pin and also between fourth and fifth pin.
Eleventh pin is connected to A3 of pic
Thirteenth, fourteenth and fifteenth pins are connected to DB 9 connecter. CIRCUIT OPERATION CIRCUIT OPERATION : Fifteenth pin is grounded.
Crystal oscillator is used for generating the clock frequency for pic.Crystal oscillator frequency for pic is 4Mhz.
Capacitors in crystal oscillator is used to avoid damping.
First supply is given. The rectifier circuit converts ac power into dc.Here bridge rectifier is used for increasing the efficiency.
Dc voltage generated is passed through a 7805 voltage regulator, output of which is 5volts.
The indicator led connected to portA starts blinking.
Programme for voting procedure is embedded on the pic
Name of the candidates appears in the lcd screen. Then we cast the vote through the cell phone in a prescribed format CIRCUIT OPERATION CIRCUIT OPERATION : The format is”*user password&candidate number”.
The pic has been programmed in such a way that no user can vote more than once.
When the message is sent,Max 232 receives the message and transmits this message to pic.
Then according to the programme candidates votes are incremented and the final result appears on the lcd. CIRCUIT OPERATION THANK YOU : THANK YOU