ShawnHymel / ei-keyword-spotting

156 stars 50 forks source link

Model for the ST B-L475E-IOT01A or Micro:bit #7

Open julien3108 opened 2 years ago

julien3108 commented 2 years ago

Hi Shawn, I would love to use your demo to voice control a robot car but I don't have the Adafruit microphone. Could you teach me how to make the model for the ST B-L475E-IOT01A or Micro:bit ? Thanks, Julien PS: I opened the STM32IDE project for the L476RG Nucleo board, but I don't see nowhere the Adafruit microphone board driver is in the project ?

ShawnHymel commented 2 years ago

It looks like the ST B-L475E-IOT01A uses 2x MP34DT01 microphones, which are PDM. I don't have code for reading from PDM codes (just the I2S microphone found on that Adafruit breakout board). I don't have time to add support for other microphones right now, but if I'm able to, I'll let you know.

The Adafruit microphone is not specifically listed. The L476RG communicates with the microphone using the I2S interface (which is part of the SAI peripheral on the microcontroller).

julien3108 commented 2 years ago

Thanks Shawn for your quick reply. I will purchases a Adafruit microphone to try to follow your instructions to make a voice-activated machine. Could you please give me the Adafruit microphone part number you were using in your tutorial ? Julien

ShawnHymel commented 2 years ago

Here is the microphone I used: https://www.adafruit.com/product/3421