• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

demo/21-Aug-2025-

img/21-Aug-2025-

img_en/21-Aug-2025-

README.md A D21-Aug-20251.4 KiB5527

README_zh.md A D21-Aug-20251.2 KiB5327

SConscript A D21-Aug-2025424 1813

lv_conf.h A D21-Aug-2025740 3015

lv_port_disp.c A D21-Aug-20251.5 KiB5827

lv_port_indev.c A D21-Aug-20252.7 KiB10575

README.md

1# How to Run LVGL on Raspberry Pi PICO
2
3[中文页](README_zh.md) |
4
5## Hardware:
6
7- [Raspberry Pi PICO](https://www.raspberrypi.com/products/raspberry-pi-pico/)
8
9- [TFT-SPI ST7789](https://pdf1.alldatasheet.com/datasheet-pdf/view/1170800/SITRONIX/ST7789H2.html)
10
11  - Single chip TFT-LCD Controller/Driver with On-chip Frame Memory (FM)
12
13  - Display Resolution: 240*RGB (H) *320(V)
14
15  - Frame Memory Size: 240 x 320 x 18-bit = 1,382,400 bits
16
17  - LCD Driver Output Circuits
18
19    \- Source Outputs: 240 RGB Channels
20
21    \- Gate Outputs: 320 Channels
22
23    \- Common Electrode Output
24
25## Software:
26
27- Opensource [RT-Thread IoT OS](https://www.rt-thread.io/) Project
28- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (Free)
29- Opensource [LVGL](https://lvgl.io/) Project
30
31## Enable LVGL for LCD
32
33![](./img_en/1.png)
34
35## Configure Screen Parameter
36
37Select the screen size according to your project requirements (This tutorial is using ST7789).
38
39<img src="./img_en/2.png" style="zoom:80%;" />
40
41## LVGL Display Interface Adopting
42
43<img src="./img_en/3.png" style="zoom:80%;" />
44
45
46
47![]()<img src="./img_en/4.png" alt="7" style="zoom: 80%;" />
48
49
50
51<img src="./img_en/5.png" style="zoom:80%;" />
52
53## Presentation
54
55<iframe src="//player.bilibili.com/player.html?aid=893079529&bvid=BV1oP4y1E7Md&cid=481212104&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

README_zh.md

1# Raspberry Pi PICO 运行 LVGL 指南
2
3## 硬件参数
4
5树莓派 pico :
6
7* 双核 Arm Cortex-M0 + @ 133MHz
8* 芯片内置 264KB SRAM 和 2MB 的板载闪存
9* 通过专用 QSPI 总线支持最高 16MB 的片外闪存
10* DMA 控制器
11* 30 个 GPIO 引脚,其中 4 个可用作模拟输入
12
13- 2 个 UART、2 个 SPI 控制器和 2 个 I2C 控制器
14
15- 16 个 PWM 通道
16
17  更多详见:[树莓派中文站](https://pico.org.cn/)
18
19树莓派拓展板:
20
21* 屏幕:ST7789  SPI 接口
22
23## 软件及环境:
24
25- [RT-Thread IoT OS](https://www.rt-thread.io/) RT-Thread 物联网操作系统
26- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (免费版)
27- 开源的 [LVGL](https://lvgl.io/) 图形引擎
28
29## 使能 LVGL for LCD
30
31![](./img/1.png)
32
33## 配置屏幕参数
34
35<img src="./img/2.png" style="zoom:80%;" />
36
37## LVGL 显示接口对接
38
39<img src="./img/3.png" style="zoom:80%;" />
40
41
42
43![]()<img src="./img/4.png" alt="7" style="zoom:80%;" />
44
45
46
47<img src="./img/5.png" style="zoom:80%;" />
48
49## 效果展示
50
51<iframe src="//player.bilibili.com/player.html?aid=893079529&bvid=BV1oP4y1E7Md&cid=481212104&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
52
53