检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《大众科技》2021年第4期16-19,共4页Popular Science & Technology
基 金:浙江省自然科学基金一般项目(LY19F020022);2020年杭州师范大学钱江学院科研成果进课堂课程改革项目;2021年杭州师范大学钱江学院学生科研项目。
摘 要:文章将单片机与安卓技术融合开发符合实验要求的物联型异步串行通信系统,安卓手机APP开发采用XML语言对用户控制界面UI设计,JAVA语言对TCP Socket通信数据流编程控制,单片机发送AT指令启动WiFi模块与手机连网。上位机APP通过触发按钮利用TCP Socket发送数据,通过WiFi组网利用异步串行通信将数据发送给单片机,单片机将接收到的数据利用异步串行通信发送给PC机接收显示。实验表明:上位机APP通过控件按钮发送"Q"或"Z"字符利用物联型异步串行通信系统,PC机接收APP端发送的数据并实时显示,实现系统数据透传。This paper combines the single chip computer and Android technology to develop the Internet asynchronous serial communication system which meets the experimental requirements.The Android mobile app uses XML language to design the user control interface UI,Java language programming and control the TCP socket communication data flow,and the MCU sends at command to start WiFi module and the mobile phone network.The upper computer app sends data by using TCP socket through trigger button,sends data to MCU through WiFi network by asynchronous serial communication,and MCU sends the received data to PC for receiving and displaying by asynchronous serial communication.The experiment shows that the upper app sends"Q"or"Z"characters by control buttons,and the PC receives the data sent by app and displays it in real time,so as to realize the transmission of system data.
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15