-
This is my LED display made from 882 NeoPixel LEDs in LED strips. it is running a music visualizer that takes an analog input from a microphone. The first picture is an arduino mega 2560 running the code. It works decently, but the refresh rate is a little too low due to the arduino's low memory and processing capability. I tried replacing it in the second picture with an ESP8266 to improve the refresh rate, but now nothing displays properly. I read online that the ESP's GPIO pins are 3.3V and the arduinos are 1V (digital/PWM). Could that be the issue? If so, how do I solve it? If not, is there another problem that I am unaware of? The code is here for reference: https://github.com/tenn6064/Power-T-LED
-
JetBrains
Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
-
Me? I started up a sound reactive fork of WLED at https://github.com/atuline/WLED which now does all that and then some, such as 2D, an interpreter, segments and more.
-
It is still bugged, however I've managed to pin it down to one single issue I believe. (thanks to major help.) The sampling rate from the analog input is extremely slow for some reason. It takes a whole 2 seconds to take 8k samples from the A0 pin for a FFT. The code that this is being copied off of online found here: https://github.com/s-marley/ESP32_FFT_VU/blob/master/ESP32_FFT_VU/ESP32_FFT_VU.ino runs 40k samples at 9.2uS even though the code I have for that section is a carbon copy.