Voice Recognition DF2301Q using I2C

userHead John.Parnum 2024-10-14 08:55:51 3553 Views3 Replies

I am using the Voice Recognition DF2301Q with I2C and Arduino.  Essentially I am using the DF Robot example program.

 

My problem is that the void loop freezes after a time and the program stops running.  This time before it freezes is not consistent.  I wonder if this is something to do with the I2C interface.

 

Anyone else has similar problem ?  Anyone got a fix ?  Thanks John

2025-11-20 22:45:40

Many Arduino cores now support:

 

Wire.setWireTimeout(5000, true); // 5 ms timeout, return on timeout 

Add this in setup().

 

This prevents your code from hard-freezing.

userHeadPic ahsrab.rifat
2025-11-20 19:45:07

Hi,

 

I'm having the same problem and haven't found a solution. Could someone from DFRobot help us?

 

Thanks

 

userHeadPic José García
2025-02-04 23:49:42

Hi, I've ran into a similar issue, did you have any luck finding a solution?

userHeadPic Jill.Stirling