文件名称:DS18B20com
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-08-30
- 文件大小:
- 84kb
- 下载次数:
- 0次
- 提 供 者:
- 科***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
DS18B20数字温度传感器报警测试程序
1、程序说明:
该例程演示了接在单片机端口上的数字温度传感器DS18B20测试实验。
并在数码管显示当前温度。同时判断是否超过了温度上限和下限,
如果超过,数码管将有提示闪烁。
2、实验操作
1、将跳线插座J11的跳线帽调至TDQ端。
如果未正确设置跳线,液晶屏将显示Error。
测试时可用电烙铁等热源靠近DS18B20,待温度超过上限值时
数码管将闪烁提示超温。-DS18B20 digital temperature sensor alarm test program
1. Program Descr iption:
This example demonstrates the microcontroller port connected to the digital temperature sensor DS18B20 testing laboratory.
And displays the current temperature in the digital tube. At the same time to determine whether the temperature exceeds the upper and lower limits,
If exceeded, the LED will blink prompted.
2, experimental operation
1, the jumper socket J11 jumper cap adjusted TDQ end.
If the jumper is not set correctly, the LCD screen will display Error.
When close to heat sources such as electric iron can DS18B20 test until the temperature exceeds the upper limit
The LED will blink prompt overtemperature.
1、程序说明:
该例程演示了接在单片机端口上的数字温度传感器DS18B20测试实验。
并在数码管显示当前温度。同时判断是否超过了温度上限和下限,
如果超过,数码管将有提示闪烁。
2、实验操作
1、将跳线插座J11的跳线帽调至TDQ端。
如果未正确设置跳线,液晶屏将显示Error。
测试时可用电烙铁等热源靠近DS18B20,待温度超过上限值时
数码管将闪烁提示超温。-DS18B20 digital temperature sensor alarm test program
1. Program Descr iption:
This example demonstrates the microcontroller port connected to the digital temperature sensor DS18B20 testing laboratory.
And displays the current temperature in the digital tube. At the same time to determine whether the temperature exceeds the upper and lower limits,
If exceeded, the LED will blink prompted.
2, experimental operation
1, the jumper socket J11 jumper cap adjusted TDQ end.
If the jumper is not set correctly, the LCD screen will display Error.
When close to heat sources such as electric iron can DS18B20 test until the temperature exceeds the upper limit
The LED will blink prompt overtemperature.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
39_DS18B20温度报警数码管显示实验\Application\Doc\readme.txt
................................\...........\Header\ds18b20.h
................................\...........\......\STC15W4K32S4.h
................................\...........\......\tm1638.h
................................\...........\Source\ds18b20.c
................................\...........\......\main.c
................................\...........\......\tm1638.c
................................\...........\.tartup\STARTUP.A51
................................\DS18B20_ALARM.plg
................................\DS18B20_ALARM.uvgui.Administrator
................................\DS18B20_ALARM.uvgui_Administrator.bak
................................\DS18B20_ALARM.uvopt
................................\DS18B20_ALARM.uvproj
................................\DS18B20_ALARM_uvopt.bak
................................\DS18B20_ALARM_uvproj.bak
................................\Lis\ds18b20.lst
................................\...\DS18B20_ALARM.m51
................................\...\hc595.lst
................................\...\main.lst
................................\...\STARTUP.lst
................................\...\tm1638.lst
................................\Obj\ds18b20.obj
................................\...\DS18B20_ALARM
................................\...\DS18B20_ALARM.hex
................................\...\DS18B20_ALARM.lnp
................................\...\DS18B20_ALARM.plg
................................\...\hc595.obj
................................\...\main.obj
................................\...\STARTUP.obj
................................\...\tm1638.obj
................................\Application\Doc
................................\...........\Header
................................\...........\Source
................................\...........\Startup
................................\Application
................................\Lis
................................\Obj
39_DS18B20温度报警数码管显示实验