How instein125/mqtt_ec200u works
Project type and purpose
• This is an embedded IoT demo for a Quectel EC200U module, written in MicroPython.
• It uses an event-driven, publish/subscribe architecture to power a simple GUI (LVGL), network management, and MQTT messaging.
File structure
• Top-level “usr/” folder contains all source code.
• Subdirectories:
• extensions/ – Hardware abstraction layer (battery, buttons, LCD init, MQTT client wrapper, network manager)
• services/ – Business logic services (button, network, MQTT, time)
• screens/ – LVGL UI screens (Welcome, Connecting, Message)
• Core modules at root of usr/: config.py, demo.py (entry point), Eventstore.py (event bus), ui.py (UI manager).
• Assets and firmware files live under usr/assets and usr/comb_firmware.
README for additional insights
• Confirms an event-driven pub/sub pattern, clear separation of hardware drivers, services, UI, and orchestration in demo.py.
• README describes component roles and flow: startup → network init → MQTT connect → UI updates → button handling.