Bass Reactive LEDs For Your Car

A view of the inside of a car, with drivers wheel on the left and control panel in the middle, with red LED light displayed in the floor area under the drivers wheel and passenger side.

[Stephen Carey] wanted to spruce up his car with sound reactive LEDs but couldn’t quite find the right project online. Instead, he wound up assembling a custom bass reactive LED display using an ESP32.

A schematic of the Bass LED reactive circuit, with an ESP32 on a breadboard connected to a KY-040 encoder module, a GY-MAX4466 microphone module and LED strips below.

The entirety of the build is minimal, consisting of a GY-MAX4466 electret microphone module, a KY-040 encoder for some user control and an ESP32 attached to a Neopixel strip. The only additional electronic parts are some passive resistors to limit current on the data lines and a capacitor for power line noise suppression. [Stephen] uses various enclosures from Thingiverse for the microphone, rotary encoder and ESP32 box to make sure all the modules are protected and accessible.

The magic, of course, is in the software, with the CircuitPythyon ulab library used to do the heavy lifting of creating the spectrogram and frequency filtering. [Stephen] has made the code is available on GitHub for those wanting to take a closer look.

It wasn’t very long ago that sound reactive LEDs used to be a heavy lift, requiring optimized FFT libraries or specialized components to do the spectrogram. With faster and cheaper microcontroller boards, we’re seeing many great projects, like the sensory bridge or Raspberry Pi driven LED spectrogram, that can now take spectrograms and Fourier transform calculations as basic infrastructure to build on top of them. We’re happy to see [Stephen] leverage the ESP32’s speed and various circuit Python libraries to create a very cool LED car hack.

Video after the break!

32 thoughts on “Bass Reactive LEDs For Your Car

  1. … because everyone needs a distracting visual light show at their feet while they’re driving.

    I get everyone’s not the same, and many concentrate better with some music going than in total silence (I fit into this camp). However not sure adding a whole heap of in-sync flashing LEDs does a whole lot of good here.

    1. I agree. If anything, the light’s aren’t even tastefully integrated into the car. I would rather use LED filaments between panels, just to add a soft glow like how some car manufacturers do it.

      1. Things can always be improved after the event.
        And suggestions are easy.

        Carving up you car can be done on some and defo not others.
        El wire fire glow..

        144 led mtr.. would be smoother..

        It would just become a custom car with the amount of modding needed for your vision.
        Easy on my e46 but on some other German cars I would be brave enough to deface it.

        Look up the hiphi z for led integration

  2. Late 90’s called, they want their audio mod back.
    Saw this crap everywhere in the late 90’s when people put huge subs in the trunk. In the early 2000’s people started to put them outside of the car.

      1. I support your attitude.
        Someone had an idea for a personal project, and followed it through to completion. That’s enough for me.
        It’s not like HaD doesn’t post a bunch about people recreating obsolete technology purely out of fascination.

    1. Thanks. I’m also planning to add one near my home stereo. I’ll have to see if I can get WiFi enabled and integrated with MQTT for configuration and ditch the rotary encoder.

      1. I’m thinking of some stereo setup too. Maybe sneak some strobe lights in there too… I really like this project, I can see so many uses.

        You could have it mounted in plexiglass with a logo illuminating. Or plexiglass with a smoked section and a non smoked part for the logo to show.

        Or maybe illuminate the lounge discreetely somehow.

        Maybe even make the circuit connect into a lighbulb fitting so it can replace a bulb…. hmm…….

  3. Why does it seem that everywhere one looks, one finds – more often than not – a greater number of negative, destructive comments?

    Ever think that just maybe, Stephen Carey:

    * Is a regular at car shows, where this kind of thing is seen all the time, while the car is parked?
    * Participates in SPL contests and just wanted something extra to wow the crowd?
    * Wants the install to be semi-permanent and/or readily serviceable without tearing the car apart?
    * Typically doesn’t stare into the footwells whilst driving?
    * Felt (as previously stated) that this could be applied in places other than inside a car?
    * Was proud of his work and wanted to share his joy with the community?

    You’re entitled to your opinion, but think before you post. This is akin to bullying and I’d like to think we’re all better than that.

    1. What you’d like to think, and reality, are very different. I’d always like to follow the “ïf you’ve nothing nice to say, don’t say anything” rule but there’s a very fine line between a) not saying anything nasty, b) sugar coating nasty responses with feedback sandwich style platitudes and c) saying nasty things in a nice way which is very obvious also. Is positive-only feedback a good thing for a technical channel to have? Probably not. Is pointlessly pointing out all the negatives only a good thing? No, for sure not. But one sensitive person’s bullying is another’s challenge to do better. The big question is does the original author get a choice about whether they get negative feedback or not – if you’ve posted it online, probably no.

      1. Too many people here (and generally in the comments) criticize the “why” and the premise of the hack instead of the “how”, or irrelevant things like security and legal problems on hobby personal projects made for fun and giggles.

  4. Back in the 70’s I thought music-sensitive lights were cool too. At that time triac light dimmers were getting cheap, so I whipped up a 3-channel dimmer with audio bandpass filters for red (bass), green (midrange) and blue (treble). Worked great. Nary a microcontroller in sight. No LEDs either — it was all incandescents and theater gels (I worked as a theater lighting tech at the time).

    1. I will never forget the acrid stink of a burning gel sheet. Turns out you can’t just throw any old piece of transparent colored plastic in front of a spot light that can heat a cup of coffee from across the room. Its been 20 years and I can still pick up that smell when I stand where that light was mounted.

      1. That’s why you pay Lee and Rosco the big bucks.

        It’s just not the same experience with the modern LED fixtures. No smoke, no 1st-degree burns, a lot less work on the catwalk (mostly no gels, for one!). Somehow they are even a lot cleaner.

          1. It occurs to me (decades later, too late to do anything about it) that those theatrical lighting installations probably used a shitload of asbestos too. And given the changing nature of lighting installations, they probably got hacked up, drilled and modified from show to show. Sigh.

    2. Some of us drove a precious few watts of audio into a reverse 6 volt to line voltage transformer and lit up florescent or neon lights. We had fast response light effects. Psychedelic! Not even a Triac. I’ve saw it in movies and TV at the time. The Robot in Lost in Space with it’s breastplate blinkenlights. The dialogue of a non human actor required visualization to add belief. Arm waving helps too. Danger!

      1. I was in that camp. Also (in the car) used small audio transformers to drive the base of 2n3055 NPNs directly from the stereo. They could drive a handful of Christmas light incandescents under the dash

    1. Thanks for the tip, I like WLED. For the sound reactive options it looks like you need a PC to handle the processing of the more interesting effects. And the small box that’s option 1 is probably just reacting to the volume. What I’ve done here is a fancier option 1 that uses software on the ESP32 to react only to the bass.

        1. I agree a filter is a simple and efficient way to make this happen. I was interested in seeing if it could be done in software. An all software solution may have some advantages? Remotely adjusting the crossover maybe.

Leave a Reply to LeeCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.