1、 1 目 录 1 概论 4 1.1 前言 4 1.2 主要研究内容和意义 4 2 系统设计总体方案 5 2.1 方案论证 5 2.2 系统框图 5 3 系统硬件电路设计 7 3.1 单片机及相关电路 7 3.2 模数转换模块 . 12 3.3 环境温湿度数据采集模块 . 15 3.4 NRF905 无线模块 . 18 3.5 控制模块 . 23 4 软件设计 . 24 4.1 总体程序流程图设计 24 4.2 分模块程序设计 25 5 系统调试 . 28 5.1 PCB 板制作元器件封装的选取和摆放 28 5.2 电路板的调试 . 28 5.3 软件调试 . 29 5.4 软硬件结合调试 .
2、29 6 总结 . 30 参考文献 . 31 致 谢 词 . 32 独撰声明 . 33 翻译资料 . 34 2 基于单片机的温度湿度基于单片机的温度湿度 采集显示控制系统采集显示控制系统 作 者 张伟 指导老师:刘亚军 (年级专业:2008 级电子信息工程通讯方向) 摘 要:文中讨论采用 STG89C52 单片机为核心,NRF905 无线模块作为桥梁来实现室内环 境中温度和湿度的采集,传输;并通过 LCD 显示屏来查看温度和湿度的变化,及时做出调整 的可能性。给出了无线采集模块,无线接收模块,LCD 显示模块,控制模块及 STC89C52 单 片机构成的温度湿度采集显示控制系统的设计方案。 并
3、详细介绍了无线模块的硬件组成和软 件的工作流程。文章重点阐述了 STC89C52 单片机,无线采集模块,无线接收模块的特点和 功能。采用这种方案,不必敷设电缆,节省了费用和时间。该系统体积小,精确度较高,数 据传输可靠性高,功耗低,功能易扩展,适用于实验室,仓库,家庭等多种应用领域。 关键词:STC89C52 单片机 LCD 显示屏 NRF905 无线收发 系统监测 温湿度传感器 Based on single chip microcomputer temperature humidity Collection display and control system Author: zhang
4、wei guide teacher: liu YaJun (grade level 2008 professional: electronic and information engineering-communication direction) Abstrac :This paper discusses the STG89C52 microcontroller as the core, NRF905 wireless module used as a bridge to achieve in indoor environment temperature and humidity of th
5、e collection, transmission; And through the LCD screen to see the change of the temperature and humidity, make timely adjust the possibility. Given the wireless acquisition module, wireless receiving module, LCD display module, control module and STC89C52 single-chip computers.the temperature humidi
6、ty collection display and control system design scheme. And introduces wireless module of hardware and software flow of work. This paper describes the STC89C52 microcontroller, wireless acquisition module, wireless receiving module characteristics and function. Use this scheme, need not laying cable, save the cost and time. The system, small size, high accuracy, high reliability data transmission, low power consumption, the function is easy to expand, used in the lab, warehouse, the family,