Blinking LEDs To The Frequency of Musi
Blinking LEDs To The Frequency of Musi
Blinking LEDs To The Frequency of Musi
Table of Contents
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
http://www.instructables.com/id/Blinking-LEDs-to-the-Frequency-of-Musi/
Intro: Blinking LEDs to the Frequency of Music
Hey guys, in this tutorial I will be showing you exactly how I set up my Arduino board to take a standard audio input and then flash a set of LEDs based on the frequency
of the music playing.
YouTube
Note: I'm a big fan of Tayda Electronics, as their materials are very cheap and they usually post 15% off discounts on their Facebook Page.
1 x Breadboard
1 x 12V 5A power supply
note: this depends on how long you want your LED strip to be, I find that 5A is plenty for 5 meters, it could probably even handle more since you'll be fading between
colors instead of having everything on maximum. Here's a look link to how I figured out the current draw: link
1 x LED strip (waterproof and nice 1M long strip here , super cheap and ok-quality 5M here )
1 x Audio Jack
3 x 10k resistors
1 x 220k resistor
1 x 33pf ceramic capacitor
2 x 100nf ceramic capacitor
1 x 10nf ceramic capacitor
1 x Arduino (I used a sparkfun-branded RedBoard , but an Arduino Uno would work fine
1 x 3.5mm audio cable
1 x MSGEQ7
3 x N-channel MOSFET Transistors
Many x male to male jumper cables
Image Notes
1. 12V 5A Power
2. Headphone Splitter
3. LED Strip
4. Breadboard
5. Male to Male Jumper Cables
6. Arduino
7. Audio Jack
8. Ceramic Capacitors
9. Resistors
10. MOSFET Transistors
11. MSGEQ7
12. 3.5mm male to male audio cable
http://www.instructables.com/id/Blinking-LEDs-to-the-Frequency-of-Musi/
Step 2: Setting Up the Circuit
Look at the attached picture for details. I used a combination of:
http://pastebin.com/wsHFADWe
File Downloads
msgeq7-led-code.ino (1 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'msgeq7-led-code.ino']
Step 4: Good to Go!
Related Instructables
http://www.instructables.com/id/Blinking-LEDs-to-the-Frequency-of-Musi/
Advertisements
http://www.instructables.com/id/Blinking-LEDs-to-the-Frequency-of-Musi/