基于单片机的无线温度采集报警系统设计

时间:2025-04-02

基于单片机的无线温度采集报警系统设计

摘 要

本文所介绍的是一种采用单总线数字式温度传感器DS18B20、AT89C52单片机、1620LCM液晶显示器、数码管及nRF24L01无线收发一体模块组成的新型温度无线采集报警系统,并使用数码管显示器将所采集温度在采集端显示,并无线传输到接收模块用1620LCM液晶显示器显示出来。该系统以 AT89C52单片机为控制核心,利用新型一线制温度传感器 DS18B20测量温度值以及高可靠无线收发模块nRF24L01实现环境温度的无线采集和报警。系统测温范围为-50℃—+120℃,测量精度为 0.5℃。用户可以通过按键K0、K1、K2、K3随时自定义报警上、下限值,一旦温度超过极限值,接收端单片机便启动报警系统。该系统精度高、测温范围广、报警及时,可广泛应用于基于单片机的温度无线采集报警场合。

关键词:AT89C52单片机;无线温度采集;DS18B20;nRF24L01无线传输

基于单片机的无线温度采集报警系统设计

Abstract

This article introduced a new temperature wireless acquisition alarm system .It consist a single bus digital temperature sensor DS18B20, AT89S52 SCM, 1620 LCM LCD monitor, digital pipe and nRF24L01 wireless transceiver module . It use digital tube display temperature in the collection and the temperature that wireless transmission to receiving module with 1620 LCM LCD display. this system use AT89S52 SCM as control core, use the new a wire temperature sensor DS18B20 measuring temperature and high reliable wireless transceiver module nRF24L01 realize environmental temperature wireless data collection and alarm. Temperature measurement system for-50 ℃ scope+ 120 ℃, measuring precision of 0.5 ℃. The user can through the key K0, K1, K2, K3 custom alarm at any time, and have lower limit, once the temperature over limit, the receiver single-chip microcomputer start alarm system. The system have high precision, temperature measuring range, alarm in time, and can be widely used in the temperature of the acquisition based on single chip wireless alarm occasion.

Keywords: AT89S52 SCM; Wireless temperature gathering; DS18B20; NRF24L01

基于单片机的无线温度采集报警系统设计

目 录

摘 要 ......................................................................................................................................................... I Abstract.................................................................................................................................................... II 1 概述...................................................................................................................................................... 1

1.1 选题意义 ................................................................................................................................ 1 1.2 设计功能要求 ....................................................................................................................... 1 1.3 整体方案论证 ....................................................................................................................... 1 1.4 无线数据采集器系统框图 ................................................................................................ 2 2 温度无线采集报警系统的主要元件介绍 ................................................................................. 4

2.1 温度测量传感器DS18B20的介绍 .................................................................................. 4

2.1.1 DS18B20概述 ............................................................................................................ 4 2.1.2 内部结构 ...................................................................................................................... 4 2.1.3 DS18B20通信协议 ................................................................................................... 5 2.1.4 温度数据的计算处理方法 ...................................................................................... 6 2.2 无线发射模块nRF24L01介绍 ........................................................................................ 7

2.2.1 概述............................................................................................................................. 7 2.2.2 工作模式 ................................................................................................................... 8 2.2.3 SPI 指令及时序 .................................................................................................... 10

3 系统硬件电路设计........................................................................................................................... 11

3.1 AT89C52单片机最小系统 ............................................................................................... 11 3.2 温度检测模块电路 ............................................................................................................ 12 3.3 温度显示模块电路 ............................................................................................................ 12 3.4 发射电路模块 ..................................................................................................................... 14 3.5 接收电路模块 ..................................................................................................................... 14 4 系统软件设计 ............................................................................................................................... 15

4.1 主程序 ............................................................................... …… 此处隐藏:11459字,全部文档内容请下载后查看。喜欢就下载吧 ……

基于单片机的无线温度采集报警系统设计.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219