安全检测:瑞星:安全 诺顿:安全 卡巴:安全
毕业设计-基于GPRS的数据传输与控制系统设计,共43页,19740字,附外文翻译、答辩PPT、程序
摘 要
随着手机的普及,GPRS技术也随之走进了千家万户之中,GPRS的应用也在广泛的发展之中,利用GPRS网络进行无线远程控制已经成为了一种非常有效的控制方法,其原理简单,是基于现有网络的应用,不需要进行额外的网络组建和维护。
本文是基于单片机的数据传输与控制系统设计,通过MC35模块连接进入手机GPRS网络,对接收到的短信进行识别,再到达对电磁继电器的控制,以此来模拟家用电器的远程控制。本文首先讨论了单片机以及GPRS模块MC35的功能和特性,之后再进行对外围硬件电路的设计和软件程序的编写,硬件电路的设计包括无线接收与发送数据系统和单片机控制系统两个部分,由单片机最小系统、单片机系统供电电路、家用电器模拟部分、串口通信连接部分、MC35模块、SIM卡连接部分和MC35模块电源供电电路等各个部分组成。软件程序的编写和调试,最终逐步的完成成品的调试、检测。
在文章的最后对此次设计进行了总结,探讨了设计上的不足,以及在之后的进一步的发展对与设计的改进和实际应用之中的特点。
关键词:GPRS,手机,数据传输,远程控制
ABSTRACT
With the popularity of cell phone,, also entered the homes of GPRS technology, GPRS application in a wide range of development, using GPRS network for wireless remote control has become a very effective control method, its principle is simple and is based on the existing network applications, do not need to undertake additional network formation and maintenance.
This article is based on single-chip data transmission and control system design, through MC35 module connect to cellular GPRS network, received text messages, which can identify and reach of electromagnetic relay control, in order to simulate the remote control of household appliances. At first, this paper discusses the function of MCU and GPRS module MC35 and features, then design of periphery hardware circuit and software program of writing, the hardware circuit design includes the wireless receiving and transmitting data system and single-chip microcomputer control system of two parts, system controlled by single chip microcomputer minimum system, power supply circuit, household electrical appliances simulation, a serial communication connection, a connection and MC35 module MC35 module, SIM card power supply circuit and other parts. Software program writing and debugging, finally complete finished debugging, testing step by step.
At the end of the article for the design are summarized, and discussed the shortcomings of the design, as well as the further development of the later in the improvement of design and practical application of the characteristic.
KEY WORDS: GPRS, cell phone, data transmission, remote control
目 录
第一章 绪论 1
1.1 课题研究背景及意义 1
1.1.1 课题研究背景 1
1.1.2 课题研究意义 1
1.2 发展现状 1
1.3 主要研究工作 2
第二章 硬件电路设计 3
2.1 系统总体结构设计 3
2.2 单片机控制系统 3
2.2.1 单片机介绍 3
2.2.2 单片机的选型 4
2.2.3 单片机最小系统 5
2.3 单片机电源供电电路设计 7
2.3.1 7805模块 7
2.3.2 7805硬件电路设计 7
2.4 家用电器模拟部分 8
2.5 串口电路 9
2.5.1 串口 9
2.5.2 MAX232功能 9
2.5.3 串口通信 10
2.6 无线接收与发送数据系统 12
2.7 GPRS通信 12
2.7.1 GPRS通信发展 12
2.7.2 GPRS通信应用 12
2.7.3 GPRS通信模块 13
2.7.4 通信模块对比 14
2.8 SIM卡接口设计 16
2.9 MC35供电电路设计 19
2.9.1 LM2576模块 19
2.9.2 LM2576硬件电路设计 19
第三章 软件程序设计 21
3.1 单片机系统软件设计 21
3.1.1 串口初始化程序 21
3.1.2 串口中断服务程序 21
3.1.3 短信接收程序设计 22
第四章 系统实现与调试 23
4.1系统工作过程 23
4.2 系统工作原理 23
4.3 硬件调试 23
4.4 软件调试 23
第五章 总结与展望 25
参 考 文 献 26
致 谢 27
毕业设计小结 28
附录 部分软件程序 30
主要研究工作
本文的研究是基于STC单片机以及MC35通信模块,通过与SIM卡连接来接入到GPRS网络,实现经由GPRS网络进行手机控制电磁继电器吸合与打开,模拟在实际应用电路中。本次的设计将会对整个系统进行硬件电路的设计以及软件程序的编写。
硬件电路的设计部分包括:单片机最小系统的搭建,单片机系统与PC机的程序烧写部分的硬件电路设计。单片机系统与GPRS通信模块MC35的连接与通信,SIM卡的硬件电路设计,SIM卡与GPRS通信模块MC35的连接,电路板电源供电部分设计。以及电路板的PCB制作设计。
软件程序的设计包括,MC35与单片机之间的串口通信,短信内容的查询、记录、响应以及反馈。更进一步的还可以进行信息来源端的识别与鉴别,明确指令的唯一性与确定性,避免造成不必要的损失。
主要技术指标
1)熟悉GPRS网络数据传输及AT指令原理;
2)GPRS芯片的选择;
3)单片机的选择;
4)远程数据传输与控制的硬件系统总体设计;
5)远程控制LED亮灭的实现;
6)远程控制继电器吸合的实现。