smart card & gsm based voting machine

38
SMART CARD & GSM BASED VOTING MACHINE Under the guidance of : Prof. Sukant Behera Under the guidance of : Prof. Sukant Behera Department of ECE GANDHI INSTITUTE FOR TECHNOLOGY BHUBANESWAR, ODISHA

Upload: snehapanda22

Post on 14-Apr-2017

83 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: SMART CARD & GSM BASED VOTING MACHINE

SMART CARD & GSM BASED VOTING MACHINE

Under the guidance of : Prof. Sukant BeheraUnder the guidance of : Prof. Sukant BeheraDepartment of ECE

GANDHI INSTITUTE FOR TECHNOLOGYBHUBANESWAR, ODISHA

Page 2: SMART CARD & GSM BASED VOTING MACHINE

Group members

Sneha Panda 1201298298 Sneha Panda 1201298298 Suchitra Dehury Suchitra Dehury 1201298347 1201298347Ravi Shankar Kumar Ravi Shankar Kumar 1201298337 1201298337Vikash Kumar Vikash Kumar 1201298345 1201298345

Department of ECEGANDHI INSTITUTE FOR TECHNOLOGYBHUBANESWAR, ODISHA

05/02/23 GROUP NO. 2 2

Page 3: SMART CARD & GSM BASED VOTING MACHINE

content• Introduction• Reasons for choosing the project • Requirements• Block diagram• Power supply• AVR microcontroller• Smart card• LCD• GSM modem• Max-232• Technology used• GSM • RFID• USART• Advantages• Conclusion• References

305/02/23 GROUP NO. 2

Page 4: SMART CARD & GSM BASED VOTING MACHINE

INTRODUCTION In this project there will be a gate which will get access by a

smart card issued by Election Commission.

After entering, there will be an electronic voting machine set up to cast vote for different leaders.

Vote will be stored in a given number as message.

405/02/23 GROUP NO. 2

Page 5: SMART CARD & GSM BASED VOTING MACHINE

Reasons for choosing the project

The objective of this project is to remotely casting your vote from anywhere and to avoid the expenditure in voting time. Voting machine also provides easy access to cast the vote by using smart card.

505/02/23 GROUP NO. 2

Page 6: SMART CARD & GSM BASED VOTING MACHINE

REQUIREMENTSThe main components of the toolkit include • Microcontroller• GSM modem • LCD display• Smart card• MAX-232

605/02/23 GROUP NO. 2

Page 7: SMART CARD & GSM BASED VOTING MACHINE

BLOCK DIAGRAM

705/02/23 GROUP NO. 2

Microcontroller

Key

Smartcard

Rs 232 GSMModem

LCD Display

Card reader

Page 8: SMART CARD & GSM BASED VOTING MACHINE

POWER SUPPLY

805/02/23 GROUP NO. 2

Page 9: SMART CARD & GSM BASED VOTING MACHINE

Continue….• Transformer - steps down high voltage AC mains to

low voltage AC.• Rectifier - converts AC to DC, but the DC output is

varying.• Smoothing - smoothes the DC from varying greatly to a

small ripple.• Regulator - eliminates ripple by setting DC output to a

fixed voltage.

05/02/23 9GROUP NO. 2

Page 10: SMART CARD & GSM BASED VOTING MACHINE

Continue….

1005/02/23 GROUP NO. 2

Page 11: SMART CARD & GSM BASED VOTING MACHINE

AVR MICROCONTROLLER• AVR was developed in the year 1996 by Atmel

Corporation. • AVR microcontrollers are available in three categories:1. Tiny AVR  2. Mega AVR 3. Xmega AVR 

1105/02/23 GROUP NO. 2

Page 12: SMART CARD & GSM BASED VOTING MACHINE

WHY megaAVR ?

05/02/23 12GROUP NO. 2

SERIES NAME PINS FLASH MEMORY

Tiny AVR 6-32 0.5-8 KB

Mega AVR 28-100 4-256 KB

Xmega AVR 44-100 16-384 KB

Page 13: SMART CARD & GSM BASED VOTING MACHINE

WHY AVR?

05/02/23 GROUP NO. 2 13

Page 14: SMART CARD & GSM BASED VOTING MACHINE

ATmega16

1405/02/23 GROUP NO. 2

Page 15: SMART CARD & GSM BASED VOTING MACHINE

I/O PORTS :• At mega 16 have 32 general purpose digital I/O pins.

Corresponding to every pin, there are 3 different registers which control its function

DDRPORTPIN

05/02/23 15GROUP NO. 2

Page 16: SMART CARD & GSM BASED VOTING MACHINE

SMART CARDSmart cards are plastic cards with embedded, integrated

circuits and similar in size to today's payment cards.

They can be used as an access-control device, making personal and business data available only to the appropriate users.

1605/02/23 GROUP NO. 2

Page 17: SMART CARD & GSM BASED VOTING MACHINE

Continue…. There are three different categories of smart cards.

1. Integrated Circuit (IC) memory cards2. IC optical memory cards 3. IC microprocessor cards.

05/02/23 GROUP NO. 2 17

Page 18: SMART CARD & GSM BASED VOTING MACHINE

WHY IC MICROPROCESSOR CARDS

• Integrated Circuit (IC) memory cards

IC optical memory cards

IC microprocessor cards

It simply stores data in a secure manner

stores data in a secure manner

More memory capacity

stores data in a secure manner

More memory capacity

Can process different operation like add, delete and manipulate information in the memory of the card

05/02/23 18GROUP NO. 2

Page 19: SMART CARD & GSM BASED VOTING MACHINE

1905/02/23 GROUP NO. 2

Page 20: SMART CARD & GSM BASED VOTING MACHINE

LCD• Liquid crystal display (LCD) has material which

combines the properties of both liquid and crystals.

• They have a temperature range within which the molecules are almost as mobile as they would be in a liquid, but are grouped together in an order form similar to a crystal.

05/02/23 20GROUP NO. 2

Page 21: SMART CARD & GSM BASED VOTING MACHINE

16x2 Alphanumeric LCD

LCD has 2 register :-(i)Command :- stores the command instruction(ii)Data :- stores the data to be displayed

05/02/23 21GROUP NO. 2

Page 22: SMART CARD & GSM BASED VOTING MACHINE

16x2 Alphanumeric LCD

05/02/23 22GROUP NO. 2

Page 23: SMART CARD & GSM BASED VOTING MACHINE

Continue….

Commands used in 16x2 Alphanumeric LCD :-lcd_command_write (0x84);lcd_string_write (“ GIFT“);

0x80

0xc0

80 81 82 83 84 85 86 87 88 89 810 811 812 813 814 815

C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15

05/02/23 23GROUP NO. 2

Page 24: SMART CARD & GSM BASED VOTING MACHINE

• Example :-

#include <avr/io.h> #include <lcd/io.h> Void main () { lcd_init(); DDRB=0b1111 1111; DDRC=0b1111 1111; lcd_command_write (0x84); lcd_string_write (“ GIFT”); }

05/02/23 24GROUP NO. 2

Page 25: SMART CARD & GSM BASED VOTING MACHINE

GSM Modem A GSM modem is a specialized kind of modulator-demodulator in

which a SIM card is accepted and it can be operated over a subscription to the mobile operator.

Here communication between a cell to cell is highly demanded and between a computer and GSM system can also be possible i.e. known as GSM Module.

GSM module is used when a communication between a computer and a GSM system is required.

25

Page 26: SMART CARD & GSM BASED VOTING MACHINE

Continue.... In this system GSM Modem is used to send the polling results to the

monitoring station via mobile network. In this way a more secured system is presented and the chances of anomalies are reduced.

GSM Modem is SIM900 Quad-band GSM device, works on frequencies 400 MHZ, 900 MHZ, 1800 MHZ and 1900 MHZ. It is very compact in size and easy to use as plug in GSM Modem.

It can also directly interface with 5V Microcontrollers.

26

Page 27: SMART CARD & GSM BASED VOTING MACHINE

MAX-232• MAX-232 follows RS-232 protocol.

• RS-232 is a standard by which two serial devices communicate.

• Works on Full duplex transmission.

2705/02/23 GROUP NO. 2

Page 28: SMART CARD & GSM BASED VOTING MACHINE

05/02/23 GROUP NO. 2 28

ATmega16

MAX232

GSM

Rx

TX

Rx

TX

TX

Rx

Page 29: SMART CARD & GSM BASED VOTING MACHINE

TECHNOLOGY USED

RFID.

USART Communication.

05/02/23 29GROUP NO. 2

Page 30: SMART CARD & GSM BASED VOTING MACHINE

RFID• RFID (Radio Frequency Identification) is a method of

identifying unique items using radio waves.

• It is an ADC (Automated Data Collection) technology that uses radio frequency waves to transfer data between a reader and a movable item to identify.

3005/02/23 GROUP NO. 2

Page 31: SMART CARD & GSM BASED VOTING MACHINE

USARTReceiving/Transmitting :- 3 methodSimplexHalf duplexFull duplex

S/A : - Synchronous Asynchronous parallel serial fast slow set up cost high set up cost low

3105/02/23 GROUP NO. 2

Page 32: SMART CARD & GSM BASED VOTING MACHINE

SOFTWARE USED The Software which we are using for the coding of

embedded projects are:• AVR Studio

• WIN AVR

• SINAPROG Hex downloader

05/02/23 32GROUP NO. 2

Page 33: SMART CARD & GSM BASED VOTING MACHINE

BURNING PROCESS

Programwritten in

C using AVRSTUDIO

Compiled using WINAVR

Converted intoHEX format

Transferred using SINAPROG

Hex downloader

05/02/23 33GROUP NO. 2

Page 34: SMART CARD & GSM BASED VOTING MACHINE

COST ESTIMATIONCOMPONENTS COST PRICE (IN Rs)

GSM MODEM 1600

RFID READER 800

MICRO CONTROLLER 250

LCD 150

TRANSFORMER 120

VOLTAGE REGULATOR 21

DIODE 20

CAPACITOR 10

RESISTOR 1

KEY SWITCH 8

CONNECTOR 605/02/23 34GROUP NO. 2

Page 35: SMART CARD & GSM BASED VOTING MACHINE

ADVANTAGE• Saves time.

• It used to avoid forgery votes and security tensions in voting time.

• There is less chance of  violence or attack as this place is not place oriented.

• Data stores for lifetime.

• Very less resources and man power will be utilized

3505/02/23 GROUP NO. 2

Page 36: SMART CARD & GSM BASED VOTING MACHINE

CONCLUSION

The design presented here is cost effective, provide mobility, highly secured, faster tabulation of results and appropriate according to the modern day requirements.

3605/02/23 GROUP NO. 2

Page 37: SMART CARD & GSM BASED VOTING MACHINE

Reference[1] Abbott, J.: Smart Cards: How Secure Are They?. SANS Institute Reading

Room,2002.http://www.sans.org/reading_room/whitepapers/authentication/smart-cardssecure- they_131 (15.02.2012)

[2] D. Jefferson, A. D. Rubin, B. Simons, and D. Wagner. A Security analysis of the Secure Electronic Registration and Voting Experiment (SERVE), 2004.

[3] S. Canard and J. Traor´e. Anonymous Services using Smart Card and Cryptography. In J.-J. Quisquater, P. Paradinas, Y. Deswarte, and A. A. El Kalam, editors, Smart Card Research and advanced applications VI - Cardis 2004, pages 83–98. Kluwer, 2004.

[4] United States Department of Defense. (2006). Radio Frequency Identification. Available at: http://www.acq.osd.mil/log/rfid/index.htm. (Last Accessed: March 11, 2006.)

[5] Jerry Landt, "Shrouds of Time": outlines history and present of RFID: http://www.aimglobal.org/technologies/rfid/resources/shrouds_of_time.pdf

3705/02/23 GROUP NO. 2

Page 38: SMART CARD & GSM BASED VOTING MACHINE

T HA N K YOU

3805/02/23 GROUP NO. 2