s-marley / ESP32_FFT_VU

A spectrum analyzer VU meter for the ESP32 and a FastLED matrix
Other
274 stars 67 forks source link

8 Channel instead of 16 #14

Open alwaysdamian opened 2 years ago

alwaysdamian commented 2 years ago

Hi Scott, How are you?

Just a quick question please. I have been playing around with FFT and the LED's for a few days and decided to replicate your design. When running the 16x16 matrix, I have noticed that there are always 2 band per frequency. This seems to happen on each pattern.

I have confirmed the Num_bands are 16 and that the 16 band frequency table is being used.

If i'm not being 100% clear, I am unable to do a frequency sweep, with 1 bar at a time.

Let me know your thoughts. Thanks so much Damian

s-marley commented 2 years ago

Hi Damian,

Thanks for getting in touch. I'm not sure what's going on there as it definitely used to work correctly. As a quick bodge, try changing BAR_WIDTH = 1; and see if that makes it work. I'm afraid I don't have time to investigate this further at the moment.

Cheers,

Scott Marley

Space & Science Education

http://www.scottmarley.com

@.***

TEL: 07732097058

On Sat, 30 Apr 2022 at 13:01, alwaysdamian @.***> wrote:

Hi Scott, How are you?

Just a quick question please. I have been playing around with FFT and the LED's for a few days and decided to replicate your design. When running the 16x16 matrix, I have noticed that there are always 2 band per frequency. This seems to happen on each pattern.

I have confirmed the Num_bands are 16 and that the 16 band frequency table is being used.

If i'm not being 100% clear, I am unable to do a frequency sweep, with 1 bar at a time.

Let me know your thoughts. Thanks so much Damian

— Reply to this email directly, view it on GitHub https://github.com/s-marley/ESP32_FFT_VU/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGWSNPPEXR3IGJJ5AOIITVHUOJPANCNFSM5UYILSCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alwaysdamian commented 2 years ago

Hi Scott.

Thanks for getting back to me.

I had a "2AM, realization" last night and found the culprit. I realized that when ever 2 bands lit up, they were missing every 2nd LED (it was off). Furthermore, if i had to merge the 2 bands together, it would be 1 complete band (if that makes sense). This made me re look at the wiring and setup.

I initially wired up the matrix in a "progressive" layout. I also looked at this and tried changing the Serpentine between True/false, i saw no change. Because of this, i thought it was a software fault.

After rewiring up the matrix into a serpentine layout, all seems to be correct!

Hopefully you don't mind 1 more question. Did you ever struggle with interference on the LED strips? At a height of 9 LEDS and 16 long, everything works as expected. If i increase the height, random LED's near the top randomly light up, i assume this is caused by noise from the LED's.

Have you experienced anything like this?

Thanks again for you time and assistance. Have a wonderful day. Damian