摘要
文章介绍了一种新型的Android平台的数据采集系统,是基于开源移动终端Android的新应用程序开发。在前端温度采集模块上增加蓝牙传输模块,将检测端采集到的温度数据发送至Android系统的智能手机端,智能手机端利用Android蓝牙的API,对手机端蓝牙实现编程操作,利用Socket连接实现数据的传输,Android手机端接收蓝牙模块发送来的数据,绘制实时温度图,并且当测温点温度过高时报警提示,Android手机通过网络上传数据到服务器端,将采集数据以波形的方式显示在PC服务器界面上,并将数据存储至SQL数据库。
This paper introduces a new data acquisition system on Android platform, which is based on the new development of application program of the open-source mobile terminal platform Android.Increase Bluetooth transmission module on the front-end temperature acquisition module, and send the temperature data collected from the detection terminals to the Android smart phone.Then using the AP1 in Android Bluetooth, the smart phone will be operated by programming in the Bluetooth.Android phone receives the data transmitted from the Bluetooth module, draws the real-time temperature diagram and alarms when the temperature measurement point is too high via the data transmission of Socket connections.Android phone will collect data to display on a PC server interface in waveform, and store the data in SQL database by uploading data to the server through the network.The design is of practice and innovation and has broad application prospects.
出处
《无线互联科技》
2015年第23期112-113,共2页
Wireless Internet Technology
关键词
ANDROID平台
蓝牙
无线传输
通信程序
Android platform
Bluetooth
wireless transmission
communication program