Programming Myself a Concert at Home | Arduino Music Syncing LED Lights Tutorial

Опубликовано: 03 Декабрь 2025
на канале: Kylie Ying
44,915
1.3k

Ultra Miami!! At home!!! This is what happens when your best personality trait is coding and live music. BAM code yourself a concert with sick LED lights with some audio visualization. A big shoutout to JLCPCB for making this possible :) Get your PCBs (printed circuit boards) here: http://jlcpcb.com/PCH

Blasting some good music and just dancing around makes me happy. Having music syncing LEDs makes me even happier. In this video, I go over the circuit that I built for this project, including the intermediate circuits that helped me get there! I also go over the Arduino code that makes this possible. The final product is an LED strip that syncs to music :)

The music comes in from an aux cord, goes into the MSGEQ7 to be split into 7 bands depending on frequency, then gets passed along to the Arduino. The Arduino works its magic to output 3 different values to PWM pins, which go through an array of IR2125s and MOSFETs. We use MOSFETS because the LEDs are a voltage driven switch. The IR2125s help provide the excess voltage needed for the FETS and drive the necessary current to switch the FETs on and off quickly.

Timestamps:
0:00 - Intro
0:45 - Circuit overview
1:40 - Circuit 1
2:06 - Circuit 2
2:45 - PWM
3:26 - IR2125s and MOSFETs
4:30 - Code
7:04- Ultra Miami at home!! (aka watch the lights in action)

Plz don't laugh at my capacitors :(

Anyways, here is the schematic and code:
Schematic/PCB layout/BOM (parts list is exportable): https://easyeda.com/kying/audioled
Code: https://gist.github.com/kying18/c0755...

**Note if you build this, make sure that the footprint of the parts matches the footprint on the PCB layout!

If you subscribe, you can join my dance party: https://www.youtube.com/c/ycubed?sub_...

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram:   / kylieyying  
Follow me on Twitter:   / kylieyying  
Check out my website: https://www.kylieying.com
~~~~~~~~~~~~~~~~~~~~~~~~
Music credits:

Track: Alan Walker - Fade [NCS Release]
Track provided by NoCopyrightSounds.
Watch:    • Video  

Track: Alan Walker - The Spectre
Track provided by Alan Walker.
Watch:    • Alan Walker - The Spectre  

Track: Zaza - Be Together [NCS Release]
Track provided by NoCopyrightSounds.
Watch:    • Zaza - Be Together | Electronic | NCS - Co...  
Free Download / Stream: https://zaza.lnk.to/zazabt

Track: Electro-Light - Symbolism [NCS Release]
Track provided by NoCopyrightSounds.
Watch:    • Electro-Light - Symbolism | Trap | NCS - C...  
Free Download / Stream: http://ncs.io/symbolism

Track: Elektronomia - Sky High pt. II [NCS Release]
Royalty Free Music provided by NoCopyrightSounds.
Watch:    • Elektronomia - Sky High pt. II | House | N...  
Free Download / Stream: http://ncs.io/SkyHigh2