Programming hardware displays the easy way - using MicroPython and LVGL
summary
Builds a battery‑powered conference talk timer using MicroPython + LVGL on an ESP32 touchscreen (CYD aka cheap yellow display), costs €8–€23, runs but needs careful RAM planning (about 100 KB free after MicroPython, ~65 KB with Wi‑Fi), uses SPI at ~40 Mbps so screen updates are visibly slow, deploys via Tony IDE or sim.lvgl.io browser simulator, requires hardware resets, keeps LVGL widgets as module globals to avoid GC crashes, and uses image/font converters to fit assets.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 3:35Hardware selection and specs
- 8:10Software setup and tools
- 11:46Development workflow and tips
- 16:29Project structure and async code
- 20:04Managing assets and memory
- 22:51RAM constraints and workarounds
- 24:56Closing thoughts and Q&A
related talks
43mLVGL: A versatile UI toolkit for MCU & CPU
34mUsing Python to enter the world of Microcontrollers
10mBasics of Hardware with a PyRuler
31mProgram all the things - How to develop IoT devices using MicroPython
39mClojureScript on Microcontrollers
46mPhysical Computing, or How Software Meets Xmas Trees (and more)
29mGame Development with CircuitPython
27mLight Up Your Life - With Python and LEDs!
