Reliability of Arduino Serial Communication Systems: A Case Study on the Application of Cyclic Redundancy Check (CRC)

Authors

  • Budi Raharjo University of Science and Computer Technology
  • Mars Caroline Wibowo University of Science and Computer Technology

DOI:

https://doi.org/10.51903/jtie.v3i2.186

Keywords:

Error Detection, Cyclic Redundancy Check (CRC), Arduino, Serial Communication, Data Integrity

Abstract

In embedded systems, serial communication plays a crucial role in data transfer, particularly in Arduino-based projects. However, factors such as electromagnetic interference, noise, and signal degradation can compromise data integrity, leading to significant errors. Effective error detection systems are essential to ensure reliable data exchange. The Cyclic Redundancy Check (CRC) is one such method known for its ability to detect errors. Despite its potential, the practical application and impact of CRC on Arduino communication systems have not been extensively explored. This study implements CRC within Arduino serial communication by designing and developing software that integrates CRC for real-time error detection. The study rigorously tests this implementation in various scenarios to evaluate its performance, comparing data integrity with and without CRC. The results show that incorporating CRC significantly improves the reliability of data transmission in Arduino applications, enhancing error detection accuracy. This improvement strengthens existing systems and provides a solid foundation for developing more complex communication frameworks. The research advances reliable communication systems in embedded technologies. By demonstrating CRC's effectiveness in enhancing data integrity, the study offers valuable insights for developers and researchers seeking to improve serial communication across different applications.

References

Alena, R. L., Ossenfort IV, J. P., Laws, K. I., Goforth, A., & Figueroa, F. (2007). Communications for integrated modular avionics. IEEE Aerospace Conference Proceedings. https://doi.org/10.1109/AERO.2007.352639
Das, A., & Touba, N. A. (2020). Selective Checksum based On-line Error Correction for RRAM based Matrix Operations. Proceedings of the IEEE VLSI Test Symposium, 2020-April. https://doi.org/10.1109/VTS48691.2020.9107606
Gianioudis, M., Xirouchakis, P., Loukas, C., Mageiropoulos, E., Ioannou, A., Mousouros, O., Mpartzis, S., Papaefstathiou, V., Katevenis, M., & Chrysos, N. (2023). Low-latency Communication in RISC-V Clusters. ACM International Conference Proceeding Series, 11, 73–83. https://doi.org/10.1145/3635035.3635050
Gunduz, D., Qin, Z., Aguerri, I. E., Dhillon, H. S., Yang, Z., Yener, A., Wong, K. K., & Chae, C. B. (2023). Beyond Transmitting Bits: Context, Semantics, and Task-Oriented Communications. IEEE Journal on Selected Areas in Communications, 41(1), 5–41. https://doi.org/10.1109/JSAC.2022.3223408
Hadi, A., & Mohammed, M. (2024). Enhancing Data Security through Hybrid Error Detection:Combining Cyclic Redundancy Check (CRC) and Checksum Techniques. Article in International Journal of Electrical and Electronics Research. https://doi.org/10.37391/IJEER.120312
Häring, I. (2021). Error Detecting and Correcting Codes. Technical Safety, Reliability and Resilience, 287–302. https://doi.org/10.1007/978-981-33-4272-9_16
Li, R. ;, Tian, H. ;, Shi, J. ;, Ji, R. ;, Manske, E., Wu, G., Gao, W., Li, R., Tian, H., Shi, J., Ji, R., Dong, D., & Zhou, W. (2024). Impact of Cyclic Error on Absolute Distance Measurement Based on Optical Frequency Combs. Sensors 2024, Vol. 24, Page 3497, 24(11), 3497. https://doi.org/10.3390/S24113497
Rajeswari, R. R. (2021). Analysis of Error Detection and Correction in Data Link Layer. https://papers.ssrn.com/abstract=3913265
Rao, S., & Kumar, M. (2015). Analysis and optimization of CRC algorithms for embedded applications. IEEE Embedded Systems Letters , 7(4), 125-129.
Senekane, M., Mafu, M., Maseli, M., & Taele, B. M. (2021). A quantum algorithm for single parity check code. IEEE AFRICON Conference, 2021-September. https://doi.org/10.1109/AFRICON51333.2021.9570857
Yang, K., & Wu, P. (1995). CRC algorithms and their application in error detection. IEEE Transactions on Communications , 43(11), 3249-3256.
Yang, W., Du, H., Liew, Z. Q., Lim, W. Y. B., Xiong, Z., Niyato, D., Chi, X., Shen, X., & Miao, C. (2023). Semantic Communications for Future Internet: Fundamentals, Applications, and Challenges. IEEE Communications Surveys and Tutorials, 25(1), 213–250. https://doi.org/10.1109/COMST.2022.3223224
Yen, C. H., & Wu, B. F. (2006). Simple error detection methods for hardware implementation of advanced encryption standard. IEEE Transactions on Computers, 55(6), 720–731. https://doi.org/10.1109/TC.2006.90
Yin, P., Chen, H., Xia, Y., Zhang, J., Liu, M., Gu, C., Hou, W., Bermak, A., & Tang, F. (2024). High Logic Density Cyclic Redundancy Check and Forward Error Correction Logic Sharing Encoding Circuit for JESD204C Controller. IEEE Transactions on Circuits and Systems I: Regular Papers, 1–12. https://doi.org/10.1109/TCSI.2024.3420116

Published

2024-08-21

How to Cite

Raharjo, B., & Wibowo, M. C. (2024). Reliability of Arduino Serial Communication Systems: A Case Study on the Application of Cyclic Redundancy Check (CRC). Journal of Technology Informatics and Engineering, 3(2), 169–187. https://doi.org/10.51903/jtie.v3i2.186