【正文】
學(xué)校代碼:10904 學(xué) 士 學(xué) 位 論 文基于單片機控制的電子密碼鎖的設(shè)計 姓 名:許艷學(xué) 號:201105310135指導(dǎo)教師:高珊學(xué) 院:光電工程學(xué)院專 業(yè):電子信息工程完成日期:2013年05月25日 學(xué) 士 學(xué) 位 論 文 基于單片機控制的電子密碼鎖的設(shè)計姓 名:許艷學(xué) 號:201105310135指導(dǎo)教師:高珊學(xué) 院:光電工程學(xué)院專 業(yè):電子信息工程完成日期:2013年05月25日摘 要隨著人們生活水平的提高,如何實現(xiàn)家庭防盜這一問題也變得尤其的突出。傳統(tǒng)的機械鎖由于其構(gòu)造簡單,安全性能低,無法滿足人們的需求,所以具有防盜報警功能的電子密碼鎖系統(tǒng)逐漸代替?zhèn)鹘y(tǒng)的機械式控制系統(tǒng),克服了機械式密碼控制的密碼量少,安全性能差的缺點。本設(shè)計從經(jīng)濟實用的角度出發(fā),系統(tǒng)以單片機AT89S51作為密碼鎖設(shè)計的核心元件,結(jié)合外圍的鍵盤輸入、LED顯示等電路模塊,通過單片機編寫密碼程序,用BCD7段譯碼器74LS47和38譯碼器74LS138驅(qū)動的數(shù)碼管來顯示密碼。設(shè)計實現(xiàn)了一款可多次更改密碼,具有顯示功能、報警功能的電子密碼鎖系統(tǒng)。數(shù)碼管可以實時顯示當前輸入的六位數(shù)字,當輸入密碼正確時,對應(yīng)的指示燈亮;當密碼不正確時,另一個對應(yīng)的指示燈亮并且發(fā)出聲音報警。關(guān)鍵詞:AT89S51。LED顯示。電子密碼鎖。44矩陣鍵 AbstractWith the improvement of people’s living standards,it has bee particularly prominent about how to achieve Antitheft traditional mechanical lock has such shorting as simple structure ,low security,it can’t meet people’s damands. Therefore,the electronic antitheft alarm function password control system and gradually replaces the traditional mechanical password control system ,and overes the low password numbers controlled by mechanical password and the shortings of poor safety performance.This design from the economic point of view, the system takes the MCU AT89S51 as the core ponent to design password lock, which bined with external keyboard input, LED display and other circuit modules. The password program is written by SCM, and the passwords are showed by using digital tube 74LS47 and 38 decoder 74 LS 138 driver. We design and achieve a electronic password lock system which can change passwords many times, also has the function of display and alarm . Digital tube can always display the current input of six digits . When you enter the password correctly, the corresponding indicator lights up, when the password is incorrent, the other corresponding indicator lights up and sounds alarm.Key word:AT89S51。LED。electronic password lock。44 matrix keyboard目錄第1章 緒論 課題背景和意義 1 電子密碼鎖發(fā)展趨勢 1第2章 系統(tǒng)總體方案設(shè)計 電子密碼鎖設(shè)計的要求 3 各模塊方案選擇和論證 3第3章 系統(tǒng)硬件設(shè)計 系統(tǒng)硬件概述 7 主要單元電路的設(shè)計 7 鍵盤掃描模塊電路的設(shè)計 7 單片機控制模塊電路的設(shè)計 8 聲光報警模塊電路的設(shè)計 9 數(shù)碼顯示模塊電