ESP32/Adruino Uno with KY-037 sound sensor data-forwarder error

I am using an ESP32-WROOM-32 along with a KY-037 sound sensor. I want to use this sound sensor to capture real-time audio for my classification project.

Also, I am using the Data forwarder since ESP32-WROOM-32 is not a supported board by Edge Impulse and have followed the installation and set-up instructions provided by these links:

I am, however, getting this error in the prompt.

To which project do you want to connect this device? Alex / *********
[SER] Detecting data frequency...
[SER] Failed to get information off device No valid sensor readings received from device: . Note that the data forwarder can only auto-detect frequencies >2Hz. You can override the frequency via --frequency.

I’d appreciate any help with regard to this. Cheers!

Project ID: 95368

I have also tried varying the frequency from 1,100, and 1000, but still to no avail.

Now using Arduino Uno and the problem still persists.

Thanks!

Hello @AlexPH,

Could you share your piece of code where you print the values on the Serial Console at the regular time interval please?

Regards,

Louis

Is this from the Arduino IDE?

If yes,

Thanks @louis!

I changed my Arduino code and it’s working now. Thanks, louis!

Glad to hear that!

Feel free to post your solution here if you wish, I am sure it can help other people in the future.

Regards,

Louis