Rdzleo c63b35a0e7
Some checks failed
Build Boards / Determine variants to build (push) Successful in 6m26s
Build Boards / Build ${{ matrix.name }} (push) Failing after 6m43s
1、第一次提交项目,项目初始化;
2、修改了RP2040的代码,使其在没有安装摄像头的情况下也可以左右转动眼球和左右转动身体;
3、增加了一些中文注释的说明;
2026-04-09 14:22:24 +08:00

63 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# labplus 乐动掌控V2
## 板载资源
主控ESP32-S3 外挂8MB psram 16MB flash
传感器:
按钮(A B按键 IO0 IO46
光照传感器 IIC
6轴 IIC
磁力计 IIC
声音触发 IO6
触摸按键 IIC P Y T H O N
摄像头 IIC
执行器:
蜂鸣器 IO21
RGB灯 IO16
录音播放 es8388 IIC
TFT LCD jd9853 SPI
电机驱动 IIC
## 编译配置
### 配置编译目标为 ESP32S3USB JTAG下载
```bash
idf.py set-target esp32s3
```
### menuconfig配置
```bash
idf.py menuconfig
```
***选择板子:***
```
Xiaozhi Assistant -> Board Type -> labplus Ledong_v2 board
```
***修改 psram 配置:***
```
Component config -> ESP PSRAM -> SPI RAM config -> Mode (QUAD/OCT) -> quad Mode PSRAM
```
**编译:**
```bash
idf.py build
```
**固件打包:**
```bash
esptool.py -p /dev/ttyACM0 -b 1500000 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x100000 xiaozhi.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0x10000 srmodels/srmodels.bin
```
## 使用
### 按键配置
* A短按-打断/唤醒