arduino的远程温湿度检测报警器(附件)【字数:4831】
2020 年 4 月 23 日目录
一、整体设计 3
二、硬件部分 3
(一)温湿度传感器 3
(二)Arduino控制板 4
(三)显示电路 5
(四)蓝牙模块 6
(五)线路部分连接 6
(六)APP:Blinker的配置 7
三、模块测试 8
(一)DHT11传感器测试 8
(二)蓝牙模块测试 9
(三)显示模块测试 10
四、代码编写 11
五、 总结 15
致谢 16
参考文献 17
附录 18
附录(一)电路原理图 18
附录(二)PCB 19
Abstract
In this paper, a remote temperature and humidity detector based on Arduino uno R3 is designed. The design consists of arduinouno R3 main control board, temperature and humidity sensor DHT11,LCD1602 IIC, Bluetooth module jdy16, battery module, mobile app: blinker. Connect the main control board with each module through th
*51今日免费论文网|www.jxszl.com +Q: &351916072&
e plugin board and DuPont line to test whether the performance of the module is normal. Finally, download the code written on the Arduino ide into the main control board, and complete the placement of the components set in the code on the mobile app: blinker. Within the coverage of Bluetooth signal, we can check the temperature and humidity of the detector location through mobile app: blinker, and enrich the function of the detector by adding components and writing programs again.
Keywords: Arduino, temperature and humidity sensor, Bluetooth module, Binker.
引言
2005年1月,欧洲的一个团队开发了一个名为Arduino的开源电子平台,该平台由硬件和软件两部分组成,硬件由主板和扩展板组成,软件方面可以通过你自己的计算机程序中开发,它基于开放原始代码的Simple I/O平台。Arduino开放性极高,能够使用已经开发的各种电子元件,比如鼠标键盘,它也能够通过各种各样的装置来感知环境和反馈信息。
时代在变化,Arduino也顺应着时间在更新换代,功能也越来越完善,其中有一些性能优越的型号,比如说UNOR3、LilyPad等。随着需求的变化,Arduino的扩展板出现了,原型扩展板,以太网扩展板,甚至还有无线扩展板,不仅扩宽了Arduino的使用,也完美了解决了接线混乱和拥挤的尴尬场面。
Arduino IDE是一款配套的编程软件,编程语言简单而方便,但这之后,又出现了Mind+,Mixly,Linkboy等图形编程软件出现,更加的简化了编辑程序需要的步骤,而随着门槛的降低,Arduino也迅速风靡了起来。
Arduino的优势在于社区的强大和众多类库资源,其资源和影响力已经让github都加上了Arduino语言分类。Arduino更多用在数据采集和控制上,简单轻量。而树莓派等带OS开发板可以实现更多的复杂功能,如图形图像处理;聪明的开发者会选择合适自己、合适项目的平台,而非选择性能最强大的平台。
温度和湿度,与我们生活息息相关,比如夏日的炎热,冬天的寒冷,秋天的干燥,春天的湿润,在数据采集和控制上,Arduino毫无疑问是极为出众的,所以我选择用Arduino在作为远程温湿度检测器的主控板。
远程温湿度检测器的制作,最关键的一点在于数据的反馈,如何收到准确的信息,且无误和稳定,是最需要解决的问题。
一、整体设计
时代在变化,科技在发展和进步,都是为了快捷和方便,而这款远程温湿度检测器的设计思路其实非常简单,将温湿度检测传感器DHT11采集到的数据,传输给主控板ArduinoUNOR3,再由Arduino主控板将数据处理之后传给蓝牙模块JDY16,最后用手机蓝牙搜索到蓝牙模块,在APP:Blinker里设置好参数,就可以直接查看数据。在这之外,还可以通过加入显示模块来显示所检测到的数值。
整体设计的运行流程如图11所示。
原文链接:http://www.jxszl.com/dzxx/txgc/80102.html