《基于单片机铁道口报警系统的设计与实现》.docVIP

  • 9
  • 0
  • 约2.38万字
  • 约 33页
  • 2016-12-11 发布于贵州
  • 举报

《基于单片机铁道口报警系统的设计与实现》.doc

沈阳工学院 毕业设计报告题 目:基于单片机铁道口报警系统的设计与实现院 系: 信息与控制学院专 业:通信工程班级学号:103041 01学生姓名:李 艳指导教师:张可菊成 绩:2014 年 06 月 25日 摘 要 本课题通过对单片机STC89C52和无线通信模块nRF24L01分析与研究,设计了一个基于单片机铁道口报警系统的模拟过程。此系统主要研究如何通过无线通信模块与单片机来实现铁道口的报警过程;详细的阐述了无线通信收发模块nRF24L01的通信特性,单片机通过接受到nRF24L01的信号来控制蜂鸣器和发光二极管的工作状态,从而达到铁道口报警目的。 通过使用2.4G 无线射频收发芯片nRF24L01通信的信号,单片机将无线接收模块的信号进行处理,再进行报警。nRF24L01的整体性能很好而且使用较方便;其中跳频功能的应用很好的解决了无线传输存在的干扰问题,适合工业控制场合;无线射频模块可软件设地址,只有收到本机地址是才会输出数据提供中断提示,可直接连接各种系列的单片机使用,软件编程方便。由于采用无线传输手段,系统隐蔽性好,生存能力强,避免了有线报警系统安装时需要穿墙架线,因而造成破坏已有合理结构的弊端,故具有极好的应用前景。 关键词:单片机;nRF42L01;报警;无线通信Abstract Through analysis and research of SCM(Single Chip Micand wireless communication module railway mouth alarm system is designed, which is based on single chip microcomputer. The system mainly studies alarm process, how to use railway wireless communicati0n module and SCM. Detailed elaborated the wireless transceiver module nRF24L01 communication features. By using the 2.4 G wireless transceiver chip nRF24L01 transmission data, SCM receive signal and processing, by accepting to nRF24L01 received signal, SCM to control the working state of the buzzer and LED, so as to achieve the railway port alarm purposes. NRF24L01 is very good and its convenient to use at the overall performance. In the actual application testing effect is also very good. The wireless module transmission distance can reach 10 meters. It’s suitable for industrial control occasions, nRF24L01 can be connected to a variety of series of SCM and is used directly, software programming is convenient. Because of use wireless transmission mode, so concealment of the system is good and the survival ability is also well. The system of alarm have very good application prospect. Keywords: STC89C52; nRF24L01; alarm; wireless communication目 录 1 硬件部分设计 1 1.1 硬件结构设计 1 1.2 硬件电路设计 2 1.2.1 硬件模块选择 2 1.2.2 硬件模块设计 3 2 软件部分设计 6 2.1 开发环境 6 2.2 主体程序设计 6 2.2.1 主程序设计 6 2.2.2 nRF24L01发送模块程序设计 7 2.2.3 nRF24L01接收模块程序设计 8 3 系统测试 10 3.1 软件测试 10 3.2 硬件测试

文档评论(0)

1亿VIP精品文档

相关文档