INTRODUCTION 1 INTRODUCTION 6 INTRODUCTION 36 MYKAD Detector For Alcohol Vending Machine.

1 INTRODUCTION 1

1.0 INTRODUCTION 1

1.1 BACKGROUND 1

1.2 PROBLEM STATEMENTS 3

1.3 OBJECTIVES 4

1.4 SCOPE OF PROJECT 1.4.1 Target User

1.4.2 Specific Platform

4 4 4

1.5 PROJECT SIGNIFICANT 5

2 LITERATURE REVIEW 6

2.0 INTRODUCTION 6

2.1 MYKAD READER 7 2.1.1 Packages Includes 7 2.1.2 Information Reads From MykadRead 7 2.1.3 User Convenience And Speed 8

2.1.4 Anti-Collision 9

2.1.5 Security 9

2.1.6 Multi-Functionality 9

2.1.7 Reliability 10

2.1.8 Features of the MIFAREā€š System 10

2.1.9 MF1 IC S50 Card IC 11

2.1.10 Security 11

2.1.11 Multi-application memory 12

2.1.12 Typical Transaction Time 12

2.1.13 Block Description 13

2.1.14 Antenna 13

2.1.15 Communication Scheme RWD Card 14

2.1.16 Anti-collision loop 14

2.1.17 Select Card 15

2.1.18 Access Specification 15

2.1.19 Data Integrity 15

2.1.20 Security 16

2.2 VISUAL BASIC 6.0 17

2.2.1 Overview 18

2.2.2 Major Language Features 18

2.3 USB TO SERIAL CONVERTER 20

2.3.1 USB to Serial Board 21 2.3.2 Hardware Composition 21

2.3.3 4-Pin UART Connector 22

2.4 SMALL DC MOTOR DRIVE BOARD 23

2.4.1 Connecting to Connectors 24

2.4.2 Pin Numbers of DC Motor Connector J952, J953

24 2.4.3 Hardware connection 25

2.5 LCD MODULE 25

2.5.1 UART Connection 26

2.5.2 S-LCD Working Mode 27 2.5.3 Communication Speed Setting 31

2.6 PIC ATMEGA 128L 32

2.6.1 Controller Features 32

2.7 SUMMARY 35

3 METHODOLOGY 36

3.0 INTRODUCTION 36

3.1 PROJECT FLOWCHART 36

3.1.1 Literature Review 38

3.1.2 Develop Coding and Designing GUI 38

3.1.3 Develop Hardware and Design Circuit 38

3.1.4 Testing 38

3.1.5 Conclusion and Write Thesis 38

3.2 PROCESS FLOWCHART 39

3.2.1 Description Of Process Flowchart 41

4 RESULT AND ANALYSIS 42

4.0 INTRODUCTION 42