Bat detector

Hi Sam,
DId you look at the specs of the audioshield ?
That tells you all about how this works. We use the SPU0410 in conjunction with that board.

Hi Cor,

Yes, I've read. My question is how do you wire the SPU0410 to Teensy? I am using SPH0641LU4H-1 incorporated in a PDM interface ( How can I wire this ? Do I have to make my own PCB?
You can see at Edwins site how its wired (look at the parts section). Its very simple and its easier when its allready on a PCB as these are tiny microphones. The SPU is thus simply wired to the microphone input line on the audioshield. Using a pre-amp can be handy. But this is depending on your own design and application.

BTW: the SPU0410 documentation on Mouser also shows you how these microphones are connected.
Last edited:
If you really wanted to use a PDM microphone (e,g. using the elecrow breakout board) you should first understand what PDM really is. Next, I would check how the board is interfaced to the STM32L4 board. Further, I would implement the CIC filter and resampling algorithm from the STM32 board.
I guess, you can do the PDM bit-stream to digital word conversion in software, or get yourself an ADC board that accepts also PDM microphones. TI has some chips. AFAIK, the SGTL5000 is not one of these.
Last edited: