文件名称:DS18B20
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-08-30
- 文件大小:
- 83kb
- 下载次数:
- 0次
- 提 供 者:
- 科***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
DS18B20数字温度传感器测试程序
1、程序说明:
该例程演示了接在单片机端口上的数字温度传感器DS18B20测试实验。
并在1602液晶上显示当前温度。同时判断是否超过了温度上限和下限,
如果超过,液晶屏将有提示闪烁。
2、实验操作
1、将LCD1602液晶屏插入J15插座中,注液管脚方向。
2、通过调节电位器VR2可以改变显示的对比度。
3、将跳线插座J11的跳线帽调至TDQ端。
如果未正确设置跳线,液晶屏将显示No DS18B20。-DS18B20 digital temperature sensor 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 of the liquid crystal in 1602. At the same time to determine whether the temperature exceeds the upper and lower limits,
If exceeded, the LCD screen will prompt flashes.
2, experimental operation
1, the LCD1602 LCD insert J15 socket pin liquid injection direction.
2, by adjusting potentiometer VR2 can change the contrast of the display.
3, the jumper socket J11 jumper cap adjusted TDQ end.
If the jumper is not set correctly, the LCD screen will display No DS18B20.
1、程序说明:
该例程演示了接在单片机端口上的数字温度传感器DS18B20测试实验。
并在1602液晶上显示当前温度。同时判断是否超过了温度上限和下限,
如果超过,液晶屏将有提示闪烁。
2、实验操作
1、将LCD1602液晶屏插入J15插座中,注液管脚方向。
2、通过调节电位器VR2可以改变显示的对比度。
3、将跳线插座J11的跳线帽调至TDQ端。
如果未正确设置跳线,液晶屏将显示No DS18B20。-DS18B20 digital temperature sensor 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 of the liquid crystal in 1602. At the same time to determine whether the temperature exceeds the upper and lower limits,
If exceeded, the LCD screen will prompt flashes.
2, experimental operation
1, the LCD1602 LCD insert J15 socket pin liquid injection direction.
2, by adjusting potentiometer VR2 can change the contrast of the display.
3, the jumper socket J11 jumper cap adjusted TDQ end.
If the jumper is not set correctly, the LCD screen will display No DS18B20.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
40_DS18B20温度报警LCD1602显示实验\Application\Doc\readme.txt
.................................\...........\Header\ds18b20.h
.................................\...........\......\lcd1602.h
.................................\...........\......\STC15W4K32S4.h
.................................\...........\Source\ds18b20.c
.................................\...........\......\lcd1602.c
.................................\...........\......\main.c
.................................\...........\.tartup\STARTUP.A51
.................................\DS18B20_LCD1602.plg
.................................\DS18B20_LCD1602.uvgui.Administrator
.................................\DS18B20_LCD1602.uvgui_Administrator.bak
.................................\DS18B20_LCD1602.uvopt
.................................\DS18B20_LCD1602.uvproj
.................................\DS18B20_LCD1602_uvopt.bak
.................................\DS18B20_LCD1602_uvproj.bak
.................................\Lis\ds18b20.lst
.................................\...\DS18B20_LCD1602.m51
.................................\...\lcd1602.lst
.................................\...\main.lst
.................................\...\STARTUP.lst
.................................\Obj\ds18b20.obj
.................................\...\DS18B20_LCD1602
.................................\...\DS18B20_LCD1602.hex
.................................\...\DS18B20_LCD1602.lnp
.................................\...\DS18B20_LCD1602.plg
.................................\...\lcd1602.obj
.................................\...\main.obj
.................................\...\STARTUP.obj
.................................\...\STARTUP._ia
.................................\Application\Doc
.................................\...........\Header
.................................\...........\Source
.................................\...........\Startup
.................................\Application
.................................\Lis
.................................\Obj
40_DS18B20温度报警LCD1602显示实验