Implementation of LVGL and LovyanGFX into a Portable Datalogger Embedded System

Main Article Content

Daffa Naufal Adhira Putra Safriadi

Abstract

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.

Downloads

Download data is not yet available.

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.