Troubleshooting

DF2301Q Offline Voice Recognition Sensor

userHead MarkR 2026-07-18 06:53:21 22 Views1 Replies

I have been trying to get this board working.
I get it to respond but I never get a code from asr.getCMDID() other than 0.

I have tried it on an Elego Uno R3, ESP32-32E, and ESP8266. I have tried I2C and UART with no luck.
It powers up and says “Your welcome to use the voice recognition assistant”.
I say “hello robot” it responds “Yes, I'm here”

I say “turn on the light” or “turn off the light” and it responds “Okay”.
I never get a code back from asr.getCMDID() other than 0.

The odd thing, I can disconnect the DF2301Q and the sample program acts like it initialized it.
In Serial Monitor I get:
Begin ok!

wakeTime = 0

I can't figure out what is wrong.

 

On the Elego Uno R3 I have:
SCL connected to C/R 
SDA connected to D/T
GND connected to GND
5v connected to VCC

Please advise on how to get this module to work.

 

 

2026-07-18 08:53:39

To add to it, I have tried pins A4 and A5 with no luck

userHeadPic MarkR