【正文】
.....................................................................................4 . 引腳功能說明 ...................................................................................................................5 . 特殊功能寄存器 ...............................................................................................................6 第 節(jié) AT24C02 .........................................................................................................................9 . 性能 .................................................................................................................................10 . 引腳功能描述 .................................................................................................................10 第 節(jié) LCD1602 .......................................................................................................................10 . 接口信號說明 ................................................................................................................. 11 第 節(jié) 晶振振蕩器 ................................................................................................................. 11 第 3 章 系統(tǒng)硬件構(gòu)成 .................................................................................................................13 第 節(jié) 設(shè)計(jì)原理 ......................................................................................................................13 第 節(jié) 電路總圖構(gòu)成 ..............................................................................................................13 . 報(bào)警部分 ............................................................................................................................14 . AT24C02 存儲(chǔ)部分 ..........................................................................................................14 . 顯示部分 ............................................................................................................................15 . 復(fù)位電路 ............................................................................................................................15 . 晶振部分 ............................................................................................................................16 . 開鎖電路 ............................................................................................................................16 . 鍵盤輸入模塊 ....................................................................................................................17 第 4 章 仿真設(shè)計(jì) .......................................................................................................................18 第 節(jié) Protues 仿真軟件概述 .................................................................................................18 第 節(jié) Protues 與 Keil 的連調(diào) ................................................................................................18蘇州大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) ii 第 節(jié) Protues 與 Keil 的連調(diào)的仿真結(jié)果 ............................................................................19 第 5 章 系統(tǒng)軟件設(shè)計(jì) .................................................................................................................21 第 節(jié) 主程序流程圖 ..............................................................................................................21 第 節(jié) 按鍵功能流程圖 ..........................................................................................................21 第 節(jié) 密碼設(shè)置流程圖 ..........................................................................................................22 第 節(jié) 開鎖流程圖 ..................................................................................................................23 結(jié)論 ...............................................................................................................................................24 參考文獻(xiàn) .......................................................................................................................................25 致謝 ...............................................................................................................................................26 附錄 ...............................................................................................................................................27 附錄 1: 實(shí)物照片 .........................................................................................................................27 附錄 2: 部分源程序 .....................................................................................................................29 蘇州大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) 1 基于 AT89S51 與 AT24C02 密碼鎖的設(shè)計(jì) (蘇州大學(xué)應(yīng)用技術(shù)學(xué)院) 【摘要】:電子密碼鎖是一種通過 密碼 輸入來控制電路或是芯片工作,從而控制機(jī)械開關(guān)的閉合,完成開鎖、閉鎖任務(wù)的電子產(chǎn)品。它的種類很多,有簡易的電路產(chǎn)品,也有基于芯片的性價(jià)比較高的產(chǎn)品。 本文從經(jīng)濟(jì)實(shí)用的角度出發(fā),采用美國 Atmel 公司的單片機(jī) AT89S52 作為主控芯片與數(shù)據(jù)存儲(chǔ)器單元,結(jié)合外圍的矩陣鍵盤輸入、 LCD 液晶顯示、報(bào)警、開鎖等,用 C 語言編寫主控芯片的控制程序與 EEPROM 讀寫程序相結(jié)合, 設(shè)計(jì)了一款可以多次更改密碼,具有報(bào)警功能的電子密碼控制系統(tǒng)。 【關(guān)鍵詞】:密碼控制;單片機(jī);報(bào)警; [Abstract]: The electronic cipher lock is a electronic products, which control the mechanical switch by the control circuit or chip when you input a password. It has many different types ,for example, simple circuit products , chip products with a higher value. Now the widely used electronic locks are based on the chip and achieve the function by programming. This article from the economical and practical point of view, the use of the United States Atmel Corporation AT89S51 microcontroller as a master chip and the data memory unit, bined with the external matrix keyboard input, LED digital display, alarm, unlock and so on, dolminated by the C programming language chip EEPROM of the control procedures and the bination of reading and writing program designed to change a password many times, the police function with the electronic the password circuit design with antitest button input,intelligent control lock, unlock, alarm, multiple functions, such as Change Password. [Key words]:Password control。 Alar