摘要许多微、小型检测装置(系统)可能需要根据检测任务的要求装定工作参数(或进行人机交互操作),但由于空间、成本或安全等方面的原因,不便配备专用的人机交互设备,需要一个适当的解决途径。42360
本文基于WiFi技术与Android系统的智能手机,设计出一套无线参数装定系统。选用STM32单片机和ESP8266WiFi模块,搭建了一个实现参数装定的模拟检测器,用于模拟蚕茧雌雄检测器的参数装定;在人机交互(智能手机)端,设计了Android平台的参数装定应用程序,软件用户界面综合了线性布局、表格布局和相对布局的方式,整体风格简约易于操作使用;在(模拟)检测器端,将WiFi模块配置为TCP服务器,供多部手机连接,单片机程序采用了中断串口接收的方式接收数据,使用strtok函数对数据字符串进行操作提取参数,并将参数在LCD屏上显示,完成了参数的装定。最后给出了参数装定系统的功能验证图。
关键词 WiFi Android 参数装定 智能手机 单片机
毕业论文设计说明书外文摘要
Title Design of parameter setting system based on Wi-Fi and smartphone
Abstract
Many micro and small detecting apparatus (systems) are possible to set working parameters (or to do man-machine interactive operation) according to the requirements of the detection tasks. But due to the space, cost as well as the safety, it is not convenient to equip dedicated human-computer interactive device. Therefore, a proper solution is required.
Based on the Wireless Fidelity and Android smart phones, the paper attempts to design a set of parameter setting system controlled by Wi-Fi. With STM32 single chip microcomputer (SCM) and ESP8266 module, an analog detector which achieves parameter setting is set up and will be used to simulate the parameter setting of male and female cocoon detector. On the side of man-machine interaction (smart phone), a parameter setting application on Android platform is designed. The user interface is composed of linear layout, table layout and relative layout, which is clear, simple and quite easy for people to use. On the side of the (analog) detector, the Wi-Fi module is set to be TCP server so that many phones are able to connect with. The single chip microcomputer receives data by interrupt receiving through the serial port. In addition, it operates on the data strings by strtok function to extract parameters and displays the parameters on the LCD screen. Then the parameter setting is completed. At last, the functional verification map of the parameter setting system is given.
Keywords WiFi Android parameter loading smartphone SCM
目 次
1 绪论 1
1.1 研究背景及意义 1
1.3 ANDROID操作系统架构摘要 2
1.4 WIFI通信相关技术摘要 4
1.5 本课题的主要工作内容 6
2 参数装定系统结构设计 7
2.1 设计目标及总体方案 7
2.2 中央控制模块设计 8
2.3 WIFI通信模块选择与应用要点 11
2.4 本章小结 13
3 用户界面软件设计 14
STM32单片机基于WiFi与智能手机的参数装定系统设计:http://www.751com.cn/tongxin/lunwen_42776.html