Just Barran
Published © CC BY-NC-SA

DIY Automatic Musical Christmas Lights (MSGEQ7 + Arduino)

Make your own musical Christmas lights.

IntermediateFull instructions provided3,836
DIY Automatic Musical Christmas Lights (MSGEQ7 + Arduino)

Things used in this project

Hardware components

Bluetooth Receiver
×1
Arduino Nano
×1
msgeq7
×1
Resistor 22.1k ohm
Resistor 22.1k ohm
×3
Resistor 221k ohm
Resistor 221k ohm
×1
Capacitor 100 nF
Capacitor 100 nF
×1
Capacitor 100 µF
Capacitor 100 µF
×1
Capacitor 10 nF
Capacitor 10 nF
×1
Ceramic Disc Capacitor, 100 pF
Ceramic Disc Capacitor, 100 pF
×1
Grove - 4-Channel Solid State Relay
Seeed Studio Grove - 4-Channel Solid State Relay
×1
8x8 LED display
×1
SparkFun TRRS 3.5mm Jack Breakout
SparkFun TRRS 3.5mm Jack Breakout
×2
SparkFun Breadboard Power Supply 5V/3.3V
SparkFun Breadboard Power Supply 5V/3.3V
×1
SparkFun Solder-able Breadboard - Mini
SparkFun Solder-able Breadboard - Mini
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Circuit Diagram

The datasheet for msgeq7 provides the typical application circuit diagram which I followed and used to design the circuit for this project.

Take note of the values of the specific resistors and capacitors. I have 2 x 3.5mm stereo audio jacks to allow for a Bluetooth module to input audio to be sensed by the msgeq7. You would need two 22k resistors and a capacitor to isolate the MSG and allow the other jack is to output to a speaker via an AUX cable.

Also, I replaced the LEDs later with relays (they are basically the same thing in the realm of this project) to then control some Christmas lights.

The LEDs represent the audio "lows" "mids" "Highs". The plan is to sense the frequency amplitudes and determining a trigger point which will then turn on the light.

I also added an 8x8 led matrix to give a nice audio visualization of the audio frequency as they are being played.

The code can work with any Arduino board but I am using nano for testing and Pro Mini in the final board.

Code

Github

https://github.com/justbarran/Automatic-Musical-Lights.git

Credits

Just Barran
3 projects • 3 followers
My name is Christian Barran and I am an Electrical and Computer Engineer from TTO. I specialised in Electronic and Computer Systems.
Contact

Comments

Please log in or sign up to comment.