Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: fft analysis with microphone electret + amplification

  1. #1
    Junior Member
    Join Date
    May 2018
    Posts
    12

    fft analysis with microphone electret + amplification

    Hello there,

    I am trying to make a system with teensy 3.2 that be capable to acquire sound between 20 Hz - 20KHz
    and make the FFT analysis to send to my computer via wifi.

    I bought a microphone electret and i think, i'll buy a chip to amplify the signal and connect it to ADC teensy for make FFT Analysis.

    Do you guys know about some chip that can make this work?? i thought about max9814 but i don't know is compatible with the teensy 3.2.

    The other question is about ADC included in teensy. This ADC with 8 bits, it is suficient to make a FFT analysis ?

    I notice about audio teensy shield but isn't what i need, because i only need input system.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,203
    The easiest way is with this shield:

    https://www.pjrc.com/store/teensy3_audio.html

    and this microphone added to it:

    https://www.pjrc.com/store/microphone.html

    You'll also need header pins and optionally sockets to join it to your Teensy 3.2.


    For the FFT part, I recommend starting with the tutorial.

    https://www.pjrc.com/store/audio_tutorial_kit.html

    FFT is covered in part 3-2 on pages 24-29. Or you can watch me & Alysia demo the tutorial material if you scroll down to the video. The FFT part begins 34:56 into the video. Before reading or watching the FFT part, earlier parts like the basic design tool usage would be good to know.

  3. #3
    Junior Member
    Join Date
    May 2018
    Posts
    12
    Thanks @PaulStoffregen for your answer. I notice audio shield but i only need an input systems.

    I'd appreciate if you guys can recommend one way to do that

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,203
    The design tool has most of the audio library's documentation, in the right side panel as you click on each audio object. If you're not yet familiar with how the design tool works, read or watch part 2 of the tutorial.

    While all the tutorial material was created with this shield, and so the shield is by far the easiest way to get started & learn, as you use the design tool you should notice there are currently 7 different input objects. Those are the ways you can get sound input. Each has its documentation in the design tool right-side panel.

    If you are a beginner, I highly recommend going with the audio shield, even if you do not need the output path. It is by far the best documented hardware. If you're learning, you can use the tutorials to get started without the difficulty of needing to adapt to other hardware before you fully understand how everything works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •