单片机的数字型温湿度测量计摘要
㈠ 单片机如何做数字温度计
用DS18B20做,单总线,数字信号
程序,原理图网上都有,很普遍了,网上一搜多得很,
连接图,下一个DS18B20的数据手册就有
这个网站有
http://www.fxdzw.com/xpzl.htm
㈡ 最近在做单片机的论文,题目是数字温度计;要求(1)测量-40℃-90℃范围的温度(2)四位七段LED数码管显示
#include "LCD1602.h"
#include "LCD1602define.h"
#include "18b20.h"
#define uchar unsigned char
void delayms(unsigned int count);//延时程序
void delayms(unsigned int count)
{
unsigned int i,j;
for(i=0;i<count;i++)
for(j=0;j<120;j++);
}
/**************主程序*********************/
main()
{
uchar tem_h,tem_l;
uchar i,su[7];
uint tem;
delayms(1000); //开机延时程序
LCD_initial(); //LCD初始化
LCD_ClrAll();
/*******为了避免第1次读取温度显示85°C*******/
tem=ReadTemperature();//读取温度值
tem_h=tem/10+0x30; //温度高位
tem_l=tem % 10+0x30; //温度低位
delayms(1000); //延时程序
/***************************************/
LCD_cursor(0); //光标起始地址 ,第一行地址是0x00~0x0F,第二行地址是0x40~0x4f
LCD_prints(" DS18B20 Test ");
LCD_cursor(0x40);
LCD_prints("Temperature: ");
//////////LCD1602显示温度单位'C////////
LCD_cursor(0x4e);
LCD_printc(0xdf);
LCD_cursor(0x4f);
LCD_printc(0x43);
while(1)
{
tem=ReadTemperature();//读取温度值
tem_h=tem/10+0x30; //温度高位
tem_l=tem % 10+0x30; //温度低位
/////////LCD显示温度//////////
LCD_cursor(0x4c);
LCD_printc(tem_h);
LCD_cursor(0x4d);
LCD_printc(tem_l);
}
}
㈢ 关于温湿度检测仪的论文英文摘要翻译,在线等答案
Abstract: this article describes the temperature and humidity
measuring instrument design of hardware circuit and software programs and
processes, and ultimately gives the hardware schematics and source code. The
temperature and humidity measuring instrument STC89C51 as the core is based on
single-chip microcomputer controlled devices, with small size, low cost, simple
to use, high reliability of work. System with integrated temperature and
humidity sensor DHT11 as the data acquisition device, real-time detection of the
current temperature, humidity, collection digital signal data temperature and
humidity sensor, and can be sent directly to the STC89C51 single-chip for
processing, and ultimately by the four-in-one LED digital tube display of
current temperature and humidity data. Real-time detection system in addition to
the current ambient temperature and humidity, while according to the needs of
different environments, set temperature maximum temperature exceeds the set
value range, the alarm buzzer alarm circuit. The system can easily achieve
real-time detection of the temperature and humidity.
㈣ 基于单片机温湿度测量系统(摘要翻译)
Along with the humiture examination system's widespread utilization, the different profession and the domain have the various requirement and the standard to the humiture examination. This design mainly uses in the ordinary indoor humiture survey. Uses the DS2438, HIH3605B integration chip to take the humiture sensor. In the article has analyzed the humiture survey principle of work and the process, proposed the humiture examination system design's overall plan, has carried on the plan proof to each submole design and compares. The hardware design uses protel the 99se software, has completed the monolithic integrated circuit smallest system, the LCD display circuit, sensor's schematic diagram and the PCB chart. The software design uses Keil uVision2, has completed the program mole each mole design programming, has realized to the humiture signal processing process programming and the debugging. This measurement system humidity measuring range 0%~100%, resolution ±%; Temperature survey scope - 40~+125℃, resolution ±0.5℃. Can meet the daily life humiture survey requirements.
key words: AT89S52; HIH3605B; DS2438; LCD; Data acquisition; Data processing
㈤ 求一份基于51系列单片机的数字式温湿度计的单片机课程设计报告,要求如下
单片机和dht11通信读取时,每次读5个字节:两字节湿度数据、两字节温度数据、一字节校验数据。这个不难,看看数据手册,找找参考程序就能搞定的
㈥ 基于单片机的数字温度计设计
按你的要求设计了程序并且通过ProteUS仿真
无偿提供原理图,ProteUS仿真工程(可运行),供参考运行效果,及原理图的设计。
推荐:01 基于单片机的数字报警温度计( http://ishare.iask.sina.com.cn/f/11655563.html )
; 源程序为汇编
; 实时显示温度
; 高于高限,低于低限,进行声光报警
; 温度高低限可自由设定
; 上电显示 543210
; 读出温度后实时显示温度
; 温度高于上限温度时,显示"HH****", 并进行声光报警
; 温度低于下限温度时,显示"LL****", 并进行声光报警
; 设定键 进行高低限设定 循环为 "实时温度" “L ***” “H ***”
; 可用+ -键进行修改报警值
㈦ 关于51单片机的多功能温度显示器论文中的摘要怎么写
本课题主要介绍了温度传感器的硬件电路的设计和系统软件设计。硬件电路主要包括主控制器,测温电路和显示电路等,控制器采用单片机AT89C51,温度传感器采用美国DALLAS半导体公司生产的DS18B20,显示电路采用4位共阳极LED数码管以动态扫描法直读显示。系统程序主要包括主程序,读出温度子程序,温度转换命令子程序,计算温度子程序,显示数据刷新子程序等。此外,还介绍了系统的调试和性能分析。
由于采用了改进型智能温度传感器DS18B20作为检测元件,与传统的温度计相比,本数字温度计减少了外部的硬件电路,具有低成本和易使用的特点。DS18B20温度计还可以在过限报警、远距离多点测温控制等方面进行应用开发,具有很好的发展前景。DS18B20是一种可组网的高精度数字式温度传感器,由于其具有单总线的独特优点,可以使用户轻松地组建起传感器网络,并可使多点温度测量电路变得简单、可靠。介绍了DS18B20数字温度传感器在单片机下的硬件连接及软件编程,并给出了软件流程图。
在该论文中,我们通过对单片机和温度传感器的设计,从中学到了许多有用的东西,其中我们明白了如何去设计一个产品,首先要有性价比、良好的适应性,其次要知道设计的关键,最后也懂得了设计与实际的联系。
关键词:
单片机系统;数字温度传感器;单总线;过限报警
This thesis mainly include hardware circuit design and system design process. Hardware circuit include the main controller, temperature measurement circuit and display circuit, the controller using SCM AT89C51, temperature sensors using the proction DS18B20 of United States DALLAS Semiconctor, and the display circuit using four common anode of LED by digital dynamic scanning and Direct Reading show. The system procere mainly includes main procere, reading temperature sub-procere, the temperature conversion orderanies sub-procere, computing the temperature sub- procere, the manifestation data breaks sub-procere etc. In addition, it introced a system debugging and performance analysis.
In order to adopting the improvement type the intelligence temperature transcer DS18 B20 Be examine component, compared with the traditional thermometer, this numerical thermometer reced the hardware telephone of the exterior, have low cost with the characteristics of the easy usage. The DS18 B20 thermometers can report to the police still in the heat, long-distance leave to click to measure control much etc. carry on an applied development, having good development foreground. As a kind of high-accuracy digital net temperature sensor,DS18 B20 can be used building a sensor net easily. It can also make the net simple and reliable with it's special 1-wire interface .This paper introces the application of DS18B20 with single chip processor.
In that thesis, we from the design of the SCM and the temperature transcer, we learned many useful things, among them, we understand how go to design a proct, first it should have to have good quality but inexpensive, adaptabilities, than should know hinge of the design, the last we also know the communication between design and practice.
Keyword:
SCM;Digital thermometer; Single bus;Over the boundary to alarm
仅供参考!!!
㈧ 基于单片机温度测量与控制 毕业论文
摘要
本设计的温度测量计加热控制系统以AT89S52单片机为核心部件,外加温度采集电路、键盘显示电路、加热控制电路和越限报警等电路。采用单总线型数字式的温度传感器DSI8B20,及行列式键盘和动态显示的方式,以容易控制的固态继电器作加热控制的开关器件。本作品既可以对当前温度进行实时显示又可以对温度进行控制,以使达到用户需要的温度,并使其恒定再这一温度。人性化的行列式键盘设计使设置温度简单快速,两位整数一位小数的显示方式具有更高的显示精度。建立在模糊控制理论控制上的控制算法,是控制精度完全能满足一般社会生产的要求。通过对系统软件和硬件设计的合理规划,发挥单片机自身集成众多系统及功能单元的优势,再不减少功能的前提下有效的降低了硬件的成本,系统操控更简便。
实验证明该温控系统能达到0.2℃的静态误差,0.45℃的控制精度,以及只有0.83%的超调量,因本设计具有很高的可靠性和稳定性。
关键词:单片机 恒温控制 模糊控制
引言
温度是工业控制中主要的被控参数之一,特别是在冶金、化工、建材、食品、机械、石油等工业中,具有举足重轻的作用。随着电子技术和微型计算机的迅速发展,微机测量和控制技术得到了迅速的发展和广泛的应用。 采用单片机来对温度进行控制,不仅具有控制方便、组态简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大提高产品的质量和数量。MSP430系列单片机具有处理能强、运行速度快、功耗低等优点,应用在温度测量与控制方面,控制简单方便,测量范围广,精度较高。
温度传感器将温度信息变换为模拟电压信号后,将电压信号放大到单片机可以处理的范围内,经过低通滤波,滤掉干扰信号送入单片机。在单片机中对信号进行采样,为进一步提高测量精度,采样后对信号再进行数字滤波。单片机将检测到的温度信息与设定值进行比较,如果不相符,数字调节程序根据给定值与测得值的差值按PID控制算法设计控制量,触发程序根据控制量控制执行单元。如果检测值高于设定值,则启动制冷系统,降低环境温度;如果检测值低于设定值,则启动加热系统,提高环境温度,达到控制温度的目的。
图形点阵式液晶可显示用户自定义的任意符号和图形,并可卷动显示,它作为便携式单片机系统人机交互界面的重要组成部分被广泛应用于实时检测和显示的仪器仪表中。支持汉字显示的图形点阵液晶在现代单片机应用系统中是一种十分常用的显示设备,汉字BP机、手机上的显示屏就是图形点阵液晶。它与行列式小键盘组成了现代单片机应用系统中最常用的人机交互界面。
本文设计了一种基于MSP430单片机的温度测量和控制装置,能对环境温度进行测量,并能根据温度给定值给出调节量,控制执行机构,实现调节环境温度的目的。
━、硬件设计
1:MSP430系列单片机简介及选型
单片机即微控制器,自其开发以来,取得了飞速的发展。单片机控制系统在工业、交通、医疗等领域的应用越来越广泛,在单片机未开发之前,电子产品只能由复杂的模拟电路来实现,不仅体积大,成本高,长期使用后元件老化,控制精度大大降低,单片机开发以后,控制系统变为智能化了,只需要在单片机外围接一点简单的接口电路,核心部分只是由人为的写入程序来完成。这样产品体积变小了,成本也降低了,长期使用也不会担心精度达不到了。特别是嵌入式技术的发展,必将为单片机的发展提供更广阔的发展空间,近年来,由于超低功耗技术的开发,又出现了低功耗单片机,如MSP430系列、ZK系列等,其中的MSP430系列单片机是美国德州仪器(TI)的一种16位超低功耗单片机,该单片机