magazinelogo

Advances in Computer and Communication

ISSN Online: 2767-2875 CODEN: ACCDC3
Frequency: quarterly Email: acc@hillpublisher.com
Total View: 1355395 Downloads: 281147 Citations: 204 (From Dimensions)
ArticleOpen 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.

Keyword

RS232 technology, Microcontroller, Android system, serial communication

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.

Copyright

© 2023 by the author(s).
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-NonCommercial-NoDerivatives (CC BY-NC-ND) license, which permits non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited and is not modified or adapted.
https://creativecommons.org/licenses/by-nc-nd/4.0/

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 Communication, 4(5), 328-333.

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