【正文】
................................................................................ 4 AVR16 單片機(jī)的介紹 ..................................................................................... 4 引腳說明 ....................................................................................................... 4 AVR 中斷寄存器( SREG) .............................................................................. 6 ATmega16 存儲(chǔ)器 ........................................................................................... 6 液晶顯示模塊 ........................................................................................................ 8 液晶顯示模塊概述 ......................................................................................... 8 外形尺寸 ....................................................................................................... 8 模塊引腳說明 ................................................................................................ 9 接口時(shí)序 ....................................................................................................... 9 文本顯示 RAM( DDRAM) ................................................................................11 RFID01 型射頻卡 ...............................................................................................11 概述 ..............................................................................................................11 射頻卡 工作原理 ..........................................................................................11 產(chǎn)品主要參數(shù) .............................................................................................. 12 SPI 通信協(xié)議 ............................................................................................... 13 射頻卡引腳定義 .......................................................................................... 14 3 系統(tǒng)硬件電路設(shè)計(jì) ..................................................................................................... 16 主控制模塊設(shè)計(jì) ................................................................................................. 16 II 電源模塊設(shè)計(jì) ..................................................................................................... 16 鍵盤輸入部分 ...................................................................................................... 18 報(bào)警模塊電路設(shè)計(jì) .............................................................................................. 19 室內(nèi)燈與門控門鎖電路 ....................................................................................... 19 繼電器控制模塊設(shè)計(jì) .......................................................................................... 20 4 系統(tǒng) 軟件設(shè)計(jì)與實(shí)現(xiàn) ................................................................................................... 21 軟件設(shè)計(jì)環(huán)境 ..................................................................................................... 21 ICC 開發(fā)環(huán)境和建立工程 ............................................................................ 21 下載軟件 工程運(yùn)用 ................................................................. 23 主程序的設(shè)計(jì) ..................................................................................................... 23 5 系統(tǒng)測(cè)試 及結(jié)果分析 ................................................................................................... 25 系統(tǒng)測(cè)試的方法及內(nèi)容 ...................................................................................... 25 系統(tǒng)測(cè)試的目的 ................................................................................................. 25 系統(tǒng)測(cè)試結(jié)果及分析 .......................................................................................... 25 結(jié) 論 ........................................................................................................................... 27 參考文獻(xiàn) ........................................................................................................................ 28 附錄 1 系統(tǒng)原理圖 ......................................................................................................... 29 附錄 2 系統(tǒng)的主程序 ..................................................................................................... 29 附錄 3 系統(tǒng)的作品實(shí)物圖 .............................................................................................. 34 致 謝 ................................................................................................ 錯(cuò)誤 !未定義書簽。 關(guān)鍵詞 : AVR16 單片機(jī);射頻 IC 卡; AT24C04 芯片;液晶顯示;報(bào)警電路。 現(xiàn)在大 多數(shù)的公司都需要這樣門禁系統(tǒng)的高智能化。若是非法卡,則報(bào)警系統(tǒng)會(huì)觸發(fā),并且顯示錯(cuò)誤的信息 。s electronic products, increasingly update, the intelligent entrance guard system also have to keep up with the development of The Times. Now most of the panies need such high intelligent entrance guard system AVR16 singlechip as the master control chip has been introduced in this paper, through specialized rf IC card read/write module used to read the information, when the card has into the scope of reading card, card reader will read the corresponding card number, and through the serial number of the card to make the corresponding action. If the correct credit card operation, the door opens and shows the correct. If illegal card, alarm system will trigger, and display an error message. Design USES is fully automatic, accurate identification card serial number to access the system, the system used in the block AT24C04 EEPROM chip plays an important role, after power off can be stored password, to ensure the security of the system The humanputer interaction interface used is 4 * 4 matrix keyboard input and standard characters LCD display LCD12864 module. Use key input password operation is carried out in accordance with the correct password or not. Enter the password for user to use buttons, according to the right or wrong password to make corresponding operation, the administrator can set and change the password, to prevent password theft。一種系統(tǒng)的產(chǎn)生,也就意味著另一種方式的消失,當(dāng)然這是對(duì)于大多數(shù)的城市來說,對(duì)于農(nóng)村可不會(huì)像城市那樣,他們還是在堅(jiān)持著這種古老的方式來保護(hù)自己的利益。在世界各行各業(yè)的領(lǐng)域中,它一直是作為一個(gè)重要的“角色”。然而,現(xiàn)在如果你手中有卡,然后用手