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

Thread: MSGEQ7 hookup to Teensy 4.1

  1. #1
    Junior Member
    Join Date
    Feb 2022
    Posts
    17

    MSGEQ7 hookup to Teensy 4.1

    I've been searching many sites looking for a hookup schematic for attaching the MSGEQ7 board to my Teensy 4.1 chip. I can't find any hook up guides.
    Anyone? Remember, pictures are worth 1000 words.
    Thanks in advance.

  2. #2
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    791
    Did you perhaps see this page?
    Looking at the code and the instructions, I don't see any problem why it should not run a Teensy 4.1.

    Edit: another useful page.

    Paul

    PS: you need to power the MSGEQ7 at 3V3, not 5V, otherwise you would kill the T4.1.
    Last edited by PaulS; 06-18-2022 at 08:01 PM. Reason: added Sparkfun page

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,398
    MSGEQ7 is not commonly used with Teensy 4 (or Teensy 3) because these boards are plenty powerful enough to do far more sophisticated spectral analysis entirely with software. So there aren't a lot of MSGEQ7 examples with photos, because most people use the audio library for this sort of project.

    We do have lots of info about how to do it without the MSGEQ7 chip. The main one is this tutorial.

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

    Skip to page 24 in the PDF for the info about frequency analysis. Maybe skim pages 8-11 first for quick info about how the design tool works.

    If you scroll down on that page, you can find a complete walk through video. If you get stuck with the tutorial or would rather watch it in action rather than read the PDF, the video demonstrates every part. Click through to YouTube and expand the video description for time index links to jump to every section within the video, which corresponds to the parts of that PDF tutorial.

    The tutorials all use the audio shield to get the analog signals into Teensy. It provides the best quality. But if you don't need great quality (certainly the MSGEQ7 isn't wonderful) you could also use a ADC pin. Hopefully once you've got the idea of the design tool, you can find the ADC analog input info in the design tool and understand how to use the design tool to swap out the digital audio from the audio shield with the ADC analog input.

    If your goal is ultimately to make a LED light show that responds to the spectrum of music or other sound, you might also click File > Examples > OctoWS2811 > SpectrumAnalyzer to get an idea of how Teensy can use software analysis to accomplish so much more than a MSGEQ7 could ever do!

  4. #4
    How small is this world! jejeje. I found a couple of those MSGEQ7 chips in DIP8 format. After reviewing many assemblies on the net, I found the most suitable circuit, consider 3 smd 104 capacitors, one of 33 pF, a 200K resistor and a 22K resistor.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	MSGEQ7_02.jpg 
Views:	5 
Size:	123.0 KB 
ID:	28747   Click image for larger version. 

Name:	MSGEQ7_01.jpg 
Views:	8 
Size:	62.9 KB 
ID:	28748  


Posting Permissions

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