Model of an Open-Source MicroPython Library for GSM NB-IoT
The growing adoption of the Internet of Things (IoT) demands scalable, energy-efficient communication for autonomous devices. Narrowband IoT (NB-IoT), as a low-power wide-area technology, offers reliable connectivity but remains difficult to integrate in MicroPython systems due to the absence of high-level GSM libraries. This paper introduces a modular, object-oriented MicroPython library that abstracts AT command handling, automates network configuration, and supports protocols such as MQTT and Blynk. The architecture features a layered, hardware-agnostic core and device-specific adapters, enhancing portability and extensibility. The library includes structured exception handling and automated retries to improve system reliability. Empirical validation using a Raspberry Pi Pico and SIM7020E module in a typical IoT scenario demonstrated an up to 81% reduction in implementation time. By providing a reusable and extensible framework, this work improves developer productivity, enhances error resilience, and establishes a solid foundation for rapid NB-IoT application development. Future directions include cross-hardware validation and AI-assisted code and test generation.
Authors
- Iryna Artyshchuk (ORCID: https://orcid.org/0000-0001-7287-8451)
- M. Khruslov (ORCID: https://orcid.org/0000-0001-9639-9340)
- Ruslan Shevchuk (ORCID: https://orcid.org/0000-0001-5381-9528)
- Antonii Lupandin
- Volodymyr Kopieikin
Institutions
- West Ukrainian National University (UA)
- University School of Physical Education in Kraków (PL)
- University of Bielsko-Biała (PL)
- V. N. Karazin Kharkiv National University (UA)
Publication Details
- Journal
- Sensors
- Published
- 2025-08-27
- DOI
- https://doi.org/10.3390/s25175322
- Primary Topic
- IoT Networks and Protocols
- Type
- article
- Field-Weighted Citation Impact
- 0.00