Skip to main content
Visitor II
February 9, 2024
Solved

Connecting Arduino Portenta H7 to PDM microphone

  • February 9, 2024
  • 2 replies
  • 2078 views

Hello everyone,

I am new to hardware programming so please excuse my basic question. Can someone please point me to the right resource to obtain data from an external pdm microphone (https://learn.adafruit.com/adafruit-pdm-microphone-breakout?view=all) from STM32H7 using arduino? Is that possible? I could not find good tutorials for this. Is learning Cube to be able to implement SAI- PDM the only option for this project? I did find the following discussion on arduino forum: https://forum.arduino.cc/t/audio-input-pdm-portenta-vision-shield/1084627 but I wanted to clarify.

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @yshetty and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    First, i suggest you follow this tutorial to understand how to set up the Arduino Portenta H7 to Arduino IDE. Then you can try to adapt the example on the Arduino firmware of the component (the first link you shared on your post) to your board.

    If this can't solve your issue. Please ask this question on our STM32DUINO Forum. They may can give more details.

    Best Regards.

    STTwo-32 

    2 replies

    STTwo-32Answer
    Technical Moderator
    February 9, 2024

    Hello @yshetty and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    First, i suggest you follow this tutorial to understand how to set up the Arduino Portenta H7 to Arduino IDE. Then you can try to adapt the example on the Arduino firmware of the component (the first link you shared on your post) to your board.

    If this can't solve your issue. Please ask this question on our STM32DUINO Forum. They may can give more details.

    Best Regards.

    STTwo-32 

    Visitor II
    February 10, 2024

    I have used the Portenta H7: if you use the extension called "Portanta H7 Vision Shield" (which I need for ETH connector: it has already TWO PDM MICs aboard.
    And I can confirm: these MICs are working (I can get the audio via USB Audio to host PC).

    Consider to use the "Portenta H7 Vision Shield" (and no need for external wiring).

    yshettyAuthor
    Visitor II
    February 12, 2024

    Thank you, it is a really good tip. I will check that out and get back.

    yshettyAuthor
    Visitor II
    February 12, 2024

    ..but I was also wondering if it is possible to connect an external PDM microphone breakout board as well. The thing is I have few PDM microphone breakout boards and I want to analyze the signal from each of them to compare performance, etc. Do you think I need the vision shield for this task?