MSGEQ7 vs FFT - Arduino Spectrum Analyzer

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • 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/don...
    👨‍💻 Building instructions:
    Instructables: www.instructab...
    Make: makeprojects.c...
    🛒 Buy PCB / Parts :
    www.tindie.com...
    ☕ buy me coffee
    You like me work, please buy me a coffee to help me to burn the midnight oil.
    www.buymeacoff...
    💁‍♂️ Do you want to sponsor my channel? Feel free to contact me anytime
    🔀Let's connect
    Website: www.theelectron...
    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-...
    Music promoted by Audio Library • Island - MBB (No Copyr... ​
    ------------------------------
    -For automatic processing-
    [ist]www.instructab... [/ist]
    [mke]makeprojects.c... [/mke]
    [git]github.com/don... [/git]
    [tin]www.tindie.com... [/tin]
    [stuff] [/stuff]

Комментарии • 50

  • @x_CrossHair_x
    @x_CrossHair_x 26 дней назад +1

    très agréable WOW Very nice (Best I've seen as a build)👍🏆

  • @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

  • @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 :)

  • @Sonofblaster
    @Sonofblaster 2 месяца назад

    I am having a hard time understanding the line input to the ESP32. Some sources say a simple voltage divider to a GPIO pin is all that is necessary to properly read the audio signals on the ESP, though I am not having much success. Can you elaborate on the circuit-specifics of the line-in input to the ESP?

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 месяца назад

      Audio is ac signaal, your esp32 vannot handle ac signal so you need to add a dc voltage or do another trick.

  • @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.

  • @samm928
    @samm928 2 года назад

    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 ..

  • @sudiantopakata7529
    @sudiantopakata7529 5 месяцев назад

    Thank you 🙏👍🏼

  • @vmashchenko
    @vmashchenko 2 года назад +1

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

  • @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

  • @samm928
    @samm928 2 года назад

    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  2 года назад +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 2 года назад +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  2 года назад

      @@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 2 года назад

      @@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 2 года назад

      ruclips.net/video/mA5JHc9urMM/видео.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!

  • @juanenriquemorosoli2730
    @juanenriquemorosoli2730 2 года назад

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

    • @TheElectronicEngineer
      @TheElectronicEngineer  2 года назад +1

      12

    • @juanenriquemorosoli2730
      @juanenriquemorosoli2730 2 года назад

      @@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

  • @mayhutnoi
    @mayhutnoi 3 года назад +1

    thankyou

  • @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?

  • @thiphamduy6813
    @thiphamduy6813 3 года назад +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  3 года назад

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

  • @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:
      ruclips.net/video/zVXzfOgn3G0/видео.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 8 месяцев назад

      ​@@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.

  • @silderan
    @silderan 8 месяцев назад

    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: ruclips.net/video/PdaYj1fz3k4/видео.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  8 месяцев назад

      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 8 месяцев назад

      ​@@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.

  • @YogeshPuriLevitation
    @YogeshPuriLevitation 3 года назад +1

    Sir waiting code on esp32. Thanks in advance

  • @TooSlowTube
    @TooSlowTube 2 года назад

    11:28 MSGEQ7 vs FFT comparison.

  • @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