magazinelogo

Advances in Computer and Communication

ISSN Print: Downloads: 58605 Total View: 486214
Frequency: quarterly ISSN Online: 2767-2875 CODEN: ACCDC3
Email: acc@hillpublisher.com
Article Open Access http://dx.doi.org/10.26855/acc.2023.10.012

Design and Implementation of Communication Scheme Between Microcontroller and Android Application Based on RS232 Technology

Wenkai Sun*, Weisheng Liu, Qiyue Gao

School of Computer Science and Software Engineering, University of Science and Technology Liaoning, Anshan, Liaoning, China.

*Corresponding author: Wenkai Sun

Published: November 22,2023

Abstract

In the development of applications that combine software and hardware, communication problems between devices are often encountered. For example, in an industrial control system, the microcontroller acts as the lower computer and needs to receive control commands from the upper computer. This requires communication between the upper and lower computers to transmit the commands effectively. In this paper, we design and implement communication between the microcontroller module (lower unit) and the Android host (upper unit) using RS232 technology in the context of the "intelligent extermination robot" project. The article first introduces the relevant technology used, and then explains how to establish communication between the MCU main control board and the Android terminal host. It also covers the design and analysis of the communication messages, providing valuable references for those with similar needs.

References

[1] Wang Bin, Zhao Zihang, Gao Hui, et al. Design of control system for intelligent extermination robot [J]. Artificial Intelligence and Robotics, 2022, 37(1): 40.

[2] Li L. Design of a highly reliable serial port communication protocol [J]. Modern Navigation, 2019(4):308.

[3] Li Yongzhong, ed. Modern Microcomputer Principles and Interface Technology [M]. Xi'an University of Electronic Science and Technology Press, 2013, p. 303.

[4] Wen Hao, Lei Shouning. Application of RS232 communication technology in microcontroller communication [J]. Information Communication, 2020(2):130.

[5] Rookie Tutorials. Android Overview What is Android [OL]. 2023. https://www.runoob.com/android/android-overview.html.

How to cite this paper

Design and Implementation of Communication Scheme Between Microcontroller and Android Application Based on RS232 Technology

How to cite this paper: Wenkai Sun, Weisheng Liu, Qiyue Gao. (2023) Design and Implementation of Communication Scheme Between Microcontroller and Android Application Based on RS232 Technology. Advances in Computer and Communication4(5), 328-333.

DOI: http://dx.doi.org/10.26855/acc.2023.10.012