xiaozhi-esp32 icon indicating copy to clipboard operation
xiaozhi-esp32 copied to clipboard

Add wake-up button and stepback button

Open FlameFlowAI opened this issue 10 months ago • 1 comments

Add wake-up button and stepback button for Asrpro to achieve smooth custom wake-up, interruption and exit dialogue. This also supports adding two physical buttons to control dialogue flow.

  1. device Idle -> wake-up button press -> device wake up
  2. device speaking -> wake-up button press -> interrupt to listening
  3. device speaking -> stepback button press -> device Idle
  4. listening -> stepback button long press -> device Idle

FlameFlowAI avatar Feb 24 '25 15:02 FlameFlowAI

这个把GPIO19和20用了,USB TX RX还能正常工作?请教一下 @Kevincoooool

78 avatar Mar 02 '25 13:03 78

这个把GPIO19和20用了,USB TX RX还能正常工作?请教一下 @Kevincoooool

19和20可以当作普通IO用,但是如果用作普通IO就不能作为USB下载,板子如果下载使用的是USB转TTL芯片的话,可以使用串口0下载,也可以按住BOOT上电的时候用USB方式下载

Kevincoooool avatar Mar 03 '25 07:03 Kevincoooool

开发板都有两个type c口的,我还是习惯用usb下载,速度够会。这个pr应该会导致usb下载失效,先关闭了。

78 avatar Mar 03 '25 07:03 78