Gravity: Offline Language Learning Voice Recognition Sensor
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
Looking for a way to detect when the unit wakes up, so when you say hello robot it detects this and a action can then be performed.
Does not send a CMDID when this action is performed.
Anyone have a thought on how this can be done.
Hello, To whom it may concern,
I have two(2) Voice Recognition DF2301OG V1.0 MODULES bought from DFRobot,
When power is applied, the power light will come on and a female voice in a foreign language will come on briefly, my language is US/UK English, then the module will go off, and the wake-up word (Hello Robot) have no effect. Please help.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
Hello,
Please refer to the following wiki page: https://wiki.dfrobot.com/SKU_SEN0539-EN_Gravity_Voice_Recognition_Module_I2C_UART
The CMID for the Wake-up word “hello robot” is ID 2
![](https://dfimg.dfrobot.com/64473f8baa9508d63a42cf0d/enshopforum/4af0b3c8e969dea2ca137a38d39f6840.png)
Please try the following code
![](https://dfimg.dfrobot.com/64473f8baa9508d63a42cf0d/enshopforum/9820b0651977ee44d6876333cdec11b9.png)
When you awaken the module, it should return you with the correct ID:
![](https://dfimg.dfrobot.com/64473f8baa9508d63a42cf0d/enshopforum/17d3ae087ac1286f00d5532bff42cb71.png)
And this is the result that I got when I tested mine:
![](https://dfimg.dfrobot.com/64473f8baa9508d63a42cf0d/enshopforum/da8d2ed70a4e2a36028cd2497318ba30.png)
Hope this helps,
Cheers
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
I had similar problem with arduino code. It was using different pins for serial. Some old uno use
pins 0 and 1 for serial