MSGEQ7 vs FFT - Arduino Spectrum Analyzer

Поділитися
Вставка
  • Опубліковано 4 кві 2021
  • I did a side to side comparison of a Analog based Spectrum analyzer and a FFT based one.
    Based on performance, can you replace your double MSGEQ7 setup with a ESP32 and FFT library?
    I compared both versions with a line input and a Microphone input and combined all in a video.
    To compare, I used the same code( Sketch) but both with it's own plugin to get the frequency information. So, one uses a FFT libary and the other uses my existing hardware with two MSGEQ7 and Frequency board.
    This is an open source project, all schematics, software and building instructions are available for you. Use it, change is, heck even sell it. It's ok but if you do one or more of the above, please give me credit by linking back to my channel.
    🕮 Software/ firmware / sketch / documentation:
    github.com/donnersm/14Channel...
    👨‍💻 Building instructions:
    Instructables: www.instructables.com/8-64-Ch...
    Make: makeprojects.com/project/supe...
    🛒 Buy PCB / Parts :
    www.tindie.com/products/markd...
    ☕ buy me coffee
    You like me work, please buy me a coffee to help me to burn the midnight oil.
    www.buymeacoffee.com/MarkDonners
    💁‍♂️ Do you want to sponsor my channel? Feel free to contact me anytime
    🔀Let's connect
    Website: www.theelectronicengineer.nl
    facebook: / theelectronicengineer
    Instagram: / theelelectronicenginee...
    Twitter: / markdonners
    More info on the project in this video here:
    • Must see this 14 Chann...
    MusicTrack:
    ------------------------------
    Island by MBB / mbbofficial​
    Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
    Free Download / Stream: bit.ly/Island-MBB​
    Music promoted by Audio Library • Island - MBB (No Copyr... ​
    ------------------------------
    -For automatic processing-
    [ist]www.instructables.com/8-64-Ch... [/ist]
    [mke]makeprojects.com/project/supe... [/mke]
    [git]github.com/donnersm [/git]
    [tin]www.tindie.com/products/markd... [/tin]
    [stuff] [/stuff]

КОМЕНТАРІ • 47

  • @luisalonsobr
    @luisalonsobr 3 роки тому +4

    Yo really deserve more subs and views. Great work, thank you

  • @manoharmanu1460
    @manoharmanu1460 3 роки тому +2

    Very helpful, I was just about to start a project on vu meter and found your video in time

  • @jameshauser1507
    @jameshauser1507 2 роки тому

    TEE----Thank you for all your work and sharing. I always follow you and enjoy your work.

  • @qzorn4440
    @qzorn4440 Рік тому

    wow simply fantastic! I was looking for another esp32 project and thinking about a spectrum analyzer to monitor dirty inverter electricity for VFD motors and solar projects that mess up the power grid with 5th and 7th, etc. harmonics and check the power factor issues on inductance and capacitance balancing to combat wasted energy. This project sounds cool, no pun. 😎thank you.

  • @sudiantopakata7529
    @sudiantopakata7529 Місяць тому

    Thank you 🙏👍🏼

  • @mayhutnoi
    @mayhutnoi 2 роки тому +1

    thankyou

  • @nicolasgomez8718
    @nicolasgomez8718 3 роки тому +3

    Hi Mark, thanks for sharing your knowledge. Is it possible that you share the FFT code? I've been looking at Github but I only see that there is the project to be used with the MSGEQ7. I am trying to build a spectrum analyzer with FFT and ESP32.

    • @TheElectronicEngineer
      @TheElectronicEngineer  3 роки тому +3

      Sure, it will be released soon… i am finetuning it. Need about two more weeks

    • @nicolasgomez8718
      @nicolasgomez8718 3 роки тому

      @@TheElectronicEngineer thank you very much for your answer :)

  • @vmashchenko
    @vmashchenko Рік тому +1

    Thanks, very helpful!
    I heard that FHT works much faster than FFT.

  • @samm928
    @samm928 Рік тому

    I was scratching my head again, wondering if this 14 or 21 channel analyzer would work better on the ESP32 platform and use the internet radio as the source of the audio input .. Smaller size and less money than the Mega2560 an has a lot more functionality .. Maybe add some BLE control from a smart phone and use the 21x20 led array for more than just displaying music frequencies ..

  • @samm928
    @samm928 Рік тому

    Would I be correct to take Freq0 as baseline = 104570hz and calculate Freq1 = Freq0 * 1.3572, and Freq2 = Freq0 * 1.3572^2 this way using all 3 programmable clocks from Si5351 and drive 3 x MSGEQ7 for a total of 21 channels ?

    • @TheElectronicEngineer
      @TheElectronicEngineer  Рік тому +1

      I didn’t try. But take note, if you are going to use all 3 outputs simultaneously, I think you need to find a different driver for the frequencyboard. The one I used only support 2

    • @samm928
      @samm928 Рік тому +1

      @@TheElectronicEngineer Thanks Mark, that comment in your sketch was staring right in my face and didn't see it. ZIGZAG works just fine. My next challenge is to map the bandValues from A0, A1 and A2 and transform them into 21 Bar Heights. Your sketch works up to 14 and now I'm scratching my head. I know a Romanian software guy here in Florida, I might have to give him a call. Again Thanks for the help, Cheers !

    • @TheElectronicEngineer
      @TheElectronicEngineer  Рік тому

      @@samm928 also easy… in the settings you can change the number of leds per bar…. I think the variable is litteraly called barHeight…. But im doing by memory

    • @samm928
      @samm928 Рік тому

      @@TheElectronicEngineer .. Hi Mark, you were right about the Si5351. Although it has 3 programmable clocks, CLK1 and CLK2 cannot be used at the same time the way Pavel wrote the Library (Si5351mcu.h) .. I did however picked the generic Si5351.h library and was able to clock all 3 MSGEQ7 at a different clock. Also when reading each of the 7 bands I had to bump up the NOISE constant from 120 to 180 (60 for each analyzer) in order to get all the readings to store correctly in the bandValue array. Many thanks !!

    • @samm928
      @samm928 Рік тому

      ua-cam.com/video/mA5JHc9urMM/v-deo.html

  • @jagadishk
    @jagadishk 2 роки тому +2

    How do you have less than 1M subscribers ??? The algo is really screwed up if content like this is not being pushed out to hobbyists.

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 роки тому

      Thanks you that is very nice to say. Yeah, you would expect content like this is booming. So spread the word!

  • @randallfawc7501
    @randallfawc7501 2 роки тому +1

    Do you build these for sale as completed units? If so I want one!!!

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 роки тому

      Sorry no, i provide building instructions and i sell the main circuit board. The rest is up to you

  • @juanenriquemorosoli2730
    @juanenriquemorosoli2730 Рік тому

    hi, how many modes has the MSGEQ7 version you kindly share ??

    • @TheElectronicEngineer
      @TheElectronicEngineer  Рік тому +1

      12

    • @juanenriquemorosoli2730
      @juanenriquemorosoli2730 Рік тому

      @@TheElectronicEngineer Thanks!! Which is the width of the acrilyc ? 8mm?? You cut it using a laser/cnc/3d printer?I am very happy to find your project, I do really like it and willing to implmenet, my concern is get the acrilyc and shape the 280 pieces plus the other parts. thanks

  • @danieljohnburke
    @danieljohnburke 2 роки тому

    What if I needed to analyse 100hz to 6khz in 3hz steps, Say 2000 bands. Can that be done?

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 роки тому

      No..that's gone be hard! 3 hz steps over that range will take up lot's of samples and bandwidth...3hz is too narrow.

    • @danieljohnburke
      @danieljohnburke 2 роки тому

      @@TheElectronicEngineer But what is i need 3hz resolution, what frequency range canbe covers 100hz to 4khz? 2kHz?

  • @ALTechDIY
    @ALTechDIY 3 роки тому

    im a fan of music with vu meter, can you pls give a schematic diagram for this and components thanks and more vu meters to come

    • @TheElectronicEngineer
      @TheElectronicEngineer  3 роки тому +1

      Latest version is available on my github. See text under this video:
      ua-cam.com/video/zVXzfOgn3G0/v-deo.html

    • @ALTechDIY
      @ALTechDIY 3 роки тому

      @@TheElectronicEngineer thanks a lot

  • @ugetridofit
    @ugetridofit Рік тому

    Excellent video! Though I find FFT looks to fake to me. The MSGEQ7 is more natural looking.

    • @TheElectronicEngineer
      @TheElectronicEngineer  Рік тому

      Correct! Thats why i build a analog version based on the msgeq7 but without it , using opamps

    • @SergeyBodnarchuk
      @SergeyBodnarchuk 5 місяців тому

      ​@@TheElectronicEngineer, have you plans to share project on opamps? Also as MSGEQ alternative there is BAS3834F. I found some project in AlexGyver comminuty, but have not test it yet.

  • @TooSlowTube
    @TooSlowTube Рік тому

    11:28 MSGEQ7 vs FFT comparison.

  • @thiphamduy6813
    @thiphamduy6813 2 роки тому +2

    In my opinion, fft is still not as good as msgeq7. However I still very much look forward to the next upgrade of fft in the future because as you say msgeq7 chip a lot of fakes

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 роки тому

      I am working on a analog analyzer but with digital processing of the analyzer system. So keep tuned, you'll get what you want

  • @YogeshPuriLevitation
    @YogeshPuriLevitation 3 роки тому +1

    Sir waiting code on esp32. Thanks in advance

  • @silderan
    @silderan 5 місяців тому

    Wow, just wow.
    I'm also trying to make my own vu-meter and found your video and exposes all my doubs.
    All my sketchs using FFT shows the same issues: some sounds, specially short ones, line drums or finger snap, as seen here: ua-cam.com/video/PdaYj1fz3k4/v-deo.html, using FFT are missing!
    I'm in the way to find what's going on with FFT, but, anyway, analog filtering ends up to be more natural and for sure I'll take a deep look to your MSGEQ7 project.
    I think that FFT issue comes from the time that ESP32 is doing other things than reading signal. But, not sure at all.

    • @TheElectronicEngineer
      @TheElectronicEngineer  4 місяці тому

      Spot on! Nothing beats analog lol. However, if you look at the latest video where i used a Teensy microcontroller… that one comes pretty close…

    • @silderan
      @silderan 4 місяці тому

      ​@@TheElectronicEngineerHaha,. You're using the right tool for their perfect use. Of course, I'll take a look over all this new things to me. I'm out of electronics world for almos 20 years and trying to enter again.. with much poor eyes acuracy. Too bad for soldering and reading that tiny labels.
      I think I've found the solution for this "missing" sounds, but I need more tests before saying anything for sure. I'll public it in my github if I'll success.

  • @sadeghghorbani3055
    @sadeghghorbani3055 3 роки тому

    Sir waiting for FFT firmware

    • @TheElectronicEngineer
      @TheElectronicEngineer  3 роки тому +1

      Sorry not yet.....however, it is being perfected.....as soon as it is ready and bugfree, I will present it

    • @sadeghghorbani3055
      @sadeghghorbani3055 3 роки тому

      @@TheElectronicEngineer Thanks Sir