【正文】
advantages over mon IC card such as its high working speed, good anticollision quality and long working distance, there will be a good prospect for it in many fields, such as automatic pricing,identify distinguishing, electric wallet and so on. The contactless IC card reader is one of the key devices of a contactless IC card system. We developed one kind of contactless IC card Acess control system, which is one part of a project and has about 100mm working distance. On the basic of the development of Entrance Guard System, at first this paper generally introduces the contactless IC card, including its feature, type, posing and international standard. Then it introduces the technology of Entrance Guard System. Based on these, the paper discusses the design of the contactless IC card reader in detail, including the circuit design and software design. The reader39。在此基礎(chǔ)上,論文 詳細(xì)地闡述了非接觸式 IC 卡 門禁系統(tǒng)的 硬件和軟件設(shè)計,讀卡器的硬件設(shè)計包括蜂鳴器驅(qū)動電路、RS232 通信電路、 TX522 讀卡模塊;軟件設(shè) 計包括讀卡器 和 外圍 電路的應(yīng)用程序設(shè)計和主程序設(shè)計三個部分 ,并 介紹了上位機 界面 設(shè)計。 從門禁技術(shù)的發(fā)展出發(fā),首先介紹了非接觸式 IC 卡的特點、種類、組成以及國際標(biāo)準(zhǔn)。由于非接觸式 IC 卡具有操作快捷、 防碰撞能力強、工作距離遠(yuǎn)、安全性高、便于 “一卡多用 ”等特點,在身份識別、自動收費和電子錢包等領(lǐng)域具有接觸式 IC 卡所無法比擬的優(yōu)越性,具有廣闊的市場前景。它利用射頻方式在非接觸式 IC 卡和讀卡器之間進(jìn)行無線雙向通信,完成目標(biāo)識別和數(shù)據(jù)交換。 編號: 畢業(yè)設(shè)計說明書 題 目: 門禁控制系統(tǒng)的研制 學(xué) 院: 機電工程學(xué)院 專 業(yè): 電氣工程及其自動化 學(xué)生姓名: 黃 鼎 權(quán) 學(xué) 號: 0600120312 指導(dǎo)教師: 郭 福 力 職 稱: 工 程 師 題目類型 : ?理論研究 ?實驗研究 ?工程設(shè)計 ?工程技術(shù)研究 ?軟件開發(fā) 20xx年 5 月 21 日 摘 要 本論文介紹了一種基于非接觸式 IC 卡的門禁管理系統(tǒng),非接觸式 IC 卡是 IC 卡領(lǐng)域的一項新興技術(shù),它是射頻識別技術(shù)和 IC 卡技術(shù)相結(jié)合的產(chǎn)物。射頻識別 (Radio Frequency identification,簡稱 RFID)技術(shù)是最近幾年發(fā)展起來的一門新的自動識別技術(shù)。而卡上電路的工作電源由讀卡器發(fā)出的電磁波能量提供?;趯嶋H應(yīng)用項目的需要,本課題開發(fā)了一種讀寫距離為 100mm 的非接觸式 IC 卡 門禁系統(tǒng) 。然后介紹非接觸式 IC 卡門禁系統(tǒng)所涉及的技術(shù)。 根據(jù)以上的研究工作,設(shè)計了一個基于非接觸式 IC 卡的門禁系統(tǒng) 。s circuit is made up of buzzer drive circuit, RS232 munication circuit, TX522 card reader module and antenna circuit. The software design includes programming of other circuit and programming of main program. At last the paper introduces the interface design for host puter. According to the study above,designed a access control system based on the contactless IC card. Key words: Contactless IC card; Radio Frequency Identification; Reader device; Acess control system 桂林電子科技大學(xué)畢業(yè)設(shè)計(論文)報告用紙 第 I 頁 共 II 頁 目 錄 引言 ...............................................................................................................1 1 緒論 .........................................................................................................2 課題研究背景和意義 ....................................................................................................... 2 國內(nèi)外情況 ....................................................................................................................... 2 國外研究現(xiàn)狀 .................................................................................................................. 2 國內(nèi)研究的現(xiàn)狀 .............................................................................................................. 3 系統(tǒng)設(shè)計 主要內(nèi)容 ........................................................................................................... 4 2 方案設(shè)計 .................................................................................................5 設(shè)計要求 ........................................................................................................................... 5 方案的論證 ....................................................................................................................... 5 方案的確定 ....................................................................................................................... 5 硬件設(shè)計 ........................................................................................................................... 6 AT89S51 單片機 ............................................................................................................... 6 報警模塊設(shè)計 .................................................................................................................. 8 顯示模塊設(shè)計 .................................................................................................................. 8 串口通信模塊設(shè)計 ........................................................................................................... 9 射頻模塊設(shè)計 ................................................................................................................. 10 3 下位機程序設(shè)計 .................................................................................... 11 單片機模塊程序設(shè)計 ......................................................................................................11 顯示模塊程序設(shè)計 .........................................................................................................11 RS232 串口通信模塊程序設(shè)計 ..................................................................................... 13 蜂鳴器驅(qū)動程序設(shè)計 .................................................................................................... 14 讀卡模塊程序設(shè)計 ......................................................................................................... 14 4 通信協(xié)議 ............................................................................................... 23 讀卡模塊串口通信協(xié)議 ................................................................................................. 23 控制字符定義 ................................................................................................................ 23 協(xié)議使用方法 ................................................................................................................ 23 單片機與 PC 機通信協(xié)議 .............................................................................................. 25 5 上位機程序設(shè)計 ........................................