1、 题目题目: 基于基于 MCUMCU 无线温度传感无线温度传感毕业设计毕业设计 摘要 随着工农业生产对温度的要求越来越高,准确测量温度变得至关重要。本 系统的设计主要是针对恶劣环境下的工业现场以及高科技大范围的农业现场, 布线困难,浪费资源,占用空间,可操作性差等问题做出的一个解决方案。 本文对上述问题提出一种无线解决方案, 即基于 SoC 无线温度采集系统的 设计。该系统采用低功耗、高性能单片机及单总线数字式测温器件 DS18B20 构成测温系统,并且通过无线收发,最后在 PC 机上完成配置、显示和报警的 功能。 在这次的设计中采用的单片机 STC89C52RC 的内核和 MCS-51 系列
2、单片机一 样,引脚也相同。但是 STC89C52RC 可以通过 STC_ISP 软件下载进行烧录。无 线数据通信收发芯片 NRF24L01 是一款工业级内置硬件链路层协议的低成本无 线收发器,工作于 2.4 GHz 全球开放 ISM 频段。此外,温度传感器 DS18B20 以“一线总线“的数字方式传输,可大大提高系统的抗干扰性。 关键词关键词:SoC;STC89C52RC;NRF24L01;温度传感器 DS18B20;无线 Abstract With the industrial and agricultural production have become increasingly dema
3、nding on the temperature, accurate temperature measurement becomes critical. This system is a solution designed for wiring difficulties, wasting resources,taking up the space and poor maneuverability of harsh environment industrial site , wide range and hi-tech agricultural field. Based on the above
4、 mentioned problems is proposed, which is based on wireless solutions of SoC design of wireless temperature gathering system. This system USES low power consumption, high performance microprocessor and single bus digital temperature measurement device DS18B20 constitute temperature measuring system
5、through wireless transceiver, and finally in PC complete configuration, display and alarm function. Used in the design of the microcontroller STC89C52RC and MCS-51 MCU core has the same pin. But STC_ISP through STC89C52RC can burn to download software.Wireless data communication transceiver chip is
6、an industrial grade NRF24L01 hardware link layer protocol built low-cost wireless transceiver operating in the 2.4 GHz band global open ISM. In addition, the temperature sensor DS18B20 to “bus line“ digital mode transmission, greatly improves the power system. Key words:SoC,STC89C52RC,NRF24L01,Temperature sensor DS18B20, Wireless 目目 录录 第一章 绪 论 .1 1.1 概述 .1 1.2 系统设计任务分析.2 第二章 总体方案设计与选择的论证.3 2.1 单片机最小系统 3 2.1.1 单片机的说明 3 2.1.2 单片机的应用 3 2.1.3 单片机的结构特点4 2.1.4 单片机引脚配置 .4 2.2 无线收发模块介绍.8 2.2.1nRF24