This is my first project. I noticed a few of these guys around. It's an RGB LED music visualizer. This first video doesn't do complete justice, but I hope you enjoy it (it looks super cool in real life, I think). The beat tracking code is extremly simple, but original and robust. Processing is not used; it's all stand alone on the Arduino. I've started posting instructions with more pictures/ my custom shield (it's a good Noobie project) at my blog: http://www.majordecibel.blogspot.com
It was a lot of fun More videos and projects in the pipeline.
Feedback would be awesome! I'm hoping to play with one of those RGB LED strips next.
This is excellent.
I'm looking at doing something similar, with the rgb strips actually.
I have been playing aroung with pwm rgb mixing on the 12v strips through the arduino.
I'm looking at adding music visualisation to it so I will be checking your project out more.
I too want everything controlled on the arduino. These things are made to go to parties
Definitly cool!
I want one!
I took a look to your blog, just wanted to ask if the circuit and the code that I see there are the one used in the video...
Finished a stand alone PCB and mounted all hardware; USB powered, very simple and low cost. I have since redone this with three high brightness CREE LEDs which look great vs. the single RGB LED. Very bright!
Haven't updated the blog in a while, but plan am now planning to release full code at some point soonish, and maybe some more details at my "blog" (haven't updated in a while).
Just wrote a post about the MSGEQ7 - Seven Band Graphic Equalizer in the sensor forum last night. The chip allows you to read 7 bands from an audio input. I like using it to read 3 channels and then map thier values to RGB values for the LED(s). ie...
Channel 0 -> Low -> Green LED brightness
Channel 3 -> Mid -> Blue LED brightness
Channel 6 -> high -> Red LED brightness
Even using only 3 of the 7 channels the results are great.
This looks really nice. I'm really interested in the beat detection code, but I can't find it anywhere on your site. Are you going to let us see the code?
Sorry, I didn't mean to imply it was there. I will be adding a post to my site documenting the current project I am working on, but it's still a bit away - build pictures are taken but still need to finalize some of the effects before recording videos. I also just added IR remote control, which is slowing some of the effects down too much, so I need to optimize the code a bit.
Now that you can see how to read the 7 channels from the audio source, here is a snippet from one of my basic effects to map 3 channels to RGB values for a strip of LED lights.
Note: Colorfill() refers to a function for my LED strip lights. You would replace this with the code to light up your LED(s).
void loop() {
//read the values from the MSGEQ7
digitalWrite(resetPin, HIGH);
digitalWrite(resetPin, LOW);
for (int q = 0; q < 7; q++)
{
digitalWrite(strobePin, LOW);
delayMicroseconds(30); // to allow the output to settle
spectrumValue[q] = analogRead(analogPin);
digitalWrite(strobePin, HIGH);
}
//EQ Color Organ
ledeqred = (spectrumValue[5])/32; // Read channel 5 as Red and divide by 32 to map it to value from 0-32
ledeqgrn = (spectrumValue[3])/32; // Read channel 3 as Green and divide by 32 to map it to value from 0-32
ledeqblu = (spectrumValue[1])/32; // Read channel 1 as Blue and divide by 32 to map it to value from 0-32
colorFill(Color(ledeqred, ledeqgrn, ledeqblu), 25); //Fill in the LED string with RGB values
}
Hi everyone, first of all thank you so much for all the views and feedback I've received over the past few months while this project has been up! It was really cool. I wish I had provided more info in greater detail, as I know some people have expressed an interest in just that. While I haven't gotten around to flushing out all of the details on the LED Music Visualizer project just yet (hopefully I will), I just wanted to let you know that I'm piloting a new blog. I'm hoping to run it as a third party "project review" site with links to other news, etc. You can check it out mdbreview.blogspot.com. My contact email is listed on the blog, so if you are interested in getting some exposure for your blog, website, or videos related to your projects, feel free to drop me an email and I will see what I can do. Cheers!