{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于stc89c52单片机蓝牙温湿度检测系统设计

来源:wenku7.com  资料编号:WK717162 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK717162
以下是资料介绍,如需要完整的请充值下载。
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于stc89c52单片机蓝牙温湿度检测系统设计(论文12000字)
摘要:温湿度是生活中必不可少一个基本元素,涉及天气、工业诸多方面。随着21世纪互联网和移动平台智能手机的发展和普及,对于互联网服务器和移动平台来说,真实可靠的实时数据检测设备成了大势所趋,硬件与软件的配合也进入一个新的高度一个新的领域。传统的温湿度采集系统需要现场的有线操作,人工进行数据采集等操作。这种方式的缺点显而易见,成本高,耗人力,但有一部分硬件部件发生故障时,检修的困难大大的增加。鉴于此,本设计使用stm89c52单片机为硬件核心,采用蓝牙无线的方式接受显示数据。无线显示系统传输范围广,可以在远隔千里的控制室进行温湿度数据的采集显示,本设计使用STC89C52单片机、DHT11传感器模块、1602液晶显示屏模块以及HC-05蓝牙模块,设计完整闭合的温湿度检测与显示系统,然后使用JAVA语言编写移动平台软件,实现远距离温湿度的采集。
关键词:传感器,温湿度,单片机,hc-05蓝牙模块
 
ABSTRACT:Temperature and humidity are indispensable elements in life, involving weather and industry. With the development and popularization of Internet and mobile smart phones in the 21st century, real-time and reliable real-time data detection equipment has become a general trend for Internet servers and mobile platforms, and the cooperation of hardware and software has also entered a new height. . The traditional temperature and humidity acquisition system requires on-site wired operation, manual data acquisition and other operations. The disadvantages of this approach are obvious. It is costly and labor-intensive. However, when some of the hardware components fail, the difficulty of overhauling is greatly increased. In view of this, this design uses the stm89c52 micro-controller as the hardware core and uses Bluetooth wireless to accept the display data. The temperature and humidity collection can be performed in a non-contact mode, and the temperature and humidity data can be read by the smart phone. The wireless display system has a wide transmission range and can collect and display temperature and humidity data in a control room thousands of miles away. This design uses the STC89C52 micro-controller, the DHT11 sensor module, the 1602 liquid crystal display module, and the HC-05 Bluetooth module to design a fully closed temperature. Humidity detection and display system, then use JAVA language to write mobile platform software, to achieve long-distance temperature and humidity collection.

Keywords: Sensor, temperature and humidity, MCU, hc-05 Bluetooth module.

目  录
第一章 绪论    6
1.1课题的选题背景    6
1.2 本论文主要研究内容    7
1.3 系统的工作原理简介    7
第二章 系统总体方案设计    7
2.1 系统总框图    7
2.2 系统硬件选择    8
2.2.1单片机微控制器模块的选择    8
2.2.2 传感器的选择    8
2.2.3 显示器选择方案    8
第三章 系统硬件电路的设计    9
3.1系统硬件概述    9
3.2单片机主控模块设计    9
3.2.1单片机引脚介绍    9
3.2.2单片机最小系统    10
3.3 DHT11传感器模块设计    11
3.3.1 DHT11传感器简介    11
3.3.2 DHT11传感器模块电路设计    13
3.4 液晶显示模块设计    13
3.4.1 液晶显示屏简介    13
3.4.2 1602LCD的RAM地址映射以及标准字库表    14
3.4.3 液晶显示模块电路原理图    14
3.5 蓝牙传输模块设计    15
3.5.1 蓝牙显示模块简介    15
3.5.2 蓝牙模块电路原理图    15
第四章 系统硬件部分程序设计    16
4.1 主程序设计    16
4.2液晶显示模块设计    17
4.3 传感器模块设计    18
第五章 系统分析与调试    18
5.1硬件程序的编写    18
5.1.1main函数的编写    19
5.1.2子程序的编写    19
5.1.3蓝牙程序的编写    20
5.2数据测试    20
第六章 Android软件的编写    21
6.1app编写概述    21
6.2java及其环境介绍    21
6.3androidmanifest.xml文件    22
6.4SplashActivity工程    24
6.5Mainactivity工程    25
6.6DeviceListActivity工程    31
6.7XML文件的编写    31
参考文献    34
附录     36
致谢    38

推荐资料