Files
xiaozhi-esp32/main/boards/yunliao-s3
Xiaoxia b7db68457c v2.1.0: Upgrade esp-wifi-connect to 3.0; New device state machine (#1528)
* Upgrade component version

* update fonts component version

* Handle OTA error code

* Update project version to 2.1.0 and add device state machine implementation

- Upgrade  esp-wifi-connect to 3.0.0, allowing reconfiguring wifi without rebooting
- Introduce device state machine with state change notification in new files
- Remove obsolete device state event files
- Update application logic to utilize new state machine
- Minor adjustments in various board implementations for state handling

* fix compile errors

* Refactor power saving mode implementation to use PowerSaveLevel enumeration

- Updated Application class to replace SetPowerSaveMode with SetPowerSaveLevel, allowing for LOW_POWER and PERFORMANCE settings.
- Modified various board implementations to align with the new power save level structure.
- Ensured consistent handling of power save levels across different board files, enhancing code maintainability and clarity.

* Refactor power save level checks across multiple board implementations

- Updated the condition for power save level checks in various board files to ensure that the power save timer only wakes up when the level is not set to LOW_POWER.
- Improved consistency in handling power save levels, enhancing code clarity and maintainability.

* Refactor EnterWifiConfigMode calls in board implementations

- Updated calls to EnterWifiConfigMode to use the appropriate instance reference (self or board) across multiple board files.
- Improved code consistency and clarity in handling device state during WiFi configuration mode entry.

* Add cellular modem event handling and improve network status updates

- Introduced new network events for cellular modem operations, including detecting, registration errors, and timeouts.
- Enhanced the Application class to handle different network states and update the display status accordingly.
- Refactored Ml307Board to implement a callback mechanism for network events, improving modularity and responsiveness.
- Updated dual_network_board and board headers to support new network event callbacks, ensuring consistent handling across board implementations.

* update esp-wifi-connect version

* Update WiFi configuration tool messages across multiple board implementations to clarify user actions
2025-12-09 09:24:56 +08:00
..

小智云聊S3

简介

小智云聊S3是小智AI的魔改项目是首个2.8寸护眼大屏+大字体+2000mah大电池的量产成品做了大量创新和优化。

合并版

合并版代码在小智AI主项目中维护跟随主项目的一起版本更新便于用户自行扩展和第三方固件扩展。支持语音唤醒、语音打断、OTA、4G自由切换等功能。

按键操作

  • 开机: 关机状态长按1秒后释放按键自动开机
  • 关机: 开机状态长按1秒后释放按键标题栏会显示'请稍候'再等2秒自动关机
  • 唤醒/打断: 正常通话环境下,单击按键
  • 切换4G/Wifi: 启动过程或者配网界面1秒钟内双击按键需安装4G模块
  • 重新配网: 开机状态1秒钟内三击按键会自动重启并进入配网界面

魔改版

魔改版由于底层改动太大,代码单独维护,定期合并主项目代码。

为什么是魔改

  • 首个实现微信二维码配网。
  • 首个支持单手机配网。
  • 首个支持扫二维码访问控制台。
  • 首发支持繁体、日文、英文版界面
  • 首个全语音操控模式
  • 独家提供一键刷机脚本等多种刷机方式

版本区别

特性 合并版 魔改版
语音打断
4G功能
自动更新固件 X
第三方固件支持 X
天气待机界面 X
闹钟提醒 X
网络音乐播放 X
微信扫码配网 X
单手机配网 X
扫码访问控制台 X
繁日英文界面 X
多语言支持 X
外接蓝牙音箱 X

编译配置命令

克隆工程

git clone https://github.com/78/xiaozhi-esp32.git

进入工程

cd xiaozhi-esp32

配置编译目标为 ESP32S3

idf.py set-target esp32s3

打开 menuconfig

idf.py menuconfig

选择板子

- `Xiaozhi Assistant``Board Type` → 选择 `小智云聊-S3` → 选择 `Enable Device-Side AEC`

编译

idf.py build

下载并打开串口终端

idf.py build flash monitor