【正文】
畢 業(yè) 設(shè) 計(jì)(論 文) 基于單片機(jī)的遙控?cái)?shù)顯控制系統(tǒng) 系 別: 機(jī)電信息學(xué)院 專業(yè)名 稱 : 測(cè)控技術(shù)與儀器 學(xué)生姓 名: XXXX 學(xué) 號(hào): XXXXXXXXXXXXX 指導(dǎo)教師姓名、職稱 : XXXXXXXXXXXXXXX 完成日期 2021 年 12 月 24 日 基于單片機(jī)的遙控?cái)?shù)顯控制系統(tǒng) (硬件、軟件設(shè)計(jì)) 摘 要 近年來(lái),隨著人們對(duì)生活便利性的需求越來(lái)越高,能夠?qū)Σ煌愋托盘?hào)的監(jiān)測(cè) 和報(bào)警的設(shè)備也越來(lái)越多?,F(xiàn)在的報(bào)警器功能也越來(lái)越智能化。在感知的信號(hào)方面有紅外信號(hào)、超聲波信號(hào)、重力信號(hào)、震動(dòng)信號(hào)、遙控信號(hào)等。本文通過(guò)對(duì)幾種報(bào)警器的功能以及實(shí)際情況分析,設(shè)計(jì)了一種安全、實(shí)用、方便控制的報(bào)警器。 本文首先闡述了報(bào)警器的研究狀況和發(fā)展現(xiàn)狀,以及不同類型報(bào)警器的優(yōu)點(diǎn)和當(dāng)前的普及程度。分析了一般報(bào)警器的檢測(cè)原理和物理機(jī)制。根據(jù)常用的檢測(cè)信號(hào)類型,選取了遙控信號(hào)、紅外信號(hào)和溫度信號(hào)作為本設(shè)計(jì)的檢測(cè)依據(jù)。 紅外技術(shù)是一種發(fā)展很成熟的技術(shù),由于它是不可見(jiàn)光,用在防盜報(bào)警系統(tǒng)上有良好的隱蔽性,而且可以在 不同的天氣條件下都可以使用,抗干擾能力也比較強(qiáng)。這種報(bào)警系統(tǒng)在家庭、場(chǎng)館以及辦公室等場(chǎng)合有廣泛的使用。由于紅外技術(shù)自身的優(yōu)勢(shì),本設(shè)計(jì)以紅外信號(hào)作為一種檢測(cè)信號(hào)。 溫度是日常生活中最經(jīng)常遇到的一個(gè)變量,溫度值是很多報(bào)警系統(tǒng)所采納的一個(gè)信號(hào)。特別是火災(zāi)報(bào)警設(shè)備中,溫度信號(hào)是必不可少的一個(gè)值。對(duì)于具體的實(shí)物或是環(huán)境,溫度往往是一個(gè)最直觀的數(shù)據(jù),通過(guò)對(duì)溫度值的監(jiān)測(cè)可以對(duì)現(xiàn)場(chǎng)情況做趨勢(shì)的研判,對(duì)后續(xù)的操作提供一定的依據(jù)。 隨著設(shè)備智能化的發(fā)展,遙控技術(shù)越來(lái)越受到重視。通過(guò)遙控方式可以對(duì)受控對(duì)象進(jìn)行遠(yuǎn)距離的控制和監(jiān)測(cè)。 在報(bào)警系統(tǒng)中占有重要的位置,不僅可以遠(yuǎn)距離的遙控報(bào)警設(shè)備,可以遠(yuǎn)距離的監(jiān)測(cè)終端的基本情況。隨著遙控技術(shù)的成熟,在報(bào)警系統(tǒng)中也得到越來(lái)越多的使用。 本設(shè)計(jì)選取遙控信號(hào)、紅外信號(hào)和溫度信號(hào)作為監(jiān)測(cè)信號(hào)。遙控信號(hào)用來(lái)遠(yuǎn)程控制報(bào)警器的開(kāi)啟與關(guān)閉。報(bào)警器開(kāi)啟之后,同時(shí)監(jiān)測(cè)紅外信號(hào)和溫度信號(hào),兩個(gè)信號(hào)中有一個(gè)達(dá)到閾值則開(kāi)始報(bào)警。 關(guān)鍵字: 報(bào)警器;遙控;紅外;溫度 Remote Control Digital Display System Based on Single Chip Microputer ABSTRACT In recent years, alarm detects more and more signal types and requires more intelligence in order to meet the convenience of human life needs. Alarm can sense infrared signal, ultrasonic signal, gravity signal, vibration signal and remote control signals. This paper designs a safe, practical and convenient burglar alarm on the analysis of several mon alarm functions and the actual situation. This paper describes the research and development of the alarm, the advantages and the disadvantages of several different alarms and theirs popularity. The paper also analyzes the detection principles and the physical mechanisms of the popular alarms. And this paper chooses remote control signal, infrared signal and temperature signal as the detection signals. Infrared technology is a very mature technology and human eyes can not see infrared light. It can be used under different weather conditions with good concealment, and strong antiinterference ability. This kind of antitheft alarm system is widely used in homes, offices and other occasions. This design uses infrared signal as a detection signal. Temperature signal is most monly used in daily life and used in most warning systems. Particularly, temperature signal is an essential signal in the fire alarm device. Temperature signal is one of the most intuitive parameters in the specific environment. It can be monitored to judge the spot situation in order to provide the basis for subsequent operations. Remote control technology is highly attention with the development of the intelligent alarm. Remote control technology can control and monitor remote object. Remote control technology can not only control remote alarm equipment, but also monitor the basic situation of the terminal. It is used in alarm system because of the maturity of such technology. This antitheft alarm system selects the remote control signal, the infrared signal and the temperature signal as monitoring signals. Remote control signal is used to remotely control the alarm on and off. The infrared signal and the temperature signal were monitored at the same time after the opening of the alarm. The alarm was triggered when any of these signal reach its threshold. Keywords: alarm; remote control; infrared; temperature I 目 錄 第 1章 緒 論 .............................................................. II 課題背景及研究意義 ................................................. 1 遙控?cái)?shù)顯控制系統(tǒng)的發(fā)展概況 ......................................... 1 本課題研究的主要內(nèi)容 ............................................... 2 第 2章 遙控?cái)?shù)顯控制系統(tǒng)的總結(jié) ............................................... 3 原理介紹 ........................................................... 3 每個(gè)模塊簡(jiǎn)單介紹 .................................................... 3 遙控器 ......................................................... 3 遙控接收器 ..................................................... 4 顯示電路 ....................................................... 4 溫度傳感器 ..................................................... 4 第 3章 遙控?cái)?shù)顯控制系統(tǒng)硬件設(shè)計(jì) ............................................. 6 總硬件原理圖 ......................................................... 6 傳感器的選型和特點(diǎn) ................................................. 6 溫度傳感器的特點(diǎn) ............................................... 7 紅外對(duì)管傳感器的特點(diǎn) .......................................... 10 遙控傳感器的特點(diǎn) .............................................. 12 單片機(jī)單元設(shè)計(jì) .................................................... 14 STC89C52 單片機(jī)介紹 ........................................... 14 單片機(jī)外圍接口電路 ............................................ 17 報(bào)警條件設(shè)置 .................................................. 19 報(bào)警及控制輸出電路 ................................................ 19 顯示電路 .......................................................... 19 第 4章 遙 控?cái)?shù)顯控制系統(tǒng)的軟件設(shè)計(jì) .......................................... 21 軟件結(jié)構(gòu) .......................................................... 21 軟件設(shè)計(jì)程序 ...................................................... 21 主程序 ........................................................ 22 溫度數(shù)據(jù)讀取程序 .............................................. 22 中斷顯示程序 .................................................. 24 構(gòu)成報(bào)警條件子程序 ............................................ 25 軟件抗干擾措施 .................................................... 26 II 第 5章 遙控?cái)?shù)顯控制系統(tǒng)的調(diào)試與結(jié)果 ....................................... 27 硬件調(diào)試分析的過(guò)程 .............................................. 27 軟件調(diào)試分析的過(guò)程 ....................................