2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩6頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、<p>  基于單片機(jī)的多功能溫度檢測(cè)系統(tǒng)的設(shè)計(jì)</p><p>  一、引言  隨著社會(huì)的發(fā)展和技術(shù)的進(jìn)步,人們?cè)絹碓阶⒅販囟葯z測(cè)與顯示的重要性。溫度檢測(cè)與狀態(tài)顯示技術(shù)與設(shè)備已經(jīng)普遍應(yīng)用于各行各業(yè),市場(chǎng)上的產(chǎn)品層出不窮。溫度檢測(cè)及顯示也逐漸采用自動(dòng)化控制技術(shù)來實(shí)現(xiàn)監(jiān)控。本課題就是一個(gè)溫度檢測(cè)及狀態(tài)顯示的監(jiān)控系統(tǒng)。二、系統(tǒng)方案  本系統(tǒng)采用 AT89S52 作為該系統(tǒng)的單片機(jī)。系統(tǒng)整體硬件電路包

2、括,電源電路,傳感器電路,溫度顯示電路,上下限報(bào)警電路等如圖1 所示。圖中報(bào)警電路可以在被測(cè)溫度不在上下限范圍內(nèi)時(shí),發(fā)出報(bào)警鳴叫聲音。溫度控制的基本原理為:當(dāng)DSl8B20 采集到溫度信號(hào)后,將溫度信號(hào)送至AT89S52 中處理,同時(shí)將溫度送到LCD 液晶屏顯示,單片機(jī)根據(jù)初始化設(shè)置的溫度上下限進(jìn)行判斷處理,即如果溫度大于所設(shè)的最高溫度就啟動(dòng)風(fēng)扇降溫;如果溫度小于所設(shè)定的最低溫度就啟動(dòng)報(bào)警裝置。溫度控制器的原理圖三、系統(tǒng)硬件設(shè)計(jì)1.

3、單片機(jī)AT89S52 的介紹  AT89S52 是一種低功耗、高性能CMOS8 位微控制器,具有8K 可編Flash 存儲(chǔ)器。使用Atmel 公司高密度非易失性存儲(chǔ)器技術(shù)制造,與工業(yè)80C51 產(chǎn)品指令和引腳完全兼容。片上</p><p>  Based on SCM multi-functional temperature testing system design</p><p>&

4、lt;b>  1、preface</b></p><p>  With the development of society and the technological progress, people pay more and more attention to the importance of temperature detection and display. Temperature d

5、etection and status display technology and equipment has been widely applied in industries, products on the market emerge in endlessly. Temperature testing and also gradually adopt the automatic control technology to rea

6、lize the monitor. This topic is a temperature testing and status of the monitoring system.</p><p>  2、System solutions</p><p>  This system USES the monolithic integrated circuit AT89S52 as this

7、 system. The whole system, the hardware circuit including power supply circuit, sensor, the temperature display circuit circuit, upper alarm circuit such as shown in figure 1. Figure in the alarming circuit can be measur

8、ed in upper temperature range, screaming voice alarm. The basic principle for the temperature control DSl8B20: when the temperature signal acquisition to after temperature signal sent to handle, AT89S52 temperature</p

9、><p>  3、The system hardware design</p><p> ?。?)AT89S52 SCM are introduced</p><p>  AT89S52 devices is a low power consumption, high CMOS8 bit micro-controller, 8K programmable Flash m

10、emory. Use Atmel company high-density nonvolatile storage technology, and industrial 80C51 product instruction and pin fully compatible. The Flash memory chips allows programs in system programming, also suitable for con

11、ventional programming. In a single chip, have clever 8 bits CPU and programmable Flash in the system, for many embedded control AT89S52 application system provides a highly flexibl</p><p>  (2)The sensor DS1

12、8B20</p><p>  In the traditional analog signal distance temperature measuring system, need good solve lead error compensation, multi-point measurement error and amplifying circuit switching technologies such

13、 as zero drift error problem, can achieve high measuring accuracy. Another general monitoring site of the electromagnetic environment is very bad, all kinds of jamming signal is stronger, the simulated temperature signal

14、 interference and vulnerable to produce measurement error and measuring precision [5]. </p><p>  (1) the unique singleline interface way. DSl820 in connection with the microprocessor only need one interface

15、to implement line DSl820 microprocessors and two-way communication. (2) more function simplifies distributed temperature detection application. (3) DSl820 in use without any peripheral devices. (4) power, voltage range d

16、ata available from 3.0 V to 5.5 V. (5) can measure temperature range from - 55 degrees c + + to 125, incremental value 0. 5 ° c, Fahrenheit temperature range from - 67 to</p><p> ?、?DSl8B20 principle of

17、 work</p><p>  The internal structure of DS18B20 DSl8B20 temperature measurement principle diagram shown in figure 3.2. Low temperature coefficient graph oscillation frequency vibration product temperature i

18、s used to produce with fixed frequency, pulse signal to counter l. High temperature coefficient crystals temperature-dependent its oscillation frequency change significantly. The signal generated as the counter 2 input p

19、ulses. Counter 1, 2 and temperature registers are counter in - 55 degrees preset corresp</p><p>  ②.AT89S52 interface mode and DS18B20</p><p>  Chip DS18B20 and the connection has two kinds: nam

20、ely parasitic power and external power supply mode.</p><p>  Parasitic power way: in the parasitic power supply mode, the signal from the single chip DS18B20 in line drawing energy during the high level in t

21、he DQ energy stored in the internal capacitance, low level in signal in the energy consumed during the capacitance on working until high-level coming again to parasitic power (battery). Parasitic power mode has three adv

22、antages: 1) distance measuring temperature, without the local power supply. 2) no conventional power in the condition reads the ROM. 3</p><p>  The external power source supply way: in the external power sup

23、ply modes, DS18B20 work power by VDD pin, I/O access line does not need strong pull up, there is no shortage of electricity power, can ensure accuracy and conversion in the bus theory can be articulated multiple sensor D

24、S18B20, multipoint temperature measuring system.</p><p>  This system USES the external power source. Connection method is one foot grounding and DS18B20 2 feet (DQ) and AT89S52 foot an I/O port, 3 feet line

25、 up + 5V. A89S52 in the I/O port and + 5V connection between a 4.7 K pull-up resistors, to ensure the normal operation of the data collection. If you want to test system, composed multi-point temperature in the same root

26、 chip I/O port in the same line, and the method of connecting the parallel more pieces of DS18B20 chip.</p><p>  (3)LCD1602 LCD</p><p>  1602 LCD module can and monolithic integrated circuit AT8

27、9S52 directly interface.</p><p> ?。?)Buzzer driver circuit</p><p>  Due to the working current buzzer is compared commonly big, so I/O microcontroller is not directly driven by amplifying circui

28、t, so it is generally used to drive, to enlarge current transistor. When the temperature is below six degrees Celsius, alarm.</p><p> ?。?)Fan circuit</p><p>  When the temperature is higher than

29、 80 ° c, start fan circuit. Because the job is great, so use current amplifier circuit to drive, to enlarge current transistor. When the temperature is above 80 ° c, give a command, P2.6 single-chip microcontro

30、ller foot output level, triode conduction, fans, electric circuit, which began to turn it down.</p><p>  4、The design of the software system</p><p>  This system USES AT89S52 devices as the core

31、, with DSl8B20 after the collected data, and the temperature inside the data storage AT89S52 deposit, LCD display, and compared with the prior value, and then the output signal by MCU control circuit and alarm circuit fa

32、n. Multi-functional temperature testing system software mainly include: function declarations, time delay function and DS18B20 initialization function, read the temperature, temperature DS18B20 data into a liquid crystal

33、 display charact</p><p><b>  5、Summary</b></p><p>  With the continuous development of industry of temperature measurement, the higher requirement, and more and more wide measuring r

34、ange, so are the requirements for temperature detection technology more and more is also high.</p><p>  DSl8B20 introduced new digital temperature sensor and AT89S52 SCM, LCD1602 LCD module for constructing

35、the temperature testing system. The hardware circuit and main program and system design of each module subroutines. This system USES the DALLAS is the digital temperature sensor DS18B20, plus A/D can output the digital q

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論