Develop an RS-485 Protocol for Arduino Boards Applied To Networked Real Time Control Systems
Corressponding author's email:
trandanglong@hcmut.edu.vnDOI:
https://doi.org/10.54644/jte.2024.1445Keywords:
Arduino board, RS-485 protocol, Master-Slave network, Supermaneuverable EV, Saltwater intrusionAbstract
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
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
How to Cite
Issue
Section
Categories
License
Copyright (c) 2024 Journal of Technical Education Science

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Copyright © JTE.


