Step 2: Hacking the GE- 35 Lights

The first thing to do is to modify your lights so that they will work with the arduino. I chose to follow austinlightguy's instructions on his website which worked well for me. You of course can do whatever you want, but make sure that the stock light controllers data line is not connected when your arduino is to the lights or you may end up frying something or getting interference between the two.
<p>Can you power the lights and the arduino from the same five volt supply?</p>
<p>You might be able to get away with it. The reason that I didn't was that the power supply for the lights puts out 5.6v according to <a href="http://www.deepdarc.com/2010/11/27/hacking-christmas-lights/" rel="nofollow">-this site-</a> which is a bit high for the arduino so I just used two different supplies. Another problem you might run into is that having the arduino and the lights on the same power could create a lot of electrical interference and cause the arduino to perform strangely but I'm not positive about that. A possible solution would be to use some fairly significant power filtering capacitors to smooth out the voltage. As far as getting the voltage low enough a simple solution would be to use a diode in series which has around a .7v drop. A more complicated one would be to use a 5v LDO regulator. Best of luck, let me know if I can help!</p>
Thanks so much for responding so quickly. I was going to use a diode for the .7V drop ... my GE lights have a supply labeled as 6V , but I haven't actually measured. I may just opt for two supplies. I think some others have used computer power supplies pulled from old equipment, which have a clean 5V, to power both the lights and the arduino. PC supplies often have more than enough current for a couple strings of GE-35s.
Hi - first thanks for this tutorial, I built one of these in a suitcase and it's downright awesome. I wanted to build another, but the G35 lights are pretty expensive, so I was looking at other options and found Adafruit Neopixels. <br> <br>So question: do you think this set-up would work with Neopixels and a Trinket? Neopixels say they are individually addressable, I'm just not sure if the Trinket has enough pins/the right pins to support your design.
The Neopixels only require one digital pin to control and work much like the G35 lights. I don't think you would have enough pins to use the MSGEQ7 as two of the trinket pins are used for usb. You might be able to get around that but I think the better course of action would be to implement a Fourier Transform on the audio. <a href="http://learn.adafruit.com/trinket-sound-reactive-led-color-organ" rel="nofollow">This</a>&nbsp;article from Adafruit would be a good starting point I think for you.
Thanks for the suggestion. I got around to buying the Neopixels and the Trinket, and I think they'll work (I built the little color organ in that link, but it's not that impressive with an LED strip, more like a VU meter), but I'm having some trouble getting your code to work with the fourier transform.<br> <br> I'm using the fft library in <a href="https://www.instructables.com/id/LoL-Shield-Audio-Spectrum-VU-Meter/" rel="nofollow">this</a>&nbsp;instructable, but I'm not sure how to interface with it your visualizer (specifically the rainbow one, which I quite enjoy). &nbsp;I think his data_avgs[] roughly corresponds to your spectrumValue, but I'm not much for the Arduino language, so if you wouldn't mind explaining how that visualizer works, or offering some tips that would be awesome.<br> <br> Thanks again!
I am not exactly sure how FFT works but from looking over his code I think you are right about the data_avgs[] being simillar to my spectrumValue[7]. I'm fairly sure that you can use his code up until where he maps the data. That particular map() function call you are going to have to change to something like the one in my mapAudio function so that it maps the data correctly. It will probably depend though more on the neopixels and what values they take for inputs. Let me know if that doesn't make sense of if you have any more questions. Good luck!
I'm not really very familiar with the Arduino language, so I can't quite tell what that map() function is doing. <br> <br>The Neopixels seem to be fairly straightforward to work with. You set the color with strip.setPixelColor(n, r, g, b) where n is the pixel number and rgb is the color. Unfortunately, it looks like the only way to set multiple pixels is by using a for loop, but I think I can figure that out. You can set brightness with a simple function: strip.setBrightness(0-255). <br> <br>So aside from the mapping thing, I just need an idea of how the spectrumValue, color, and brightness interplay in your visualizer. I think after that I might be able to code some rough approximation for the NeoPixels. <br> <br>Thanks again for helping out. <br> <br>
Hey thanks for putting this up. Its pretty sweet. We are trying to adapt your setup for an infinity mirror using <a href="http://www.amazon.com/A000057-Arduino-Leonardo-with-Headers/dp/B008A36R2Y/ref=pd_sim_sbs_pc_3" rel="nofollow">this</a>&nbsp;arduino board and these <a href="http://www.amazon.com/LEDwholesalers-Controller-2034RGB-3315-3215/dp/B0040FJ27S/ref=sr_1_cc_1?s=aps&ie=UTF8&qid=1375829079&sr=1-1-catcorr&keywords=LED+wholesalers+16.4ft+RGB" rel="nofollow">LED lights.</a>&nbsp;<br> <br> Looking at the board we are going to buy, is this board missing anything we need to follow your design? We're purchasing everything else according to your specs except for the PIR stuff.<br> <br> Thanks again!
Well first off you are going to have to modify the code for the project because you are buying an RGB strip and not the GE-35 christmas lights which are individually addressable. You are probably going to need a couple of FETs, basically large transistors, to control each color separately. Check out step 10 for some more information. If you wish, I can upload the circuit board that I designed for it to get you started. It should work for you, though you might need higher amperage FETs than I used depending on the length of led strip in your infinity mirror. Other than that the leonardo will suit your needs well and as long as you have the MSGEQ7 and the minimal supporting circuitry for that chip in addition to the above suggestions, you should be all set to go.
About how much did it cost
Well, I already had the Arduino, Protoshield and random components for it so it only cost $5 for the MSGEQ7 chip. The final board that I etched was $10-15 total for the etchant, copper clad board and supporting components.
V E R Y NICE ! <br>Awesome work ...thanks for sharing with us! <br>Build_it_Bob
The video is private
You are absolutely right! Sorry, I didn't see that.
Sorry about the broken link, its fixed now.
Got a lot of random colors on color organ and red when in motion detect? any ideas?
What pin did you run the lights to. The external link is not working.
The data line from the lights is connected to digital pin 4 on the Arduino. If that doesn't work, make sure you have everything wired up correctly. Sometimes breadboards don't make good contact with wires so try &quot;wiggling things around&quot; and see if that works.
Found it in the code after I asked. Thanks for the reply.
That is really, (pause for dramatic effect), awesome!<br>And, is that an iMac I see in the right bottom corner?<br>
Yep, well, sort of. Its an older iMac with a power mac processor instead of the newer Intel-based Macs. The screen is on its way out though and flickers between a washed out blue tinge and the normal display which makes for some interesting programming :D
Just checked out your profile and it looks like you are a fellow mac lover, am I right?
Perfectly, indeed. I am like a Mac fanatic! I have a Mac SE from 1986 (parent's computer), a power pc G4 (work), a Macbook Pro ( 2007-2008, I think ),<br>iMac (2009), and Macbook Pro (latest quad-core i7). The crazy thing is that the Mac SE STILL works! After all those years (even though it was kept in the best shape, no yellowing at all), that's just amazing! And what does that show?<br>That Macs are built to last (until a newer one comes out, hehe.) Unlike a pc that is done in 2 or 3 years. Am I right? If only pc users could understand...<br>They just literally don't understand how to use them or anything. Even though they are more user-friendly than a pc. And they think they are too expensive but even a baseline Macbook pro (quad-core i7 500gbt) compared to a pc with the same (which will never happen because pc's don't deserve that kind of hardware),<br>will equal about the same. So they aren't really overpriced. But, I never use pc's so it doesn't matter. Macs rule!
Our lineage of Macs sounds just about like yours. I remeber playing on my parents mac plus in the basement, later getting a Powerbook G4. We then got the iMac 5.1 I am using now, a Mac Book Pro, the ~5 iPods, iPod touch/ iPad/ iPhone. Now that I have been introduced to the power of an iMac and its ease of use, you are not going to see me switching to any windows computer anytime soon!
gonna be on my bedroom too =) (when i got married in 1.5 years or so =) )
This is pretty cool!
Um, wow.

About This Instructable




More by Modarius:Extreme Color Organ Necklace Joule Thief Miniaturization/ Enhancement of an RC transmitter &amp; Reciever Using Altoids!!! 
Add instructable to: