Digital MEMS Microphones
-
Hi
Does anybody have a recommendation on how to approach capturing/sampling the Pulse Density Modulation (PDM) output of a digital mems microphone using pycom?Any help or pointers would be gratefully received.
Thanks
-
@antonms
At the C level you can do I2S input using the (very new and largely untested) ESP-IDF drivers but I think a Python layer is very far away considering the amount of data, speed and DMA access required.
-
@antonms said in Digital MEMS Microphones:
capturing/sampling the Pulse Density Modulation (PDM) output of a digital mems microphone using pycom
Hi
Thank you for your reply.
I am trying to record sound using a digital mems microphone connected to pycom.
-
@antonms
This is digital signal.
Then you can e.g. read pin in loop
or add callback and record data
https://docs.pycom.io/pycom_esp32/library/machine.Pin.html#machine.pin.callbackBut i do not know what you exactly try to do