Affiliation:
1. Department of Control Systems and Instrumentation, VSB—Technical University of Ostrava, 70800 Ostrava, Czech Republic
Abstract
This article focuses on the area of software development for microcontrollers and details the implementation of modern programming practices and principles in embedded systems and IoT applications. This article explains how we implemented previously unimplemented principles and applied design patterns for quality software design on microcontrollers, which are currently only used for developing applications on the higher layers of the IoT reference model. A custom modular framework for microcontrollers is presented, based on applying SOLID principles and adapting design patterns specific to the microcontrollers’ application development needs. The implemented framework enables independent communication between modules and flexible integration of hardware components. It is designed with platform independence in mind, contributing to its wide adaptability and ease of use in diverse development environments. By applying these technological approaches, we can create applications that are not only testable and extensible in terms of application logic but also allow for easy adaptation to changes in these hardware resources. Utilizing these capabilities represents an innovative approach to development for microcontrollers that fundamentally improves the long-term sustainability and scalability of applications.
Funder
REFRESH—Research Excellence for Region Sustainability
European Union under the REFRESH—Research Excellence for Region Sustainability and High-tech Industries
Ministry of Education, Youth and Sports, the Czech Republic