summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/RP2040/applications/lvgl/README.md
blob: 9cbd30d4d2cc68f5d05d5a6ceacd5fa3e6d133b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# How to Run LVGL on Raspberry Pi PICO

[中文页](README_zh.md) |

## Hardware: 

- [Raspberry Pi PICO](https://www.raspberrypi.com/products/raspberry-pi-pico/)

- [TFT-SPI ST7789](https://pdf1.alldatasheet.com/datasheet-pdf/view/1170800/SITRONIX/ST7789H2.html)

  - Single chip TFT-LCD Controller/Driver with On-chip Frame Memory (FM) 

  - Display Resolution: 240*RGB (H) *320(V) 

  - Frame Memory Size: 240 x 320 x 18-bit = 1,382,400 bits 

  - LCD Driver Output Circuits 

    \- Source Outputs: 240 RGB Channels 

    \- Gate Outputs: 320 Channels 

    \- Common Electrode Output 

## Software:

- Opensource [RT-Thread IoT OS](https://www.rt-thread.io/) Project
- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (Free)
- Opensource [LVGL](https://lvgl.io/) Project

## Enable LVGL for LCD 

![](./img_en/1.png)

## Configure Screen Parameter

Select the screen size according to your project requirements (This tutorial is using ST7789).

<img src="./img_en/2.png" style="zoom:80%;" />

## LVGL Display Interface Adopting

<img src="./img_en/3.png" style="zoom:80%;" />



![]()<img src="./img_en/4.png" alt="7" style="zoom: 80%;" />



<img src="./img_en/5.png" style="zoom:80%;" />

## Presentation

<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>