1 / 48
文档名称:

(毕业论文)基于单片机的GPRS无线数据终端的设计与实现.doc

格式:doc   页数:48
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

(毕业论文)基于单片机的GPRS无线数据终端的设计与实现.doc

上传人:精品文档 2013/8/31 文件大小:0 KB

下载得到文件列表

(毕业论文)基于单片机的GPRS无线数据终端的设计与实现.doc

文档介绍

文档介绍:摘要
本文设计并实现了基于单片机的GPRS无线数据终端,该系统以8位单片机微控制器为核心,通过单片机的串口向内嵌有完整的TCP/IP协议栈的无线数据模块SIM900发送AT指令,实现与远程服务器的TCP连接及数据通信,进而实现远程服务器通过给无线数据终端发送数据,控制远程终端LED灯的点亮和熄灭功能。结合GPRS通信网络的特点分析无线数据传输系统的设计过程,给出系统的具体实现方案,提出硬件、软件系统的设计流程,根据编制的TCP Socket服务器端软件,对系统进行硬件调试和远程数据通信测试。本系统经过测试,符合设计任务指标。
关键词:GPRS;SIM900;单片机;AT指令;TCP/IP协议
Abstract
This paper designed and implemented a wireless data terminal based on MCU and GPRS, a 8-bit microcontroller is core of the system. In order to TCP connection with the remote server and munications ,the MCU sended mands to wireless data module SIM900 with plete TCP / IP protocol stacks through the MCU’s serial ports, then to achieve that the remote server via a wireless data transmission to terminals controled the remote LED lights on and off of terminal. This paper analyzed the of wireless data transmission system design process with bination of works characteristics, given the specific implementation, proposed hardware and software system design flow, based on the established TCP Socket server-side software, made a hardware debugging and a remote munications testing. The system has been tested and meets the design task indexes.
Keywords: GPRS; SIM900; SCM; mands; TCP /IP protocol
目录
第一章绪论 1
研究现状分析 1
通讯方式的研究现状分析 3
4
5
GPRS模块与具有动态IP远程服务器的通信 5
6
TCP技术简介 6
研究的具体任务和论文章节的安排 9
第二章系统总体设计方案介绍 11
系统功能要求 11
11
11
11
13
系统的设计方案确定 14
15
第三章系统硬件设计 17
主控外围电路 17
SIM900模块的外围电路 17
单片机与SIM900无线模块串口通信电路 18
无线模块外围电路设计 19
19
20
SIM卡电路 21
第四章系统软件设计 22
软件总体设计流程 22
单片机初始化 23
串口初始化 23
定时器初始化 24
串口中断初始化 25
数据解析 26
完成上下行数据的透明传输 29
第五章系统测试 30
软硬件调试 30
硬件调试 30
软件调试 30
基于串口调试助手的数据通信测试 31
32
建立TCP连接 32
服务器向无线数据终端(DTU)发送下行数据 33
(DTU)向服务器发送上行数据 34
第六章总结与展望 38
总结 38