【正文】
erature is a very important parameters. In the industrial, medical and military and life and many other place, it needs to use the temperature measurement device to detect temperature. The traditional direct measurement wiring does not meet the requirements, especially in some environmental bad industrial environment and outdoor environment, through the direct wiring measurement is not practical. So using wireless transmission temperature testing is necessary. At present some design can realize the wireless temperature gathering, but the price is too high, its biggest weakness. In the actual temperature control process requires both system has stability, realtime and the need to reduce power consumption. So the design of a kind of low power consumption wireless temperature detection system is very meaningful. This paper presents a USES the monolithic integrated circuit AT89S52 control DS18B20 of the realization of the wireless temperature measuring system. Through the simple wireless munication protocol, realize the reliability and power balance, the system can realize to the temperature detection, can simultaneously determine the temperature, can be realized the wireless remote control temperature detection system. Low power consumption, realtime wireless temperature detection is the biggest characteristic of the design. Wireless transmission using nRF24L01 module transmission. The system structure is simple, reliable, low power consumption, low cost, it is a kind of wireless sensor solutions. Key word: MCU AT89S52 wireless transmission nRF24l01 DS18B20 基于 nRF24L01 模塊的無線通信系統設計 III 目錄 摘要 ..................................................................................................................I Abstract ........................................................................................................... II 目錄 ............................................................................................................... III 前言 ................................................................................................................. 1 1 系統方案分析與選擇論證 .............................................................................. 3 系統方案設計 ...................................................................................... 3 主控芯片方案 ............................................................................ 3 無線通信模塊方案 ..................................................................... 3 溫度傳感方案 ............................................................................ 4 顯示模塊方案 ............................................................................ 4 單片機與 PC機通信模塊 ............................................................. 5 系統最終方案 ...................................................................................... 5 2 主要芯片介紹和系統模塊硬件設計 ................................................................ 7 AT89S52................................................................................................ 7 單片機控制模塊 ....................................................................... 11 單片 nRF24L01無線模塊 ........................................................ 12 nRF24L01芯片概述 ................................................................... 12 引腳功能及描述 ....................................................................... 12 工作模式 ................................................................................. 13 工作原理 ................................................................................. 14 配置字 ..................................................................................... 15 nRF24L01模 塊原理圖 ................................................................ 17 溫度傳感器 DS18B20 ......................................................................... 17 DS18B20管腳配置和內部結構 .................................................. 18 DS18B20的工作原理 .................................................................. 20 DS18B20的硬件設計 .................................................................. 22 顯示模塊 ........................................................................................... 23 接收端顯示模塊 ....................................................................... 23 基于 nRF24L01 模塊的無線通信系統設計 IV 發(fā)送端顯示模塊 ....................................................................... 24 報警電路 ........................................................................................... 25 接收端與 PC機通信 ........................................................................... 25 電源電路設計 .................................................................................... 26 其他外圍電路 ............................................................................. 27 3 系統軟件設計 ............................................................................................. 28 單片機軟件設計 ................................................................................ 28 發(fā)送端軟件設計 ....................................................................... 28 接收端軟件設計 ....................................................................... 29 4 系統仿真 .................................................................................................... 30 電源電路的仿真 ................................................................................ 30 +5V電源電路仿真 .................................................................... 30 發(fā)送端溫度采集與顯 示仿真 ............................................................... 30 接收端 LCD1602顯示溫度仿真 ................................................... 31 5 硬件電路板設計 .......................................................................................... 33 系統硬件原理圖 ................................................................................ 33 發(fā)送端原理圖 .......................................................................... 33 接收端原理圖 ..........