VideoLibrary
Introduction to Zephyr Part 10: Graphics with LVGL and Display Drivers | DigiKey
In this tutorial, we demonstrate how to use the popular LVGL graphics library to draw simple text and shapes on an LCD using Zephyr. We rely on the built-in ST7735R driver to control the LCD.
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • subtitles off, selected

      Introduction to Zephyr Part 10: Graphics with LVGL and Display Drivers | DigiKey

      Designing graphical user interfaces (GUIs) for embedded systems has historically been a challenge, but libraries like LVGL (Light and Versatile Graphics Library) are transforming the landscape. In this video, we demonstrate how to integrate LVGL with the Zephyr real-time operating system to create sleek, interactive GUIs on resource-constrained devices. From setting up your project to displaying dynamic elements like counters and animated shapes, this tutorial covers everything you need to build your first embedded GUI. You can find a written explanation of these concepts and a breakdown of the challenge solution here: https://www.digikey.com/en/maker/tutorials/2025/introduction-to-zephyr-part-10-graphics-with-lvgl-and-display-drivers The GitHub repository for this course (including solutions to the challenges) can be found here: https://github.com/ShawnHymel/introduction-to-zephyr/tree/main LVGL is a lightweight, open-source graphics library designed for microcontrollers, offering features like anti-aliased drawing, custom themes, and a suite of widgets including buttons, labels, and graphs. Pairing it with Zephyr RTOS provides access to robust real-time capabilities, allowing you to build responsive and feature-rich applications for various hardware platforms. In this tutorial, we leverage Zephyr’s support for the ST7735R SPI display to showcase LVGL’s flexibility. The ST7735R is a small, low-cost SPI display controller commonly found in color LCD modules. It supports resolutions up to 160x128 and provides features like programmable gamma curves and hardware inversion. Zephyr’s display API provides a common interface for such drivers, which can make your application code portable (to work across a variety of displays). We walk you through creating a new project configuring Zephyr to use LVGL, and enabling the ST7735R display driver via the Devicetree. Using C, we demonstrate how to display static and dynamic elements, including text labels, counters, and basic shapes like rectangles and circles. You’ll see how to apply custom styles, align widgets, and update the display in real time. This hands-on example showcases the seamless interplay between LVGL’s graphics processing and Zephyr’s real-time capabilities. By combining the flexibility of LVGL with Zephyr's powerful features, you can create highly responsive, visually appealing interfaces for your embedded projects. Whether you're designing IoT devices, wearables, or industrial equipment, this video lays the foundation for more advanced GUI development.

      3/19/2025 4:32:54 PM

      Part List

      图片制造商零件编号描述可供货数量价格查看详情
      ESP32-S3-WROOM-2-N32R8V DEV BRDESP32-S3-DEVKITC-1-N32R8VESP32-S3-WROOM-2-N32R8V DEV BRD0 - 立即发货
      1 : ¥131.32
      散装
      查看详情