串口通信温度测距

所属分类:其他
开发工具:C/C++
文件大小:2KB
下载次数:1
上传日期:2019-03-22 23:10:31
上 传 者傻gai在线
说明:  ①用18B20温度传感器实现温度测量并且LCD液晶显示屏显示; ②用HC-sr04距离传感器实现距离测量并且LCD液晶显示哦显示; ③因为距离测量时用超声传播,而且超声传播的速度受到温度的影响,所以想要将温度对距离测量的影响加入到距离测量中,实现温度影响距离测量的效果,得到更加精确的距离测量结果,并且LCD液晶显示屏显示; ④实现蜂鸣器报警——当距离测量超过300CM小于4CM时蜂鸣器报警; ⑤因为前面都是实时测量,测量显示结果随时都在更新,这样不方便观测测量结果,所以接下来实现的功能是按键间断测量,实现按键按一次,测量一次,这样可以将上一次测量的结果一直保持显示,便于观察记录测量结果; ⑥实现串口通信,将测量结果通过串口通信发送到电脑屏幕上面显示。
(Temperature measurement and LCD display are realized by 18B20 temperature sensor. (2) HC-sr04 distance sensor is used to realize distance measurement and LCD liquid crystal display oh display; (3) Because the ultrasonic transmission is used in distance measurement and the speed of ultrasonic transmission is affected by temperature, we want to add the influence of temperature on distance measurement to realize the effect of temperature on distance measurement, and get more accurate distance measurement results, and LCD display screen display.)

文件列表:
串口通信温度测距.txt (8337, 2014-03-15)

近期下载者

相关文件


收藏者