【正文】
屆 . 別 . 2020 屆 學 號 畢業(yè)設計 基于單片機設計的 8 層電梯模擬系統(tǒng) 姓 名 系 別、 專 業(yè) 導 師 姓 名、職 稱 完 成 時 間 目錄 摘要 .............................................................................................................................................. I Abstract........................................................................................................................................ II 1 緒論 ........................................................................................................................................1 課題背景 ......................................................................................................................1 電梯的發(fā)展趨勢 ...........................................................................................................1 設計目的 ......................................................................................................................3 本設計完成的工作 .......................................................................................................3 2 總體方案設計 ..........................................................................................................................4 硬件設計 ......................................................................................................................4 引言 ..................................................................................................................4 主控芯片選擇 ....................................................................................................4 電源選取 ...........................................................................................................5 3 硬件實現及單元電路設計 .......................................................................................................5 主控制模塊 ..................................................................................................................5 單片機的時鐘電路與復位電路設計 ..............................................................................6 電源設計 ......................................................................................................................7 電梯呼叫按鍵電路 .......................................................................................................8 樓層顯示和樓層指示電路圖 .........................................................................................9 電梯上下指示電路 ..................................................................................................... 10 聲音提醒電路 ............................................................................................................. 11 4 系統(tǒng)軟件設計方案 ................................................................................................................ 12 主程序流程圖 ............................................................................................................. 12 電梯各情況下所對應的處理方法 ................................................................................ 13 本章小結 .................................................................................................................... 14 5 系統(tǒng)的安裝與調試 ................................................................................................................ 14 安裝步驟 ...................................................................................................................... 14 結論 ............................................................................................................................................ 14 致謝 ............................................................................................................................................ 15 參考文獻 .................................................................................................................................... 15 附錄 1 整機電路原理圖 ............................................................................................................ 16 附錄 2 部分源程序 ................................................................................................................. 17 I 摘要 本文介紹了一種采用 STC89C52 芯片進行的電梯模擬控制系統(tǒng),介紹了如何使用單片機進行編程 來實現電子控制的方法。單片機編程實現功能,簡潔多變,大大縮短了研發(fā)周期,同時能使電梯控制系統(tǒng)體積更小功能更強大。本設計模擬了電梯控制系統(tǒng)所需的一些基本功能,能通過能通過按鍵選擇樓層,數碼管顯示實時樓層數,LED 燈組成的箭頭指示上下方向。本次設計更注重了把一些所學的知識加入到設計中。主要包括采用了 STC89C52 芯片,使用 C 語言進行編程,使其具有了更強的移植性,更加利于產品的開發(fā)。 關鍵詞: 電梯、單片機 II Abstract This paper introduces a kind of elevator using STC89C52 chip analog control system, describes how to use microcontroller programming method to realize the electronic control. Microcontroller programming function, concise and changeable, greatly shorten the development cycle, at the same time can make the elevator control system smaller and more powerful. The design and Simulation of some of the basic functions of elevator control system required, can pass through the button to select the floor, digital tube display realtime number of floors, the arrow indicates the LED lamp consisting of direction. This design pays more attention to get some knowledge into the design. Mainly includes the use of the STC89C52 chip, the use of C language pr