【正文】
編號(hào): 畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 課 題 基于單片機(jī)的自動(dòng)門(mén) 開(kāi)合控制系統(tǒng)設(shè)計(jì) 學(xué) 院: 機(jī)電工程學(xué)院 專(zhuān) 業(yè): 機(jī) 械 電 子 工程 學(xué)生姓名: 學(xué) 號(hào): 指導(dǎo)教師單位: 機(jī)電工程學(xué)院 姓 名: 黃 用 華 職 稱(chēng): 副教授(校聘) 題目類(lèi)型 : ?理論研究 ?實(shí)驗(yàn)研究 ?工程設(shè)計(jì) ?工程技術(shù)研究 ?軟件開(kāi)發(fā) 2021 年 6 月 2 日 桂林電子科技大學(xué)畢業(yè)設(shè)計(jì)(論文)報(bào)告 用紙 摘 要 自動(dòng)門(mén)是商場(chǎng)、銀行、酒店、賓館等自動(dòng)化樓宇的常見(jiàn)配備,其基本的要求可以歸結(jié)為智能、安全、可靠三個(gè)方面。以此為背景,研制一種基于單片機(jī)的低成本自動(dòng)門(mén)開(kāi)合控制系統(tǒng),引入紅外傳感器探測(cè)行人狀況。本文設(shè)計(jì)了基于單片機(jī)的自動(dòng)門(mén)控制系統(tǒng),該系統(tǒng)以 51 單片機(jī)為主體,直流電機(jī)、門(mén)禁系統(tǒng)為核心,實(shí)現(xiàn)自動(dòng)門(mén)的自動(dòng)控 制,實(shí)現(xiàn)了辦公化自動(dòng)門(mén)在外部密碼輸入進(jìn)入,內(nèi)部紅外感應(yīng)自動(dòng)開(kāi)門(mén),設(shè)有自動(dòng)門(mén)常開(kāi),常閉選擇。 通過(guò)單片機(jī)程序?qū)χ绷魉欧姍C(jī)的正轉(zhuǎn)、反轉(zhuǎn)進(jìn)行控制,從而對(duì)門(mén)進(jìn)行開(kāi)、關(guān)的控制; 直流電機(jī)采用 H 橋驅(qū)動(dòng) ,充分發(fā)揮了單片機(jī)的性能。其優(yōu)點(diǎn)是電路簡(jiǎn)單,軟件功能完善,控制系統(tǒng)可靠,性?xún)r(jià)比較高等,具有一定的使用和參考價(jià)值。 關(guān)鍵詞 : AT89C51; BIS0001芯片;熱釋電紅外線(xiàn) 傳感器 ;直流電動(dòng)機(jī); L298N芯片;密碼鎖 桂林電子科技大學(xué)畢業(yè)設(shè)計(jì)(論文)報(bào)告 用紙 Abstract Automatic door is mon equipment of market, bank, hotel, etc automatic building, It is basic requirements can be summed up in intelligence, safe and reliable. As a background, Developing a control system of low cost automatic opening door based on single chip microputer, introduced the infrared sensor to detect the pedestrian, In this paper, we design control system of the automatic door based on single chip microputer. The system with 51 singlechip puter as the main body, dc motor, the entrance guard system as the core, achieve automatic control of automatic door, achieve to enter the automatic door of office in the outside by password, Within the infrared induction open the door automatically, Equipped with automatic door normally open, normally closed. Through single chip microputer program ,control current servo motor39。s forward and control the door of open and close current motor driven uses H bridge, give full play to the performance of the micro controller. Its advantage is simple circuit, software function is perfect, and reliable control system, high cost performance, has certain use and reference value. Keywords: AT89C51。heat release infrared sensors,。BIS0001 chip。stepping motor。L298N chip。 Password lock 桂林電子科技大學(xué)畢業(yè)設(shè)計(jì) (論文 )報(bào)告用紙 目 錄 引言 ............................................................................................................................................1 1 緒論 .....................................................................................................................................2 自動(dòng)門(mén)的發(fā)展歷史 ................................................................................................2 自動(dòng)門(mén)的功能概述 ................................................................................................2 開(kāi)門(mén)信號(hào) .........................................................................................................2 門(mén)禁系統(tǒng)與非公共區(qū)域的自動(dòng)門(mén) ......................................................................3 對(duì)自動(dòng)門(mén)的要求就是解鎖動(dòng)作與開(kāi)門(mén)動(dòng)作之間的協(xié)調(diào) .......................................3 本章小結(jié) ................................................................................................................3 2 系統(tǒng)硬件設(shè)計(jì) ..................................................................................................................4 自動(dòng)門(mén)設(shè)計(jì)基本思路和原理 ................................................................................4 單片機(jī)和外圍電路介紹 ........................................................................................5 AT89C51 主要性能概述 ...................................................................................5 單片機(jī)時(shí)鐘電路介紹 ........................................................................................8 單片機(jī)復(fù)位電路、電源電路介紹 ......................................................................8 LED顯示和鍵盤(pán) ....................................................................................................9 四位數(shù)碼管 LED 介紹 ......................................................................................9 4*4 矩陣鍵盤(pán) .................................................................................................11 紅外感應(yīng)裝置 ......................................................................................................12 熱釋電紅外傳感器介紹 ..................................................................................12 BISS0001 芯片及 其典型電路 ..........................................................................14 驅(qū)動(dòng)電路 ..............................................................................................................17 L298N 芯片介紹及應(yīng)用 ..................................................................................17 直流電機(jī)分類(lèi)和特點(diǎn) ......................................................................................19 門(mén)行程檢測(cè) ....................................................................................................20 本章小結(jié) ..............................................................................................................20 3 系統(tǒng)軟件設(shè)計(jì) ................................................................................................................21 主程序流程 ..........................................................................................................21 LED顯示模 塊 .....................................................................................................22 鍵盤(pán)掃描模塊 ......................................................................................................23 門(mén)禁系統(tǒng)模塊 ......................................................................................................24 紅外和驅(qū)動(dòng)模塊 ..................................................................................................25 本章小結(jié) ..............................................................................................................26 4 軟件仿真與分析 ...............................................................................