【正文】
toried storehouse. Elevator is a mechanical and electrical equipment which principle is applied by electrical control technology, the microprocessor technology and system engineering. This paper is based on AT89S51 as the core control elements designing an seven elevator simulation system, which can carry passengers to any floors and through LCD1602 display elevator floors, date, the same time the circuit application drawn is done by PROTEL99, it is using its general edition to plete the welding and plete physical testing of material objects. Using singlechip microputer control elevator can achieve a low cost, strong monality, flexibility result and it is easy to realize the plicated control ,this design is of practical use and applied value. Keywords SingleChip Elevator Control Technology III 目 錄 摘 要 ............................................................................................................................. I Abstract ........................................................................................................................ II 第 1章 緒論 ................................................................................................................ 1 研究目的與意義 ............................................................................................... 1 設(shè)計(jì)內(nèi)容及要求 ............................................................................................... 2 設(shè)計(jì)方案 ........................................................................................................... 2 第 2章 硬件系統(tǒng)實(shí)現(xiàn) ................................................................................................ 3 單片機(jī) ............................................................................................................... 3 AT89S51 單片機(jī) .............................................................................................. 4 單片機(jī)最小系統(tǒng) ............................................................................................... 7 LCD 顯示模塊電路設(shè)計(jì) ................................................................................. 8 電源電路設(shè)計(jì) ................................................................................................. 11 按鍵、報(bào)警及發(fā)光二極管 ............................................................................. 11 第 3章 軟件設(shè)計(jì) ...................................................................................................... 13 匯編語(yǔ)言 ......................................................................................................... 13 流程圖設(shè)計(jì) ..................................................................................................... 13 程序設(shè)計(jì) ......................................................................................................... 15 主程序調(diào)用 .............................................................................................. 15 中斷程序調(diào)用 .......................................................................................... 16 延時(shí)子程序 .............................................................................................. 16 LCD1602 顯示程序 ................................................................................ 17 第 4章 系統(tǒng)調(diào)試 ...................................................................................................... 19 硬件調(diào)試 ......................................................................................................... 19 靜態(tài)調(diào)試 .................................................................................................. 19 動(dòng)態(tài)調(diào)試 .................................................................................................. 19 調(diào)試結(jié)果 .................................................................................................. 19 軟件調(diào)試 ......................................................................................................... 20 實(shí)驗(yàn)平臺(tái) .................................................................................................. 21 IV 實(shí)驗(yàn)步驟 .................................................................................................. 21 軟件調(diào)試過(guò)程遇到的問(wèn)題 ...................................................................... 21 ISP 下載 ........................................................................................................... 24 結(jié) 論 .......................................................................................................................... 26 致 謝 .......................................................................................................................... 27 參考文獻(xiàn) .................................................................................................................... 28 附錄 1 ........................................................................................................................ 29 V CONTENTS 摘 要 ............................................................................................................................. I Abstract ........................................................................................................................ II 第 1章 緒論 ................................................................................................................ 1 研究目的與意義 ............................................... 1 設(shè)計(jì)內(nèi)容及要求 ............................................... 2 設(shè)計(jì)方案 ..................................................... 2 第 2章 硬件系統(tǒng)實(shí)現(xiàn) ................................................................................................ 3 單片機(jī) ....................................................... 3 AT89S51 單片機(jī) ............................................... 4 單片機(jī)最小系統(tǒng) ............................................... 7 LCD 顯示模塊電路設(shè)計(jì) ...............