Implementation of LVGL and LovyanGFX into a Portable Datalogger Embedded System
DOI:
https://doi.org/10.63581/JoCPES.v4i2.05Keywords:
LVGL, LovyanGFX, Datalogger, User Interface, Microcontroller, ESP32, Emvedded SystemsAbstract
Integrating a Graphic User Interface (GUI) into an embedded system remains difficult due to hardware limitations and the complexity of graphics programming. This study examines the implementation of LVGL (Light and Versatile Graphics Library) and LovyanGFX to create an efficient and user-friendly interface for portable data logging systems developed with the ESP32-S3 microcontroller. The system is intended to accumulate, process and display environmental data such as the MQ-7 carbon monoxide sensor, DHT21 temperature and moisture sensor, and BME280 temperature and humidity sensor. A structured experimental approach was adopted to evaluate the feasibility and performance of the proposed system. The ESP32-S3 was chosen for its superior memory capacity and wireless communication capabilities, while the ILI9488 TFT screen was selected for real-time data visualization. The research focused on optimizing the GUI for responsiveness, data readability, and user interaction. The results appear that LVGL and LovyanGFX work well together to make an intelligently and valuable GUI that can appear real-time sensor information. This also indicate that LVGL and LovyanGFX effectively render graphical elements, enabling smooth transitions and efficient data representation. Furthermore, the system successfully integrates sensor data, demonstrating its potential for real-time monitoring applications. This study contributes to the development of embedded GUI systems by demonstrating a cost-effective approach to graphical interface design in dataloggers. Future research can explore expanding the system’s functionality, optimizing SPI communication, and enhancing graphical rendering capabilities.
References
Jocpes, “Journal of Computation Physics and Earth Science,” 2021. [Online]. Available: https://journal.physan.org/index.php/jocpes/index.
G. İŞNAS and N. ŞENYER, “Comparison of TouchGFX and LVGL Embedded Hardware GUI Libraries,” Gazi Üniversitesi Fen Bilimleri Dergisi Part C: Tasarım ve Teknoloji, vol. 9, no. 3, pp. 373–384, Sep. 2021, doi: 10.29109/gujsc.915163.
V. Thirupathi and K. Sagar, “Implementation of Home Automation System Using MQTT Protocol and ESP32 112,” Dec. 2018.
S. L. Ullo and G. R. Sinha, “Advances in Smart Environment Monitoring Systems Using IoT and Sensors,” MDPI AG, Jun. 2020, doi: 10.3390/s20113113.
U. U. Naik, S. R. Salgaokar, and S. Jambhale, “IoT Based Air Pollution Monitoring System,” Shiroda, Mar. 2023.
V. M. Ionescu and F. M. Enescu, “Investigating the Performance of MicroPython and C on ESP32 and STM32 Microcontrollers,” in 2020 IEEE 26th International Symposium for Design and Technology in Electronic Packaging, SIITME 2020 - Conference Proceedings, Institute of Electrical and Electronics Engineers Inc., Oct. 2020, pp. 234–237, doi: 10.1109/SIITME50350.2020.9292199.
A. Zare and M. T. Iqbal, “Low-Cost ESP32, Raspberry Pi, Node-Red, and MQTT Protocol Based SCADA System,” in IEMTRONICS 2020 - International IoT, Electronics and Mechatronics Conference, Proceedings, Institute of Electrical and Electronics Engineers Inc., Sep. 2020, doi: 10.1109/IEMTRONICS51293.2020.9216412.
S. N. Azemi, K. W. Loon, A. Amir, and M. Kamalrudin, “An IoT-Based Alarm Air Quality Monitoring System,” in Journal of Physics: Conference Series, IOP Publishing Ltd, Mar. 2021, doi: 10.1088/1742-6596/1755/1/012035.
M. Kharade, S. Katangle, G. M. Kale, S. B. Deosarkar, and S. L. Nalbalwar, “A NodeMCU Based Fire Safety and Air Quality Monitoring Device,” in 2020 International Conference for Emerging Technology (INCET), Belgaum, 2020.
Downloads
Published
Data Availability Statement
The data is from the sensor
Issue
Section
License
Copyright (c) 2025 Journal of Computation Physics and Earth Science

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright and License
Copyright © The Author(s). Authors retain copyright and full publishing rights to their work. Publication in the Journal of Computation Physics and Earth Science (JoCPES) does not transfer copyright to the journal or publisher. Authors grant JoCPES a non-exclusive right of first publication.
All articles published by JoCPES are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license, users are permitted to share, copy, redistribute, adapt, remix, transform, and build upon the published material for any purpose, including commercial use, provided that appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.
If the material is remixed, transformed, or built upon, the resulting work must be distributed under the same CC BY-SA 4.0 license. No additional legal terms or technological measures may be applied that restrict others from exercising the rights permitted by the license.
For complete license terms, please refer to the Creative Commons Attribution-ShareAlike 4.0 International License:
https://creativecommons.org/licenses/by-sa/4.0/




