Develop an RS-485 Protocol for Arduino Boards Applied To Networked Real Time Control Systems

Authors

Corressponding author's email:

trandanglong@hcmut.edu.vn

DOI:

https://doi.org/10.54644/jte.2024.1445

Keywords:

Arduino board, RS-485 protocol, Master-Slave network, Supermaneuverable EV, Saltwater intrusion

Abstract

The Arduino microprocessor boards such as Mega 2560, UNO R3, Leonardo, Micro, and Nano are simple and low-cost tools for real-time measurement and control applications. These Arduino boards cannot be used in distributed systems because they lack the networking capabilities to transfer data across units. In this study, an RS-485 protocol for Arduino boards that operate in Master-Slave networks was developed. Network operations could be carried out independently on the main thread program, and devices in the network could react quickly to information received. This was made possible by the asynchronous serial communication feature and a high-speed timer provided in Arduino boards. The networks designed in this study were applied to an electric vehicle model with all-wheel drive and all-wheel steering capabilities for supermaneuverability as well as a saltwater intrusion early warning system installed in a river entry. The results showed that highly reliable and stable network operations could be achieved, thus extending the usage of popular Arduino boards for networked real-time applications.

Downloads: 0

Download data is not yet available.

Author Biographies

Dang Long Tran, Ho Chi Minh City University of Technology, Vietnam National University Ho Chi Minh City, Vietnam

Tran Dang Long received the Bachelor’s degree in Automatic Control and the Master’s degree in Technology Cybernetics from Ho Chi Minh University of Technology (HCMUT) in Vietnam, in 2002 and 2005, respectively.  In 2017, he was awarded a PhD. degree in Hydrogen Energy Systems from Kyushu University in Japan.

From 2002 to 2023, he serves as a researcher and academic in the Faculty of Transportation Engineering, HCMUT. His research interests include engine control, ADAS, electric vehicles, and fuel cell technologies.

Email address: trandanglong@hcmut.edu.vn. ORCID:  https://orcid.org/0000-0002-5839-3148

Truong Hoa Binh Nguyen, Ho Chi Minh City University of Technology, Vietnam National University Ho Chi Minh City, Vietnam

Nguyen Truong Hoa Binh just recently graduated as a Bachelor of Automotive Engineering from Ho Chi Minh University of Technology (HCMUT) in Vietnam in 2023. He was awarded with the Talented Student in 2020 and was an attendee of various volunteer activities like Green Summer and Voluntary Spring Campaign in Vietnam. During his studying, he was experienced as a lab-assistant in the Bosch Automotive Lab of HCMUT. Email address: nthoabinh6501@gmail.com. ORCID:  https://orcid.org/0009-0001-1066-8368

Nam Hoa Ho, Ho Chi Minh City University of Technology, Vietnam National University Ho Chi Minh City, Vietnam

Ho Nam Hoa earned his Bachelor’s degree in Automotive Engineering from Ho Chi Minh University of Technology (HCMUT) in Vietnam in 2020. Currently, he is a Master student of Vehicle Engineering in HCMUT and a researcher in the Faculty of Transportation Engineering in HCMUT. His research interests encompass embedded control systems, intelligent control, and mechatronics. Email address: namhoaho@hcmut.edu.vn. ORCID:  https://orcid.org/0009-0005-1395-430X

Duy Anh Nguyen, Ho Chi Minh City University of Technology, Vietnam National University Ho Chi Minh City, Vietnam

Nguyen Duy Anh is a researcher and academic in the fields of Mechatronics engineering, automation, robotics and logistics. He obtained his Bachelor's degree in Automatic Control from Ho Chi Minh City University of Technology (HCMUT), Vietnam in 2003. He furthered his studies by pursuing a Master's degree in Logistics from Korea Maritime University, completing it in 2006. In 2009, he was awarded a PhD. degree, also in Logistics, from Korea Maritime University. Currently, he serves as an Associate Professor at the Faculty of Mechanical Engineering, Ho Chi Minh City University of Technology (HCMUT) in Vietnam. His research interests encompass logistics, automation, robotics, mechatronics, computer vision, and manufacturing technologies. Email address: duyanhnguyen@hcmut.edu.vn. ORCID:  https://orcid.org/0000-0002-5280-8453

 

 

Van Danh Tran, Institute for Nanotechnology, Vietnam National University Ho Chi Minh City, Vietnam

Tran Van Danh received a Bachelor's degree in Control and Automation Engineering at Ho Chi Minh City University of Technology and Education in 2019. Currently, he is working as a Researcher for Institute for Nanotechnology (INT), Vietnam National University – Ho Chi Minh City (VNU-HCM). His research interests include Embedded Systems (Programming & PCB Layout), Real Time Operation System (RTOS), and Internet of Things (IoT) for real-life applications. Email address: tvdanh@vnuhcm.edu.vn. ORCID:  https://orcid.org/0000-0002-5233-8025

Minh Nhat Nguyen, Institute for Nanotechnology, Vietnam National University Ho Chi Minh City, Vietnam

Nguyen Minh Nhat obtained his Bachelor of Engineering degree in Control Engineering and Automation from Ho Chi Minh City University of Technology, Viet Nam National University Ho Chi Minh City, VietNam in 2022. Currently He is a engineer with Institute for Nanotechnology, Vietnam National University Ho Chi Minh City in Vietnam. His work has focused upon designing schematic circuit for hardware circuit and 3D models, programming software for micro-controllers and applications. Email address: nmnhat.int@vnuhcm.edu.vn. ORCID:  https://orcid.org/0000-0001-8072-6677

 

 

Duc Chanh Tin Doan, Institute for Nanotechnology, Vietnam National University Ho Chi Minh City, Vietnam

Doan Duc Chanh Tin obtained his Master degree in Materials Technology in 2005 from Ho Chi Minh City University of Technology, Vietnam National University Ho Chi Minh City, Vietnam. He obtained his Ph.D. diploma from Wageningen University, the Netherlands in 2012. His Ph.D. research focused on development of polymer-based sensors for carbon dioxide detection in greenhouses. Currently, he is Director of Institute for Nanotechnology, Vietnam National University Ho Chi Minh City, Vietnam. He is author and co-author of 1 thesis book, 47 articles in peer-reviewed international journals, 07 articles in national journals, 66 proceedings papers of international conferences, 10 patents and 5 applied patent applications. His research interests include micro-nano sensors for environmental and biological applications, materials and microsystems for energy applications. Email address: ddctin@vnuhcm.edu.vn. ORCID:  https://orcid.org/0000-0003-4250-9078

 

References

A. Holovatyy et al., “Development of Arduino-Based Embedded System for Detection of Toxic Gases in Air,” 2018 IEEE 13th International Scientific and Technical Conference on Computer Sciences and Information Technologies (CSIT), Lviv, Ukraine, 2018, pp. 139-142, doi: 10.1109/STC-CSIT.2018.8526672. DOI: https://doi.org/10.1109/STC-CSIT.2018.8526672

A. Macker, A. K. Shukla, S. Dey, and J. Agarwal, "ARDUINO Based LPG Gas Monitoring … Automatic Cylinder Booking with Alert System," 2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 2018, pp. 1209-1212, doi: 10.1109/ICOEI.2018.8553840. DOI: https://doi.org/10.1109/ICOEI.2018.8553840

M. El-Abd, “A Review of Embedded Systems Education in the Arduino Age: Lessons Learned and Future Directions,” International Journal of Engineering Pedagogy, vol. 7, no. 2, pp. 79-93, Apr. 2017, doi: 10.3991/ijep.v7i2.6845. DOI: https://doi.org/10.3991/ijep.v7i2.6845

A. Gonzálezn et al., “A low-cost data acquisition system for automobile dynamics applications,” Sensors, vol. 18, no. 2, pp. 366-386, Jan. 2018, doi: 10.3390/s18020366. DOI: https://doi.org/10.3390/s18020366

T. H. M. Nguyen et al., “Design of wifi-based remote monitoring and control system,” Vietnam Journal of Science and Technology, vol. 62, no. 11, pp. 45-48, Nov. 2020.

A. Ma'arif, “Control of dc motor using integral state feedback and comparison with PID: Simulation and Arduino implementation,” Journal of Robotics and Control, vol. 2, no. 5, pp. 456-461, Sep. 2021, doi: 10.18196/jrc.25122. DOI: https://doi.org/10.18196/jrc.25122

M. Tastan, “A low-cost air quality monitoring system based on Internet of Things for smart homes,” Journal of Ambient Intelligence and Smart Environments, vol. 14, no. 5, pp. 351–374, Jul. 2022, doi:10.3233/AIS-210458. DOI: https://doi.org/10.3233/AIS-210458

RS-485 serial interface explained, Jason Kelly, [Online] Available: https://www.cuidevices.com/blog/rs-485-serial-interface-explained.

V. Tipsuwanporn et al., "Development of redundant bus library for arduino to apply in SCADA system," 2014 14th International Conference on Control, Automation and Systems (ICCAS 2014), Gyeonggi-do, Korea (South), 2014, pp. 42-46, doi: 10.1109/ICCAS.2014.6987955. DOI: https://doi.org/10.1109/ICCAS.2014.6987955

Sending Data Between Two MKR 485 Shields, Karl Söderby, [Online] Available: https://docs.arduino.cc/tutorials/mkr-485-shield/mkr-485-communication/.

Modbus (RS-485) Using Arduino, Houma-Hackster, [Online] Available: https://www.hackster.io/maurizfa-13216008-arthur-jogy-13216037-agha-maretha-13216095/modbus-rs-485-using-arduino-c055b5.

Downloads

Published

28-08-2024

How to Cite

[1]
Dang Long Tran, “Develop an RS-485 Protocol for Arduino Boards Applied To Networked Real Time Control Systems”, JTE, vol. 19, no. Special Issue 03, pp. 80–89, Aug. 2024.

Similar Articles

You may also start an advanced similarity search for this article.