How do you use the SPresence's Audio Library with the Main Board?



  • How I make use of the SPresence's Audio library to record audio with the Main Board? (The documentation only describes the extension board's use) I currently have an electret microphone in one of the GPIO pins and want to record the audio in a MP3 file.


  • DeveloperWorld

    @Vraj-Patel said in How do you use the SPresence's Audio Library with the Main Board?:

    How I make use of the SPresence's Audio library to record audio with the Main Board? (The documentation only describes the extension board's use) I currently have an electret microphone in one of the GPIO pins and want to record the audio in a MP3 file.

    Hi @Vraj-Patel

    Unfortunately there are only a few dedicated pins that can be used as microphone inputs. It is not possible to take any GPIO and connect a microphone to it. This is because to use a microphone you need special analogue electronics/amplifiers inside the chip that can read/sense and convert the very weak signals that comes from a microphone.

    If you want to use a electret microphone you would either have to use the extension board to connect the mic to or design your own board in a format that suits you.

    I would recommend you to have a look and study the the Spresense schematics both for the main and extension board to get an idea of what external components that have been used for the microphone circuitry.
    https://github.com/sonydevworld/spresense-hw-design-files

    Hope that this can help you coming forward with your project.