GravityUNIHIKER

SEN0539:A continuous wake state without a wake word

userHead Ian.ZHENG 2024-09-13 23:49:23 1029 Views7 Replies

I want to set up the DF2301Q voice recognition module so that it enters a continuous wake state without a wake word once the program is running, and remains continuously sensitive to command words. How can I do this? (I couldn't find any information in the documentation about keeping the module always on or idle, or methods to disable sleep mode or enable continuous listening.)

I'm connecting to the module's I2C interface via Unihiker and compiling with the Python language.

2024-12-08 06:34:18

set wake on at start can be done in i2c mode not in uart/ serial mode. 
in i2c mode the command is: set_wakeup(), I tried  self.setting_CMD( DF2301Q_UART_MSG_CMD_SET_ENTERWAKEUP, 0) with 0,1,2,3 none of them works.. 
but you can do the following in uart/serial
say wake word(hello robot),  receive cmdid = 2, then call set_wake_time(255) immediately and every 200 secs after. That will keep awake in ON mode for ever.
 

userHeadPic karl.wachs
Takahiro.Maruhashi wrote:

That's so Great!!

Please provide a detailed sample code…

2024-12-16 22:49:12
karl.wachs wrote:

the command is:

set_wakeup()

if you are using the i2c class in python

2024-12-20 07:13:27
2 Replies
2024-11-19 23:54:28

None of these responses answer the question. I am curious about the same topic. 

userHeadPic The_Inevitable_Man_17235
2024-11-18 11:22:12

i am also wondering how to achieve this. wake once and stay listening

userHeadPic jennapark86
2024-11-16 08:43:03

Did you find a way to do this?

Every forum post on this topic gets a referral to
 https://www.dfrobot.com/forum/topic/332598
… which does NOT address the question, at all.

userHeadPic bradjshannon
2024-09-20 07:56:09

xingzhao.zhu's reply in the following topic might be helpful.

 

https://www.dfrobot.com/forum/topic/332598

userHeadPic Yeez_B