基于单片机的短信收发系统毕业设计论文 - 图文

更新时间:2023-10-01 22:10:02 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

本科毕业设计(论文)

题 目: 基于单片机的短信收发系统设计

The Design Of Messaging System Based

On MCU

By Wang Hui

Graduation Design

Supervised by Lecture. SHI Xinxin

School of Automation Nanjing Institute of Technology

June, 2015

南京工程学院自动化学院本科毕业设计(论文)

摘 要

随着手机的广泛使用,GSM网络提供的短消息服务使得只需要增加少量投入便可以通过手机实现生活和生产中的远程控制和告警通知成为可能。

本设计是基于ARM Cortex-M3内核的32位单片机STM32的一种短信收发系统。本系统主要实现中英文短信收发及TFT彩屏显示相关状态如短信未读、已读状态、短信发送状态和内容如要读取短信数、读取到的短信内容、时间、发件人手机号码等,并且可以实现通过TFT液晶屏触摸输入号码和功能按键如读取、返回、拨号、挂断、删除等。此方案以ST公司32位单片机STM32F103ZET6为主控制器辅以GSM/GPRS模块SIM900A,64Mb串行Flash存储器W25Q64,2K串行EEPROM AT24C02,TFT液晶屏ILI9320等硬件,通过C语言编写程序,用软硬件结合的方法实现其基本功能。经过多次实践测试,本系统可以达到预期的稳定性、可靠性,可以应用在远程控制、智能家居、工业控制等领域。

关键词:SIM900A ;STM32;短信;GSM;TFT

液晶屏

I

南京工程学院自动化学院本科毕业设计(论文)

With the widespread use of mobile phones, short message services provided by the GSM network make it possible that only a slight increase in investment and production will be able to live in the remote control and alarm notification via cell phone.

In this thesis , a messaging system base on the 32-bit MCU STM32 which is based on the core of Cortex-M3 by ARM is discussed.The system is mainly a Chinese and English text messaging and that TFT color screen displays the status of messages such as unread, read status, SMS status and content, such as the number of messages to be read, read the message content, time, sender's phone number, etc. and can be achieved by TFT LCD touch screen to input the number and function keys such as reading, return, dial, hang up, delete, and so on.This program selects ST company's 32-bit MCU STM32F103ZET6 as controller supplemented GSM / GPRS module SIM900A, 64Mb Serial Flash memory W25Q64,2K serial EEPROM AT24C02, TFT LCD ILI9320 hardware, through C language programming,and achieve its basic functions with the combination of software and hardware.After several practice tests, the system can achieve the desired stability, reliability, and can be used in remote control, smart home, industrial control and other fields.

Key words: SIM900A; STM32; messaging; GSM; TFT screen

ABSTRACT

II

南京工程学院自动化学院本科毕业设计(论文)

目 录

第一章 绪 论 ............................................................................................................ 1

1.1 引言 .................................................................................................................... 1 1.2 选题背景与意义 ................................................................................................ 1 1.3 应用现状及发展趋势 ........................................................................................ 1

第二章 GSM系统及方案设计 ................................................................................. 2

2.1 GSM系统 ........................................................................................................ 3

2.1.1 GSM系统特点 ........................................................................................ 3 2.1.2 GSM系统的体系结构 ............................................................................ 3 2.2 GSM系统方案设计 ........................................................................................... 4 2.3 本章小结 ............................................................................................................ 5

第三章 系统硬件设计 .............................................................................................. 5

3.1 单片机最小系统 .............................................................................................. 6

3.1.1主控制器 .................................................................................................. 6 3.1.2 主控制器外围简单电路 ......................................................................... 6 3.1.3 JTAG接口 ............................................................................................... 8 3.1.4 电源电路 ................................................................................................. 9 3.2 SIM900A模块 .................................................................................................. 10

3.2.1 SIM900A模块的对外接口电路 ........................................................... 10 3.2.2 SIM900A模块初始化 ........................................................................... 11 3.3 外围电路设计 .................................................................................................. 12

3.3.1 一键下载电路 ....................................................................................... 12 3.3.2 TFT液晶屏接口 .................................................................................... 12 3.3.3外部存储器 ............................................................................................ 13 3.3.4 按键和指示灯电路 ............................................................................... 15 3.3.5 蜂鸣器电路 ........................................................................................... 16 3.4 本章小结 .......................................................................................................... 17

第四章 系统软件设计 ............................................................................................ 17

4.1 总体框图 ........................................................................................................ 17 4.2 系统初始化 .................................................................................................... 18 4.3 文件系统FATFS移植 .................................................................................. 19

III

本文来源:https://www.bwwdw.com/article/svtd.html

Top