We compiled this Getting Started Guide to help you get started with this BPI-Centi-S3 development board quickly.
Use a USB-C cable with power and data functions to connect the BPI-Centi-S3 development board to your computer.
When using it for the first time, its screen will immediately display a welcome screen after power-on, and the buzzer will beep twice.
BPI-Centi-S3 has been programmed with MicroPython 1.19.1 firmware and integrated ST7789 C module driver when it leaves the factory. It is recommended for beginners to use MicroPython to develop and learn.
See Install and configure the environment, install Python 3, mpremote tool, mpbridge tool, VScode IDE.
See How to use VScode + mpbridge tool to learn how to connect to the development board, copy, modify, and delete files on the development board.
See REPL Use Case to quickly understand the common shortcut keys of MicroPython REPL and the method of viewing modules.
After the above three steps, you can start developing.
For learning Python and MicroPython, we recommend getting started with Python in the Python Tutorial.
Also,try to learn about What is MicroPython?
Apply what you have learned in Python, and look at the MicroPython documentation, you can quickly refer to MicroPython’s special library, ESP32 port special library for our development.
Learn some of the differences between the two on the page Differences between MicroPython and CPython.
In the next section of this page, you can find some MicroPython example that may help you.
The ST7789 C module driver comes from:
russhughes/st7789s3_esp_lcd, The MIT License
In this GitHub repository, you can check all the methods of the st7789 module, as well as the compiled methods, thanks to russhughes for his open source contributions.
If you have an unexpected vicious BUG during development that prevents the development board from starting normally, or other reasons cause the firmware to be erased or damaged, see Burn firmware.
Code on GitHub,please discuss it on GitHub issue |
LCD init
Display jpg
Display text
Rotary encoder
Buzzer
WS2812 LED
WiFi
ESP NOW