2022-03-14 16:29:50 +08:00
|
|
|
# Get Raspberry Pi PICO Running on RT-Thread RTOS with an Opensource Light Versatile Graphics Library
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
![](./img_en/4.png)
|
2022-03-14 16:29:50 +08:00
|
|
|
|
|
|
|
## Configure Screen Parameter
|
|
|
|
|
|
|
|
Select the screen size according to your project requirements (This tutorial is using ST7789).
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
<img src="./img_en/5.png" style="zoom:80%;" />
|
2022-03-14 16:29:50 +08:00
|
|
|
|
|
|
|
## LVGL Display Interface Adopting
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
<img src="./img_en/6.png" style="zoom:80%;" />
|
2022-03-14 16:29:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
![]()<img src="./img_en/7.png" alt="7" style="zoom: 80%;" />
|
2022-03-14 16:29:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
<img src="./img_en/8.png" style="zoom:80%;" />
|
2022-03-14 16:29:50 +08:00
|
|
|
|
|
|
|
## Presentation
|
|
|
|
|
2022-03-14 16:39:51 +08:00
|
|
|
<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>
|