Difference between revisions of "BPI-Centi-S3 开发板"
(→1.9英寸屏幕显示) |
(→关键特性) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 29: | Line 29: | ||
* 1 * 蜂鸣器 | * 1 * 蜂鸣器 | ||
* 1 * 全彩色LED | * 1 * 全彩色LED | ||
− | * 1 * | + | * 1 * SH 1mm 4-Pin I2C连接座 |
− | * 2 * | + | * 2 * SH 1mm 6-Pin |
* 1 * USB Type-C | * 1 * USB Type-C | ||
* 1 * MX 1.25mm 2-Pin 电池连接座,支持充电 | * 1 * MX 1.25mm 2-Pin 电池连接座,支持充电 | ||
+ | * 2 * M3螺丝孔 | ||
= 硬件 = | = 硬件 = | ||
Line 42: | Line 43: | ||
== 1.9英寸屏幕显示 == | == 1.9英寸屏幕显示 == | ||
− | [[File:BPI-Centi-S3_5.jpg]] | + | [[File:BPI-Centi-S3_5.jpg | 500px]] |
== 硬件规格 == | == 硬件规格 == | ||
Line 87: | Line 88: | ||
|- | |- | ||
| JST SH 1mm 插座 | | JST SH 1mm 插座 | ||
− | | 1 | + | | 1 * 4Pin,2 * 6Pin |
|- | |- | ||
| USB | | USB | ||
− | | 1 | + | | 1 * 全速USB 2.0 OTG,Type-C母口 |
|- | |- | ||
| USB Serial/JTAG 控制器 | | USB Serial/JTAG 控制器 | ||
Line 99: | Line 100: | ||
|- | |- | ||
| 屏幕分辨率 | | 屏幕分辨率 | ||
− | | 170 | + | | 170 * 320 RGB |
|- | |- | ||
| 屏幕控制芯片 | | 屏幕控制芯片 | ||
Line 108: | Line 109: | ||
|- | |- | ||
| 编码器 | | 编码器 | ||
− | | 1 | + | | 1 * 增量型旋转编码器,支持按压功能 |
|- | |- | ||
| 蜂鸣器 | | 蜂鸣器 | ||
Line 114: | Line 115: | ||
|- | |- | ||
| 彩色LED | | 彩色LED | ||
− | | 1 | + | | 1 * WS2812 2020 |
|- | |- | ||
| 按钮 | | 按钮 | ||
| RST 按钮,BOOT按钮 | | RST 按钮,BOOT按钮 | ||
+ | |- | ||
+ | | 螺丝孔 | ||
+ | | 2 * M3 螺丝孔 | ||
|- | |- | ||
| 整机工作温度 | | 整机工作温度 | ||
Line 143: | Line 147: | ||
== 硬件尺寸 == | == 硬件尺寸 == | ||
+ | [[File:BPI-Centi-S3-V0.2_Dimensions.jpg | 500px]] | ||
+ | |||
+ | == 屏幕接线定义 == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! colspan="2" style="background-color:#ffcb2f;" | BPI-Centi-S3 屏幕接线 | ||
+ | |- | ||
+ | | ESP_LCD_BLK | ||
+ | | GPIO2 | ||
+ | |- | ||
+ | | ESP_LCD_RES | ||
+ | | GPIO3 | ||
+ | |- | ||
+ | | ESP_LCD_CS | ||
+ | | GPIO4 | ||
+ | |- | ||
+ | | ESP_LCD_D/C | ||
+ | | GPIO5 | ||
+ | |- | ||
+ | | ESP_LCD_WR | ||
+ | | GPIO6 | ||
+ | |- | ||
+ | | ESP_LCD_RD | ||
+ | | GPIO7 | ||
+ | |- | ||
+ | | ESP_LCD_D0 | ||
+ | | GPIO8 | ||
+ | |- | ||
+ | | ESP_LCD_D1 | ||
+ | | GPIO9 | ||
+ | |- | ||
+ | | ESP_LCD_D2 | ||
+ | | GPIO10 | ||
+ | |- | ||
+ | | ESP_LCD_D3 | ||
+ | | GPIO11 | ||
+ | |- | ||
+ | | ESP_LCD_D4 | ||
+ | | GPIO12 | ||
+ | |- | ||
+ | | ESP_LCD_D5 | ||
+ | | GPIO13 | ||
+ | |- | ||
+ | | ESP_LCD_D6 | ||
+ | | GPIO14 | ||
+ | |- | ||
+ | | ESP_LCD_D7 | ||
+ | | GPIO15 | ||
+ | |- | ||
+ | | ESP_TP_RESET | ||
+ | | GPIO16 | ||
+ | |- | ||
+ | | II2C_SCL | ||
+ | | GPIO17 | ||
+ | |- | ||
+ | | II2C_SDA | ||
+ | | GPIO18 | ||
+ | |- | ||
+ | | ESP_TP_INT | ||
+ | | GPIO21 | ||
+ | |} | ||
+ | |||
+ | == 外设接线定义 == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! colspan="2" style=" background-color:#ffcb2f;" | BPI-Centi-S3 | + | ! colspan="2" style="background-color:#ffcb2f;" | BPI-Centi-S3 外设接线 |
|- | |- | ||
− | | | + | | RST按键 |
− | | | + | | RST(CHIP_PU) |
|- | |- | ||
− | | | + | | BOOT按键 |
− | | | + | | GPIO0 |
|- | |- | ||
− | | | + | | BAT_ADC 电池电压检测 |
− | | | + | | GPIO1 |
|- | |- | ||
+ | | 蜂鸣器 | ||
+ | | GPIO36 | ||
+ | |- | ||
+ | | EC_KEY 旋转编码器 | ||
+ | | GPIO35 | ||
+ | |- | ||
+ | | EC_A 旋转编码器 | ||
+ | | GPIO37 | ||
+ | |- | ||
+ | | EC_B 旋转编码器 | ||
+ | | GPIO47 | ||
+ | |- | ||
+ | | WS2812B-2020 | ||
+ | | GPIO48 | ||
|} | |} | ||
=开发资料= | =开发资料= | ||
+ | |||
+ | '''BPI-Steam: Code with MicroPython''' | ||
+ | |||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/getting-started.html '''快速上手指南'''] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/What_is_MicroPython.html 什么是 MicroPython?] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/environment.html 安装与配置环境] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/VScode_mpbridge.html VScode + mpbridge工具使用方法] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/REPL_use_case.html REPL使用技巧] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/Burn_firmware.html 烧录固件] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/lcd_init.html 屏幕初始化] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/Display_jpg_images.html 显示jpg图片] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/Display_text.html 显示文本字符] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/MicroPython/Make_semi-transparent_rectangular_text_box.html 制作半透明矩形文本框] | ||
+ | |||
+ | '''BPI-Steam: Code with Arduino''' | ||
+ | |||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/Arduino/Environment.html 安装与配置环境] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/Arduino/Arduino_upload.html 连接,上传] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/Arduino/Arduino_GFX_Install.html 安装Arduino GFX库] | ||
+ | * [https://bpi-steam.com/Centi_S3_doc/zh/Arduino/Arduino_GFX_show_characters.html Arduino GFX, 显示字符] | ||
+ | |||
+ | ==Code on GitHub== | ||
+ | |||
+ | * [https://github.com/BPI-STEAM/BPI-Centi-S3-Doc/tree/main/micropython_example GitHub: BPI-Centi-S3 MicroPython 例程] | ||
+ | |||
+ | * [https://github.com/BPI-STEAM/BPI-Centi-S3-Doc/tree/main/micropython_st7789s3_firmware GitHub: BPI-Centi-S3 micropython+st7789s3 固件] | ||
+ | |||
+ | == Schematic on GitHub == | ||
+ | |||
+ | * [https://github.com/BPI-STEAM/BPI-Centi-S3-Doc/blob/main/sch/BPI-Centi-S3-V0.2-SCH-20230317.pdf GitHub: BPI-Centi-S3 Schematic PDF] | ||
+ | |||
+ | ==参考资料== | ||
+ | |||
+ | * [https://www.bilibili.com/video/BV1hc4115786 bilibili 视频: BPI-Centi-S3 MicroPython快速上手,点亮屏幕] | ||
+ | |||
+ | * [https://www.bilibili.com/video/BV1Fg4y1M79B bilibili 视频: BPI-Centi-S3 使用MicroPython编程显示JPG图片] | ||
=样品购买= | =样品购买= | ||
+ | *比派科技速卖通: https://www.aliexpress.us/item/3256805325011805.html | ||
+ | *SinoVoip速卖通 : https://www.aliexpress.us/item/3256805324649378.html | ||
+ | *官方淘宝店 : https://item.taobao.com/item.htm?spm=a213gs.success.result.1.5c287a86iZZWCW&id=714936265358 |
Latest revision as of 19:19, 2 August 2023
Contents
介绍
BPI-Centi-S3 是一个板载1.9英寸彩屏的小尺寸ESP32-S3开发板,适合用于彩色显示,交互控制,无线通信,传感器数据采集等物联网综合应用项目的开发。
使用Espressif ESP32-S3芯片,支持 2.4 GHz Wi-Fi 和低功耗蓝牙 (Bluetooth® LE) 双模无线通信。
在紧凑的空间下依旧提供一个增量型旋转编码器,一个蜂鸣器,一个WS2812彩灯,及其他所有可用引脚引出,满足多样化的需求。
支持USB和外接3.7V锂电池两种供电方式,可实现双电源下自动切换电源功能,并支持USB充电方式,配置了电池电压检测电路,方便进行电量管理。
关键特性
- ESP32-S3,Xtensa® 32 bit LX7
- 2M PSRAM , 8M FLASH
- 2.4G WIFI ,Bluetooth 5 ,Bluetooth mesh
- GPIO , PWM , I2C , SPI , RMT , I2S , UART ,USB , JTAG
- 1 * ST7789 屏幕,1.9英寸,170*320分辨率,8bit 8080并口
- 1 * 旋转编码器
- 1 * 蜂鸣器
- 1 * 全彩色LED
- 1 * SH 1mm 4-Pin I2C连接座
- 2 * SH 1mm 6-Pin
- 1 * USB Type-C
- 1 * MX 1.25mm 2-Pin 电池连接座,支持充电
- 2 * M3螺丝孔
硬件
硬件接口示意图
1.9英寸屏幕显示
硬件规格
BPI-Centi-S3 规格表 | |
---|---|
SoC 主控芯片 | ESP32-S3,Xtensa® 32 位 LX7 双核处理器 |
主频 | 240MHz MAX |
片上 ROM | 384 KB |
片上 SRAM | 320 KB |
板载 FLASH ROM | 8MB |
片上外设PSRAM | 2MB |
WIFI | IEEE 802.11 b/g/n ,2.4Ghz频带,150Mbps |
蓝牙 | Bluetooth 5 ,Bluetooth mesh |
外部晶振 | 40Mhz |
RTC 和低功耗管理 | 电源管理单元 (PMU)+ 超低功耗协处理器 (ULP) |
GPIO | 已引出9个可用GPIO到JST SH 插座 |
支持外设 | I2C, SPI, PWM, UART, RMT, I2S, SD |
JST SH 1mm 插座 | 1 * 4Pin,2 * 6Pin |
USB | 1 * 全速USB 2.0 OTG,Type-C母口 |
USB Serial/JTAG 控制器 | 1,USB 全速标准,CDC-ACM ,JTAG |
屏幕尺寸 | 1.9 英寸 |
屏幕分辨率 | 170 * 320 RGB |
屏幕控制芯片 | ST7789V3 |
屏幕接口 | 8bit 8080 并口 |
编码器 | 1 * 增量型旋转编码器,支持按压功能 |
蜂鸣器 | 1 |
彩色LED | 1 * WS2812 2020 |
按钮 | RST 按钮,BOOT按钮 |
螺丝孔 | 2 * M3 螺丝孔 |
整机工作温度 | -20℃ ~ +60℃ |
工作电压 | 3.3V |
USB输入电压 | 3.3V~5.5V |
最大放电电流 | [email protected] DC/DC |
电池连接座 | MX 1.25mm 2-Pin |
USB充电 | 支持 |
最大充电电流 | 500mA |
硬件尺寸
屏幕接线定义
BPI-Centi-S3 屏幕接线 | |
---|---|
ESP_LCD_BLK | GPIO2 |
ESP_LCD_RES | GPIO3 |
ESP_LCD_CS | GPIO4 |
ESP_LCD_D/C | GPIO5 |
ESP_LCD_WR | GPIO6 |
ESP_LCD_RD | GPIO7 |
ESP_LCD_D0 | GPIO8 |
ESP_LCD_D1 | GPIO9 |
ESP_LCD_D2 | GPIO10 |
ESP_LCD_D3 | GPIO11 |
ESP_LCD_D4 | GPIO12 |
ESP_LCD_D5 | GPIO13 |
ESP_LCD_D6 | GPIO14 |
ESP_LCD_D7 | GPIO15 |
ESP_TP_RESET | GPIO16 |
II2C_SCL | GPIO17 |
II2C_SDA | GPIO18 |
ESP_TP_INT | GPIO21 |
外设接线定义
BPI-Centi-S3 外设接线 | |
---|---|
RST按键 | RST(CHIP_PU) |
BOOT按键 | GPIO0 |
BAT_ADC 电池电压检测 | GPIO1 |
蜂鸣器 | GPIO36 |
EC_KEY 旋转编码器 | GPIO35 |
EC_A 旋转编码器 | GPIO37 |
EC_B 旋转编码器 | GPIO47 |
WS2812B-2020 | GPIO48 |
开发资料
BPI-Steam: Code with MicroPython
- 快速上手指南
- 什么是 MicroPython?
- 安装与配置环境
- VScode + mpbridge工具使用方法
- REPL使用技巧
- 烧录固件
- 屏幕初始化
- 显示jpg图片
- 显示文本字符
- 制作半透明矩形文本框
BPI-Steam: Code with Arduino