检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:乐万德 任静 刘舟洲 初建杰[2] YUE Wande;REN Jing;LIU Zhouzhou;CHU Jianjie(School of Computer Science,Xi’an Aeronautical University,Xi’an 710077,China;Key Laboratory of Industrial Design and Ergonomics,Ministry of Industry and Information Technology,Northwestern Polytechnical University,Xi’an 710072,China)
机构地区:[1]西安航空学院计算机学院,陕西西安710077 [2]西北工业大学工业设计与人机工效工信部重点实验室,陕西西安710072
出 处:《电子设计工程》2022年第4期69-73,78,共6页Electronic Design Engineering
基 金:陕西省教育厅科研计划项目(20JG014);西安市科学技术局科技计划项目(21XJZZ0030);西安航空学院科研基金项目(2021KY0219)。
摘 要:针对现有Arduino智能遥控设备中串口控制指令多采用扁平结构的字符或者字符串格式的局限性,提出了基于JSON的遥控指令串口通信控制系统。在该系统中,采用串口事件函数作为控制程序总体框架,以串口作为控制指令数据源,通过JSON编码方式,实现控制指令的格式化编码及解析,实现遥控终端通过WiFi等无线通信方式对Arduino设备的控制。以智能小车作为实验对象,对控制系统进行了验证。实验结果表明,控制算法可靠,控制程序相比原机程序的可读性、可维护性和扩展性得到了优化。Aiming at the limitation that the serial port control instructions in the existing Arduino intelligent remote control equipment mostly adopt the flat structure character or string format,a serial port communication control system of remote control instructions based on JSON is proposed.The serial event function is used as the overall framework of the control program,and the serial port is used as the data source of the control instruction.The format coding and analysis of the control instruction are realized through the JSON coding method,and the remote control terminal can control the Arduino device through WiFi and other wireless communication methods.Taking the intelligent car as the experimental object,the control system is verified.The experimental results show that the control algorithm is reliable,and the readability,maintainability and expansibility of the control program are optimized compared with the original program.
分 类 号:TN99[电子电信—信号与信息处理]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.221.40.152