Design and Implementation of Controller Area Network-Based Monitoring and Control System with Arduino UNO and Logic Analyzer †
Abstract
1. Introduction
2. Experimental Setup on CAN Bus Training System
2.1. Monitoring and Control Integrity on CAN Specifications
2.2. CAN Protocol and Message Frames
3. Results and Discussion
3.1. Calibration Procedure
3.2. UDT Prototype Design and Circuit Layout
3.3. Logic Signal Analysis
- Message integrity
- -
- Message ID: 0 × 001
- -
- Data length: 8 bytes
- -
- Error rate: 0.02% (minor CRC errors)
- -
- Transmission time: 150 μs per message
- -
- Status: No loss of data
- Data transmission speed
- -
- Transmission speed: 500 Kbps (measured using an oscilloscope)
- -
- Message latency: 0.3 ms per message
- -
- System latency: 1.2 ms from sending to receiving data
- Error handling
- -
- Detected errors: 5 errors over 1000 transmitted messages
- -
- Automatic retransmissions: 5 retransmissions (successful)
- -
- Error type: CRC error and bit stuffing error
- Signal integrity
- -
- CAN_H and CAN_L Voltage: 2.5V differential (within standard range)
- -
- Signal degradation: None observed
- -
- Data bit duration: Consistent with expected values (1 bit = 2 μs at 500 Kbps)
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- CAN in Automation. Available online: https://www.can-cia.org (accessed on 1 March 2023).
- Hsu, F.-H.; Liu, T.-C. The Use of CAN bus for Biological Signal Sensing and Applications. Hua Kang J. Eng. 2011, 27, 148–153. [Google Scholar]
- Huang, S.-S.; Lin, Y.-H. Design of a CAN Bus Experimental Electronics System Applied in Vehicle. J. Cheng Shiu Univ. 2013, 26, 33–56. [Google Scholar]
- Robert Bosch GmbH. CAN Specification Version 2.0: CAN in Automation; Am Weichselgarten: Erlangen, Germany, 1991. [Google Scholar]
- Boys, R. CAN Primer-Creating Your Own Network; ARM Company Ltd.: San Jose, CA, USA, 2009. [Google Scholar]
- Texas Instruments. Introduction to the Controller Area Network (CAN); Application Report SLOA101B, August 2002, Revised May 2016; Texas Instrument: Dallas, TX, USA, 2016. [Google Scholar]
- Watterson, C. Controller Area Network (CAN) Implementation Guide; Analog Devices, Inc.: Wilmington, MA, USA, 2017. [Google Scholar]
- Corrigan, S. Introduction to the Controller Area Network (CAN); Application Report SLOA101B, Revised May 2016; Texas Instruments: Dallas, TX, USA, 2002. [Google Scholar]
- Arduino LLC. Arduino Uno Data Sheet; Arduino LLC. Available online: https://www.arduino.cc (accessed on 1 September 2024).
- Microchip Technology Inc. MCP2515 Stand-Alone CAN Controller with SPI Interface Data Sheet; Am Weichselgarten: Erlangen, Germany, 2018; pp. 1–94. [Google Scholar]
- Aosong. DHT11 Temperature and Humidity Sensor Data Sheet. Available online: https://aosong.com (accessed on 1 October 2024).
- Morgan, E. HC-SR04 Ultrasonic Sensor, HCSR04 Datasheet. Available online: https://www.alldatasheet.com/datasheet-pdf/view/1132204/ETC2/HCSR04.html (accessed on 1 November 2016).
- Crystalfontz America, Inc. LCD Module Data Sheet; Crystalfontz America, Inc.: Spokane Valley, WA, USA. Available online: https://www.crystalfontz.com/product/cfah0802anygjt-display-module-text-8x2 (accessed on 1 March 2020).
- TowerPro. SG90 Micro Servo Motor Data Sheet. Available online: https://www.friendlywire.com/projects/ne555-servo-safe/SG90-datasheet.pdf (accessed on 1 October 2024).
- HW Electronics. IR Sensor HW-201 Data Sheet. Available online: https://www.circuits-diy.com/hw201-infrared-ir-sensor-module/ (accessed on 1 November 2024).
- Zeroplus Technology Co., Ltd. Logic Analyzer Use Guide; User Guide, Ver. 1.00.01. Zeroplus Technology Co., Ltd.: Taipei, Taiwan. Available online: https://www.zeroplus.com.tw (accessed on 1 March 2025).
- GCAN. USBCAN-II Pro User Manual; User Manual, Ver. 3.01. Available online: http://www1.gcanbox.com/yhsc/USBCAN-IIPro.pdf (accessed on 1 October 2024).
- OWON. XDS3102 Oscilloscope Specifications and User Guide. Available online: https://www.owon.com (accessed on 1 July 2024).
- Wen, F.-L.; Wen, S.-J.; Chan, C.-H.; Lu, H.-C. Error and Fault Detecting Study on Message Frames of Controller Area Network. In Proceedings of the 2024 Information Technology Application and Sustainable Environment Seminar (ITASES 2024), New Taipei City, Taiwan, 12 December 2024; pp. 108–112. [Google Scholar]
- Wen, P.-H.; Wen, F.-L.; Chan, C.-H.; Wen, S.-J. Identify Message Frame of Controller Area Network Using Arduino Chip Sets. In Proceedings of the 2024 Information Technology Application and Sustainable Environment Seminar (ITASES 2024), New Taipei City, Taiwan, 12 December 2024; pp. 56–60. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chan, C.-H.; Wen, F.-L.; Wen, S.-J. Design and Implementation of Controller Area Network-Based Monitoring and Control System with Arduino UNO and Logic Analyzer. Eng. Proc. 2025, 108, 44. https://doi.org/10.3390/engproc2025108044
Chan C-H, Wen F-L, Wen S-J. Design and Implementation of Controller Area Network-Based Monitoring and Control System with Arduino UNO and Logic Analyzer. Engineering Proceedings. 2025; 108(1):44. https://doi.org/10.3390/engproc2025108044
Chicago/Turabian StyleChan, Ching-Hsu, Fuh-Liang Wen, and Sheng-Jen Wen. 2025. "Design and Implementation of Controller Area Network-Based Monitoring and Control System with Arduino UNO and Logic Analyzer" Engineering Proceedings 108, no. 1: 44. https://doi.org/10.3390/engproc2025108044
APA StyleChan, C.-H., Wen, F.-L., & Wen, S.-J. (2025). Design and Implementation of Controller Area Network-Based Monitoring and Control System with Arduino UNO and Logic Analyzer. Engineering Proceedings, 108(1), 44. https://doi.org/10.3390/engproc2025108044