Commit Graph

37 Commits

Author SHA1 Message Date
ooxxU
6b2752a498 外接唤醒模组的支持,可以有多种自定义唤醒词,进行唤醒小智,ESP32(非C3,非S3) 面包板上已支持 (#172)
* 外接唤醒模组的支持,可以有多种自定义唤醒词,进行唤醒小智
ESP32(非C3,非S3) 面包板上已支持

* Update application.cc

外接唤醒模组的支持,好处是可以有多种自定义唤醒词,进行唤醒小智
唤醒模组需要一个GPIO Pin,设置成输出模式+高电平
对该Pin进行唤醒设置,1秒内的低电平脉冲,也就是小智的一个Click
可以参考 ESP32 面包板中的 asr_button_ 按钮的功能函数调用
本人测试采用ASR-ProV1.0版本的唤醒模组,测试内容包括:自定义唤醒词,唤醒词打断,唤醒词回应
此代码兼容其他型号的唤醒模组,并没做限制模组型号,方便大家使用
Modify By MarsBear

* Update esp32_bread_board.cc

---------

Co-authored-by: Xiaoxia <terrence@tenclass.com>
2025-02-17 18:47:21 +08:00
Terrence
3a71c1e895 Enhance device activation and OTA update process
- Add support for device activation with audio feedback
- Refactor OTA update flow to include activation code handling
- Update asset management for localized sound resources
- Improve error handling and device state management
- Reorganize binary asset includes and CMake configuration
2025-02-16 06:59:19 +08:00
Terrence
1d1a0c43ba fix xmini-c3 toggle state 2025-02-14 05:20:59 +08:00
Terrence
ac93e88d17 add uuid to board 2025-02-11 16:56:23 +08:00
Terrence
4aef3d2a4e update version to 1.1.2 2025-02-08 13:56:36 +08:00
Terrence
84c932da4a CPU usage depending on boards 2025-02-04 14:37:11 +08:00
Terrence
564680da92 lichuang c3 use 20px fonts 2025-02-04 00:32:37 +08:00
Terrence
c36e25ce3f upgrade to LVGL 9 2025-02-03 23:43:07 +08:00
Xiaoxia
c564d24cf1 Fix UI condition racing (#110)
* move display init code to board

* fix ui condition race
2025-01-25 15:35:00 +08:00
Terrence
7731f5f1ac add upgrade alert message 2025-01-16 05:43:07 +08:00
Terrence
b00bfaf181 delete background task before upgrade 2025-01-13 06:49:01 +08:00
Terrence
58c1cd81c6 reduce memory usage of ota 2025-01-13 05:00:14 +08:00
Terrence
3655fc89d2 wifi connect version 2 2025-01-12 10:25:43 +08:00
Terrence
b94c8a6e8b rename St7789 to LCD 2025-01-05 21:20:30 +08:00
Terrence
c7c5b74d37 reconstruct led control 2025-01-05 19:36:00 +08:00
Andy
2e6a278b0d feat: add led strip class 2025-01-05 19:35:38 +08:00
Terrence
d31901e9e5 add iot framework 2024-12-06 11:09:17 +08:00
Terrence
bcfd120b00 新的opus封装以及优化const会导致的内存拷贝 2024-12-04 02:12:20 +08:00
Terrence
cabd1faaea bump to 0.9.4 2024-12-03 11:21:43 +08:00
Terrence
436ff2b906 fit the memory usage for esp32c3 2024-11-29 11:06:05 +08:00
Terrence
b07ec1a148 连接wifi时按下boot重置wifi 2024-11-25 02:27:21 +08:00
Terrence
472219d5bf update protocol to support manual response mode 2024-11-25 00:59:03 +08:00
Terrence
c79d6cf4d8 add network error callback 2024-11-20 03:28:52 +08:00
Terrence
874adc80b8 add power save timer 2024-11-19 08:50:47 +08:00
Terrence
6bfe2719a8 加入中文UI 2024-11-18 06:17:39 +08:00
Terrence
794e6f4bef add websocket protocol 2024-11-16 05:49:35 +08:00
Terrence
a494c41367 adjust board structure 2024-11-16 03:25:55 +08:00
Terrence
15891f5840 set power safe mode 2024-11-15 23:07:20 +08:00
Terrence
58de3852c5 add settings 2024-11-15 04:44:53 +08:00
Terrence
ec918748f1 bump to 0.8.0 2024-11-14 23:15:43 +08:00
Xiaoxia
ddb375173e Merge pull request #10 from Justin-sky/main
Delete useless code.
2024-11-07 01:53:25 +08:00
Terrence
35cd80feb7 fixbug: internal memory not enough 2024-11-06 22:48:21 +08:00
Justin
77044b410f Delete useless code. 2024-11-06 15:55:20 +08:00
Terrence
20deb2b777 add st7789 2024-11-06 10:06:05 +08:00
Terrence
3575448373 move all hardware init to boards 2024-11-06 06:18:56 +08:00
Terrence
82030d003d rename CreateAudioDevice to GetAudioDevice 2024-11-05 21:17:56 +08:00
Terrence
458ac2c999 rename files 2024-11-05 20:15:00 +08:00