Programming Design of an STM32-Based Positioning Information Acquisition and Upload System
Research Article
Open Access
CC BY

Programming Design of an STM32-Based Positioning Information Acquisition and Upload System

Wang Sen 1*
1 Department of Mechanical Engineering, Tianjin University, Tianjin, China
*Corresponding author: 3182539801@qq.com
Published on 24 September 2025
Journal Cover
ACE Vol.184
ISSN (Print): 2755-273X
ISSN (Online): 2755-2721
ISBN (Print): 978-1-80590-307-9
ISBN (Online): 978-1-80590-308-6
Download Cover

Abstract

We design a low-power STM32F103-based GNSS terminal that prioritizes NB-IoT uplink and falls back to a LoRa-to-Ethernet gateway when cellular attach or TCP setup fails. An RTC-driven wake → acquire → package → upload → sleep loop with compact, newline-delimited JSON payloads reduces airtime and energy. Layered design and power gating extend lifetime, while the LLCC68/W5500 gateway transparently bridges bytes to a TCP server. Results show robust uploads under heterogeneous connectivity with minimal terminal complexity.

Keywords:

STM32F103, NB-IoT, LoRa, AT6558R, LLCC68, W5500, JSON Lines, RTC, low-power, TCP

View PDF
Sen,W. (2025). Programming Design of an STM32-Based Positioning Information Acquisition and Upload System. Applied and Computational Engineering,184,65-71.

References

[1]. D. Yang et al., “Understanding Power Consumption of NB-IoT in the Wild, ” Proc. MobiCom, 2020.

[2]. S. Ould et al., “Energy Performance Analysis and Modelling of LoRa, ” Sensors, 2021.

[3]. L. Casals et al., “Modeling the Energy Performance of LoRa, ” Sensors, 2017.

[4]. JSON Lines, “JSON Lines — Newline-Delimited JSON, ” n.d.

[5]. Hangzhou Zhongke Microelectronics Co., Ltd., “AT6558R BDS/GNSS Satellite Positioning SoC Chip Datasheet, ” n.d.

[6]. MinewSemi, “MS21SF1 (LLCC68/SX1262) LoRa Module Datasheet, ” 2024-06-06.

[7]. LoRa Alliance, “LoRa® L2 1.0.4 Specification (TS001-1.0.4), ” 2020/2023.

[8]. WIZnet, “W5500 Datasheet, ” v1.0.9, 2025-08-14.

Cite this article

Sen,W. (2025). Programming Design of an STM32-Based Positioning Information Acquisition and Upload System. Applied and Computational Engineering,184,65-71.

Data availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

About volume

Volume title: Proceedings of CONF-MLA 2025 Symposium: Intelligent Systems and Automation: AI Models, IoT, and Robotic Algorithms

ISBN: 978-1-80590-307-9(Print) / 978-1-80590-308-6(Online)
Editor: Hisham AbouGrad
Conference website: https://www.confmla.org/
Conference date: 17 November 2025
Series: Applied and Computational Engineering
Volume number: Vol.184
ISSN: 2755-2721(Print) / 2755-273X(Online)