journal article·2025Open access

Real-Time Communication Driver for MPU Accelerometer Using Predictable Non-Blocking I2C Communication

Valentin Stangaciu, Mihai-Vladimir Ghimpau, Adrian-Gabriel Sztanarec

Computers, Materials & Continua· Volume 85· Issue 2

Abstract

Along with process control, perception represents the main function performed by the Edge Layer of an Internet of Things (IoT) network. Many of these networks implement various applications where the response time does not represent an important parameter. However, in critical applications, this parameter represents a crucial aspect. One important sensing device used in IoT designs is the accelerometer. In most applications, the response time of the embedded driver software handling this device is generally not analysed and not taken into account. In this paper, we present the design and implementation of a predictable real-time driver stack for a popular accelerometer and gyroscope device family. We provide clear justifications for why this response time is extremely important for critical applications in the acquisition process of such data. We present extensive measurements and experimental results that demonstrate the predictability of our solution, making it suitable for critical real-time systems.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced MEMS and NEMS Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (47)

Show source-provided references
1. A review on WSN based resource constrained smart IoT systems10.1007/s43926-025-00152-2 ↗
2. An energy-aware link fault detection and recovery scheme for QoS enhancement in Internet of Things-enabled wireless sensor network10.1016/j.compeleceng.2025.110092 ↗
3. Study of integration of wireless sensor network and internet of things (IoT)
4. A common architecture-based smart home tools and applications forensics for scalable investigations
5. Recent technology advancements in smart city management: a review
6. An ingenious IoT based crop prediction system using ML and EL
7. Enabling smart agriculture: an IoT-based framework for real-time monitoring and analysis of agricultural data10.1007/s40003-024-00705-x ↗
8. Internet of Things (IoT): a review of its enabling technologies in healthcare applications, standards protocols, security, and market opportunities10.1109/JIOT.2021.3062630 ↗
9. Technologies, protocols, and applications of internet of things in greenhouse farming: a survey of recent advances
10. Kopetz · Real-time systems: design principles for distributed embedded applications · 202210.1007/978-3-031-11992-7 ↗
11. Real-time performance of industrial IoT communication technologies: a review10.1109/JIOT.2023.3332507 ↗
12. Bhatt · Internet of Things and big data technologies for next generation healthcare · 2017 · 1310.1007/978-3-319-49736-5_2 ↗
13. A MATTER-enabled IoT framework for enhanced fire detection and real-time decision-making10.1007/s42979-024-03477-x ↗
14. A prototype of IoT-based real-time respiratory rate monitoring using an accelerometer sensor
15. Efficient real-time devices based on accelerometer using machine learning for HAR on low-performance microcontrollers
16. Smart, comfortable wearable system for recognizing Arabic Sign Language in real-time using IMUs and features-based fusion10.1016/j.eswa.2021.115448 ↗
17. Robust real-time analysis of cow behaviors using accelerometer sensors and decision trees with short data windows and misalignment compensation
18. Building structural analysis based Internet of Things network assisted earthquake detection10.1016/j.iot.2022.100561 ↗
19. TDK InvenSense. MPU-6000 and MPU-6050 Product Specification; 2013 [Internet]. [cited 2025 Aug 13]. Available from: https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf.
20. Internet of Things centric-based multiactivity recognition in smart home environment10.1109/JIOT.2022.3209970 ↗
21. A real-time factor-graph-optimized pedestrian navigation method10.1109/JIOT.2023.3283594 ↗
22. High wave detection smart buoy using Internet of Things
23. Development of a real-time wearable fall detection system in the context of Internet of Things10.1109/JIOT.2022.3181701 ↗
24. A smart e-health framework for monitoring the health of the elderly and disabled10.1016/j.iot.2023.100971 ↗
25. Visualization of structural health monitoring information using Internet-of-Things integrated with building information modeling
26. A real-time field bus architecture for multi-smart-motor servo system10.1038/s41598-024-53022-2 ↗
27. Alliance OSR. ROS-Robot operating system [Internet]. [cited 2025 Aug 13]. Available from: https://www.ros.org.
28. Brazilian Institute of Robotics. MPU6050 Driver. GitHub; 2000 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/Brazilian-Institute-of-Robotics/mpu6050_driver.
29. LibDriver. LibDriver MPU6050. GitHub; 2025 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/libdriver/mpu6050.
30. Adafruit Industries. Adafruit MPU6050. GitHub; 2023 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/adafruit/Adafruit_MPU6050.
31. Vagenas A. MPU6050 driver. GitHub; 2023 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/anasvag575/MPU6050_driver.
32. Uss RV. ESP-IDF Components library [Internet]. [cited 2025 Aug 13]. Available from: https://esp-idf-lib.readthedocs.io/en/latest/groups/mpu6050.html#.
33. Yuval A. Tiva C-A ready-made repository for writing, compiling and flashing code for the TI Tiva C. GitHub; 2015 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/yuvadm/tiva-c/tree/master/sensorlib.
34. The Hybrid Group. GOBOT-Go, Robot, Go ! Golang Powered Robotics. GitHub; 2023 [Internet]. [cited 2025 Aug 13]. Available from: https://github.com/hybridgroup/gobot/blob/release/drivers/i2c/mpu6050_driver.go.
35. IIoT device prototype design using state machine according to OPC UA10.1109/ACCESS.2022.3232061 ↗
36. Dynamic scheduling for event-driven embedded industrial applications
37. Real-time task scheduling algorithm for IoT-based applications in the cloud-fog environment10.1007/s10922-022-09664-6 ↗
38. Real-time scheduling in IoT applications: a systematic review10.3390/s23010232 ↗
39. TDK InvenSense. MPU-6000 and MPU-6050 register map and descriptions; 2013 [Internet]. [cited 2025 Aug 13]. Available from: https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6000-Register-Map1.pdf.
40. Semiconductors · User manual · 2004
41. NXP. LPC2292/2294 product datasheet; 2011 [Internet]. [cited 2025 Aug 13]. Available from: https://www.nxp.com/docs/en/data-sheet/LPC2292_2294.pdf.
42. Barry · FreeRTOS reference manual: API functions and configuration options · 2009
43. Amazon Web Services (AWS). Richard Barry. FreeRTOS documentation; 2015 [Internet]. [cited 2025 Aug 13]. Available from: https://www.freertos.org/Documentation/02-Kernel/07-Books-and-manual/01-RTOS_book.
44. Saleae logic analyzers [Internet]. [cited 2025 Jun 2]. Available from: https://www.saleae.com.
45. Design for timing predictability10.1023/B:TIME.0000045316.66276.6e ↗
46. Predictability: demonstrating real-time properties10.1145/242224.242466 ↗
47. Predictable real-time software synthesis10.1007/s11241-007-9013-6 ↗