摘要伴随着社会的进步发展,人们的生活水平也在提高,汽车持有率也越来越高,而每年雨季致使涵洞积水,暗藏危机,对人们生命和财富的平安造成严重威胁。本文主要目的是实现这样一种数据传输渠道,它将短信通信作为平台,顺利地把自控技术、无线通信技术应用到涵洞水深报警中。本文使用ST89C51作为主控芯片, 通信芯片采用SIMCOM生产的SIM900A,经过翻阅有关书籍和芯片的使用手册之后,设计了一个自动涵洞水深报警系统,可实时监控涵洞水深情况,将高危涵洞信息以短信的形式及时发送给相关指挥员,该系统将提供第一手的可靠信息来帮助管理员迅速发现和排除危情。系统由水深检测电路、微处理器模块以及短信通信模块组成。其中水深检测由小组其他成员完成,本文主要实现短信报警。当涵洞水深超过安全线后,将信号发送到主控系统中,单片机发送AT指令给通信模块:向指挥员手机发送短信(包括涵洞位置以及实时水深),待危情解除后,再向指挥员手机发送解除警报的消息。该系统实现了自动化监控,显著提高了排洪的效率。84799
毕业论文关键词: ST89C51;SIM900A; 短信报警;AT指令
Abstract With the development and progress of society, the standard of people’s live is improving。 The ownership of automotive is become more。 And the annual rainy season make the culvert full of water, which cause serious threaten to people’s lives and wealth。 The main purpose of this paper is to achieve a channel to transport data。 It used SMS communication as a platform, and applied automatic control technology, wireless communication technology to the alarm of the depth of water of the culvert。 In this paper, the master chip is ST89C51 and the communication chip is SIMCOM produced by SIM900A。 After reading a large number of relevant books and the use of chip manual。 I design an automatic alarm system to the depth of the water of culvert, it can monitor the depth of the culvert water in real time and send high risk information to the relevant commanders in the form of text message。 The system can provide first-hand reliable information to help the commander find and solve dangerous situation quickly。 The system is consist of depth of the detection circuit, a microprocessor module and SMS communication module。 The depth of the detection circuit is finished by other team members and the main purpose of this paper is the SMS alarm。 When the depth of the culvert is overtake the safety line, it will send AT commands to the master control system。 Then the SCM send message to the communication module。 Finally the communication module send massage to the commander (include the culvert location and real time depth)。 After the crisis removed, system send message to the cellphone of commander again。 The system achieve automatic monitoring and improve the efficiency of exclude of flood。
Keywords: ST89C51; SIM900A; SMS alarm; AT commands
目 录
第一章 绪 论 1
1。1选题的目的和意义 1
1。2。1 GSM系统的国内外研究 1
1。2。2 GSM系统在涵洞水深方向的应用现状 2
1。3主要研究内容 2
1。4研究方法、步骤和措施等 3
第二章 相关技术简介 4
2。1单片机 4
2。2 AT指令 4
2。3 GSM系统