【正文】
目 錄 摘要 ...................................................................................................................................... I Abstract ............................................................................................................................. II 第 1 章 緒 論 ............................................................................................................... 1 本課題的研究背景 .................................................................................................... 1 本課題的主要研究工作 ........................................................................................... 2 本課題的研究意義 .................................................................................................... 2 本設(shè)計(jì)主要的應(yīng)用場(chǎng)所 ........................................................................................... 2 第 2 章 基于單片機(jī)的門控系統(tǒng)電路硬件設(shè)計(jì) ............................................................... 3 基于單片機(jī)門控系統(tǒng)電路主框圖和工作基本原理 ............................................... 3 各分電路設(shè)計(jì) ........................................................................................................... 4 本章小結(jié) ................................................................................................................. 13 第 3 章 基于單片機(jī)門控系統(tǒng)的軟件設(shè)計(jì) ..................................................................... 14 軟件 整體框圖 ......................................................................................................... 14 主程序流程圖 ......................................................................................................... 15 DS1302 子程序 ........................................................................................................ 16 密碼輸入及其判斷子程序 ...................................................................................... 17 門號(hào)輸入及其判斷子程序 ...................................................................................... 18 1602 液晶模塊顯示子程序的設(shè)計(jì) ......................................................................... 19 本章小結(jié) .................................................................................................................. 22 第四章 protues 仿真 ....................................................................................................... 23 歡迎界面 .................................................................................................................. 23 密碼輸入開門功能的仿真 ...................................................................................... 23 門號(hào)輸入及呼叫功能的仿真 .................................................................................. 24 重復(fù)上次呼叫功能的仿真 ...................................................................................... 26 非正常情況下報(bào)警的仿真 ...................................................................................... 26 本章小結(jié) .................................................................................................................. 26 第五章 設(shè)計(jì)總結(jié) ........................................................................................................... 27 參考文獻(xiàn) ........................................................................................................................... 29 附錄 1 ................................................................................................................................ 30 附錄 2 ................................................................................................................................ 53 電路設(shè)計(jì)總原理圖 ........................................................................................................ 53 仿真電路元件清單 ........................................................................................................ 55 單片機(jī)門禁系統(tǒng)設(shè)計(jì)畢業(yè)論文 I 基于單片機(jī)的門控系統(tǒng) 設(shè)計(jì) 摘要 : 在現(xiàn)代樓宇自動(dòng)化的應(yīng)用中,門 控 系統(tǒng)應(yīng) 用得十分廣泛,它提高了住宅質(zhì)量和人們的生活的安全性,本課題主要是設(shè)計(jì)出一種小型的門 控 系統(tǒng),基于 51 單片機(jī),以 鍵盤 密碼的輸入方式實(shí)現(xiàn)對(duì)門的出入控制, 或者通過鍵盤輸入門號(hào)的方式,進(jìn)行對(duì)講方式住戶實(shí)現(xiàn)開門。 適用于 普通樓宇 單位 的進(jìn)入控制 ,可實(shí)現(xiàn): 對(duì)通道進(jìn)出權(quán)限 的控制(密碼輸入進(jìn)門的控制) ;對(duì)講系統(tǒng)(可實(shí)現(xiàn)門外和住戶的對(duì)話及開門控制)。在異常情況下(非法侵入、門超時(shí)未關(guān))實(shí)現(xiàn)報(bào)警; 本系統(tǒng)的核心器件是單片機(jī), 通過對(duì)單片機(jī)已經(jīng)寫入得程序的實(shí)現(xiàn)上述功能 ??蓪?shí)現(xiàn)普通機(jī)械門鎖所不能實(shí)現(xiàn)的自動(dòng)門 控 系統(tǒng)。 關(guān)鍵詞 : 51單片 機(jī)、門控系統(tǒng)、對(duì)講系統(tǒng)、智能樓宇自動(dòng)化 單片機(jī)門禁系統(tǒng)設(shè)計(jì)畢業(yè)論文 II The Entrance Guard System Based on MCU Abstract: The Access control system have being using very extensive, in the modern building automation applications, what improve the quality of people life and the residence of safety. The primary written assignment for this subject is design a Small systems of Access control it base on 51MCU, which realizing the access control with the input password or call way. This system can be applied in general building unit of access control. Its function as follows: The permissions to access control( entrance with the right pass code) ; Access talkback system(the door’s open and Dialogue function); Alarm In exceptional circumstances (Illegal invasion/ the door not be closed overtime). The MCU is the core device of this system. This system runs throughout the course of program. It can realize the function that mon mechanical lock cannot achieve. Keywords: 51MCU(Micro programmed Control Unit), Access Control System, Dialogue System, Intelligent Building Automation Technology. 基于單片機(jī)的門控系統(tǒng)設(shè)計(jì) 1 第 1 章 緒 論 本課題的研究背景 門控( 門禁 ) 系統(tǒng)屬于智能建筑樓宇自動(dòng)化系統(tǒng)( BAS)種的安防系統(tǒng),是一種新型的現(xiàn)代化安全管理系統(tǒng), 高水平的 門 控 系統(tǒng)集成自動(dòng)識(shí)別技術(shù)和現(xiàn)代安全管理措施為一體,能夠?qū)Ω魍ǖ揽诘奈恢?,通行?duì)象及通行時(shí)間、方向等進(jìn)行實(shí)時(shí)的控制,從而實(shí)現(xiàn)對(duì)出入口的安全控制。 隨著自動(dòng)識(shí)別技術(shù)的發(fā)展,門 控(門 禁 ) 系統(tǒng)得到了飛躍式的發(fā)展,進(jìn)入了成熟期, 但是總體來(lái)說門控(門禁)系統(tǒng)大體分為這 一下三類: 密碼門禁系統(tǒng) , 刷卡門禁系統(tǒng) ,生物識(shí)別門禁系統(tǒng) 。 隨著電子信息技術(shù)的高速發(fā)展 ,門 控 系統(tǒng)應(yīng)用的自識(shí)別技術(shù)更為先進(jìn)(感應(yīng)接觸技術(shù)、生物識(shí)別技術(shù)等),設(shè)計(jì)也趨于更合理,控制器與識(shí)別儀分體設(shè)計(jì),識(shí)別儀安裝在門外,控制器安裝在門內(nèi),即只有識(shí)別儀對(duì)控制器的輸入線露在門外,其他所有控制線均在門內(nèi),因此在安全性方面有很大的提高,系統(tǒng)的可靠性、管理和使用的方便性等方面也有很大的進(jìn)步。 在與微機(jī)的通信方面, 從 較早的門 控 系統(tǒng)多為單機(jī)控制型 到 采用 RS485 通信方式的網(wǎng)絡(luò)系統(tǒng) ,網(wǎng)絡(luò)型門禁系統(tǒng) 開始快速發(fā)展 。這種類型 的門 控 系統(tǒng)中門控制器 與 管理