摘要:本课题目的是使学生结合学过的计算机和程序开发的相关知识,采用VB编程语言,通过GSM模块实现短信收发信息管理系统的程序设计。本设计使用SIM300模块通过串口与PC相连,在PC端使用AT指令对模块进行控制,实现基于GSM的短信收发功能;同时使用ACCESS数据库作为后台数据库,使用ADO控件与VB程序建立连接,实现对通信录和短信的管理。程序包括四个部分:短信发送、短信接收、通信录管理和短信管理。短信发送根据输入的对方手机号进行短信的发送;短信接收实时监测串口数据,在有新短信时进行提醒,并通过操作实现读取;通信录和短信管理则通过后台数据库实现对数据的浏览、添加、修改和删除功能。短信的传输使用PDU模式进行,因此可以收发中英文短信。5907
关键词: 短信收发;串口通信;AT指令;VB;数据库
Design of Data Acquisition and Management System Based on GSM
Abstract:The project aims to enable students to combine the learned knowledge of computer and program development, to design an SMS send and receive information management system based on GSM module by using VB programming language. SIM300 module is connected to the PC through the serial port in the design, is controlled by AT commands on the PC side to implement an SMS function based on GSM. Simultaneously the ACCESS database is used as the back-end databases; the database is connected with the VB program by ADO control, so the VB program can realize the management of contacts and SMS. The program consists of four parts: SMS sending, SMS receiving, contacts management and SMS management. According to the input of others’ phone number we can Send SMS. Real-time monitoring serial data, when there is a new message it will give a warning, and we can read it through the operation. Contacts and SMS management can realize data browse, add, modify and delete through the back-end database. The message transmission using PDU mode, so we can send and receive messages in English and Chinese.
Key Words: SMS of receiving and dispatching;serial communication;AT command;VB;database