摘要:本文利用单片机STC89C52和无线收发模块NRF905设计一个无线收发装置。在掌握STC89C52各引脚和NRF905的工作模式的配置的基础下,完成对无线收发装置的设计,能应用于车站中并实时地传送车站所需的数据,如车站中的温度、列车运行的信号等等数据。在某些特殊或者紧急的状况下也能及时地做出报警,避免不必要的事故发生。对无线收发装置的设计,分为两个部分,分别是硬件设计和软件设计。硬件设计由三个模块构成,分别是单片机STC89C52的最小系统和无线收发模块NRF905组成的发送模块、接收模块和体现数据接收的报警模块,这些模块的结合最终能实现无线收发的目的;软件设计是通过Keil C51来对单片机STC89C52进行编程从而进行对收发装置的控制并实现数据的传送。此系统在数据方面传输速度快、易于将功能扩展和具有高的可靠性,适用于多种领域。57935
毕业论文关键词:无线传输模块NRF905;单片机STC89C52;无线通信;数据收发
Design On Wireless Transceiver Device In Station
Abstract:This article describes that the use of chip microcomputer STC89C52 to control the wireless transceiver module NRF905 to achieve data transmission and reception. In STC89C52 the pins and nRF905 working mode configuration command, complete design of wireless transceiver device, used in the station and real-time transmission station required data, data such as the show temperature, train signal and so on. In some special or emergency situations can also be made in a timely manner to the police, to avoid unnecessary accidents.Wireless transceiver design, from the introduction of two parts, namely, hardware and software design.The hardware design consists of three modules, respectively is the STC89C52 minimum system and wireless transceiver nRF905 module is composed of a transmitting module, a receiving module and reflect the data receiving the alarm module, the combination of these modules can eventually achieve the purpose of wireless transceiver; the software is designed to be programmed by Keil C51 microcontroller STC89C52 thereby performing transceiver device control and to achieve data transmission. This system in terms of data transmission speed, easy to extend the functionality and high reliability,it could be applied toa variety of fields.
Keywords:wireless transmit module NRF905; chip microcomputer STC89C52; wireless communication; data transceiver
目录
1 引言 1
1.1 课题的目的和意义 1
1.3 发展趋势 2
1.4 本文的主要工作和内容安排 3
2 硬件设计 4
2.1 系统总设计 4
2.1.1 STC89C52单片机介绍 5
2.1.2 无线收发模块NRF905 8
2.1.3 电源转换电路 12
2.2 发送模块 12
2.3 接收模块 13
2.4 SPI总线 15
3 软件设计 18
3.1 Keil C51介绍 18
3.2 Proteus介绍 18
3.3 系统流程设计 19
3.3.1 发送流程 19
3.3.2 接收流程 21
4 实验结果 22
4.1 实验原理图