For a project I would like to listen to sounds recorded via a microphone real-time through a speaker or headphone using a Raspberry Pi Pico.
So far I have been able to write audio recorded via a microphone using the I2S protocol to a .WAV file on a SD card using the following very interesting project as guidance: https://github.com/miketeachman/micropy ... s-examples. Subsequently I am able to to play these recorded .WAV audio files through my headphones using the Adafruit I2S Stereo Decoder via a Raspberry Pi Pico using Thonny and MicroPython.
Hardware used for the above setup:
- INMP441 MEMS Microphone - I2S
- UDA1334A Adafruit I2S Stereo Decoder
- Raspberry Pi Pico
- Breadboard, jump wires and electronic components
I was expecting it to be relatively easy to directly connect a microphone (via the Pico) to an audio jack using the I2S protocol to listen via headphones to what the mic is recording. Especially considering that I am already able to write audio to and play from a separate SD card. Unfortunately, I haven't been able to succeed after a lot of Googling and trying to adapt the code mentioned in the above project.
I have no problem investing a lot of time or possibly purchasing additional hardware to be able to listen real-time/live to a recording using a Raspberry Pi Pico. Any tips or ideas how to achieve the above?
Please let me know if you need any further clarification. Thank you in advance!
So far I have been able to write audio recorded via a microphone using the I2S protocol to a .WAV file on a SD card using the following very interesting project as guidance: https://github.com/miketeachman/micropy ... s-examples. Subsequently I am able to to play these recorded .WAV audio files through my headphones using the Adafruit I2S Stereo Decoder via a Raspberry Pi Pico using Thonny and MicroPython.
Hardware used for the above setup:
- INMP441 MEMS Microphone - I2S
- UDA1334A Adafruit I2S Stereo Decoder
- Raspberry Pi Pico
- Breadboard, jump wires and electronic components
I was expecting it to be relatively easy to directly connect a microphone (via the Pico) to an audio jack using the I2S protocol to listen via headphones to what the mic is recording. Especially considering that I am already able to write audio to and play from a separate SD card. Unfortunately, I haven't been able to succeed after a lot of Googling and trying to adapt the code mentioned in the above project.
I have no problem investing a lot of time or possibly purchasing additional hardware to be able to listen real-time/live to a recording using a Raspberry Pi Pico. Any tips or ideas how to achieve the above?
Please let me know if you need any further clarification. Thank you in advance!
Statistics: Posted by Taxo — Thu Mar 07, 2024 4:32 pm