Instructables

30 channel LED RGB Ambilight Clone

Picture of 30 channel LED RGB Ambilight Clone
unbemalt.jpg
This instructable is my new approach on an ambilight clone. It all developed from my first try. Here you can find the old instrucable, which is OUT OF DATE and only linked for historic purposes. You will not need anything explained in the old instructable.

Enough about that old one.

At the end of this instruction set you will have a low cost (?) ambilight clone, with as many channels as you like. I will, for instance, show you how to build a 30 channel LED TV light, which adapts to the colors of your screen. If you are impatient, checkout the last step of this tutorial to see the very low quality video.

Hardware you will need:

- LED RGB SMD strip
- Microcontroller (Arduino Duemilanove Clone for example)
- (Two) TLC5940 PWM Unit
- maybe a cooler or a heatsink
- 12V power supply
- a few resistors

- electronic stuff (cables, soldering iron, breadboard, ...)

Software it takes:

- Boblight
- Windows or Linux
- Programming Software for your micro controller

Skills you will need:

- ability to solder
- maybe the skill to think a little bit technically, so you don't ask that many questions here in the comments :-)

This project is perfect for users that didn't have to do anything with electronics yet, but want to make something useful and uncomplicated to get started with.
I promise, this project is realizable for everyone who has got the attendance to follow my instructions step by step. It is really easy and if you only have some electronic skills and this is not your first project, it is even easier and you can modify it as you like.

So let's get started...

First of all, I want to explain the main principle of the completed unit.

1. You connect a computer to your TV and to the ambilight unit via USB.
2. You start the Boblight software
3. You start a movie.
4. Boblight analyzes your screen image and calculates some mean values of specific areas of your screen
5. Boblight sends these color-values via USB to your ambilight unit.
6. The micro controller within that unit takes the received color-values
7. According to the values the micro controller changes the LED strip colors

Steps 4 to 7 will be repeated up to about 50 times / second until you tell Boblight to stop.
 
Remove these adsRemove these ads by Signing Up
1-40 of 100Next »
jlout2 months ago

Great tutorial. I have tried this tutorial and also bought 50xWS2801 LEDs and i must say the result was worse with WS2801 LEDs.

The
so called better resolution might be more accurate in analyzing regions
but they look so wrong and distinct. They just don't produce a nice
gradient effect like the LED strips (10cm-25cm) do. I also think WS2801
LEDs are not bright enough (that might be the reason why there are so
many youtube videos with 150+ LEDs producing 450 channels! Not enough
light).

On the other hand the WS2801 is really easy to setup. No soldering whatsoever.

Anyway once again great tutorial.

Now i will try with 3 TLCs for 48 channels.

nerd74732 months ago

Adafruit has something similar to this...

http://www.adafruit.com/product/461

ovlada4 months ago

Hi, GREAT TUTORIAL! I folowed everything as you said. I'm also using 30chanen, 10 stripes, 25cm per stripe, 2xTLC5940NT, arduino uno...Now I'm stocked on the step where I need to connect RGB stripes on out pins...but I do not know which one of my strip should be connected on first 3 pins of the first TLC5940NT...which one of my strip is going on out pins 4,5,6...and so one? Please help me, I will be greatefull! THX

Cody Johnson5 months ago

So I have everything setup and the sketch has been uploaded to the Arduino Uno. When I try to run boblightd.exe I get a error message " com1 : Permision Denied". Any suggestions?

If you are sure about COM PORT that you are using than I guess you need to put it betwen "". It should look like this "COM9"

hsharma295 months ago
​I'm new to this so i have couple of question

1...Do i need RGB LED strip with specific ICs or any RGB LED strip would work and if there are couple ICs please mention them. For Example :- 3528 or 5050

2...Can i use MPS430 Launchpad instead.

3...What is channel.
HippyNerd7 months ago
Its been a couple years since you posted this, I was wondering how this has worked out?
Im trying to build a similar setup, but I plan on using 3 5490s for 16 RGB channels (48 channels). Im using 12v strips with 2 sections of 3 LEDs from 60LED/meter strips. It should be 40mA @12v per channel. im hoping to avoid heat sinks. I too chose to use ethernet cables, they are so very convenient for this.
My parts list is pretty easy, 3 TLCs, 3 1k resistors, and 1 10k resistor, 8 sections of ethernet cable 16 sections of 6 LED strips.

I'm getting the same error com8: permission denied. Have you found a solution to this yet?

com8 sounds like a windows thing, I cant help you with that, I dont know about the permission denied, but maybe you have something else on com8, not the microcontroller.
There were no other comments listed when I posted my comment. Now its showing lots of comments, and I can see that the author no longer has their unit.

I did get mine built, and I ran shorter strips at 40mA. I did have a lot to trouble getting this code to work with my setup, but I was able go through the boblight files, and get things working. I set mine up on a 32" tv, and used much shorter strips, running lower current, and have no heating issues. I may re-do the strips to 3 sections running at 60mA, because I think it will look better, and hopefully, it will not run too hot.
J2host9 months ago
Thank you much, very well explained, easy to follow for my fist project, extremely happy with outcome on breadboard, only problem i had was using Boblight, figuring out how to get every color lit the same on every strip was daunting. Cudos my friend, Awesome tutorial.
Gabse9 months ago
Can i alsow play videogames?
acov1 year ago
Hi. I am new to electronics and i have one question.
Are this 390 resistors necessary for project to work? I can't find them, and online shopping sites don't ship to my country.
w1ll1am231 year ago
I fixed my problem. I was connecting to pins 13 14 and 15 not pins 1 2 and 3. For anyone that is wanting to test out just the hardware on their device there is a basicuse.pde in the tlc5940 folder under examples. It will flash RGB on all leds hooked up to the TLC5940. It also works with 1 or 2 TLC chips automatically.
w1ll1am231 year ago
Hello I am having some trouble testing this out. I have all the parts and I am trying to test out just one TLC chip that has two LED strips hooked up. I have tried this in linux and in windows. I don't get any errors in boblightd all seems to be fine there. In linux it is outputting the RGB colors in the terminal that it is setting but the LEDs don't come on at all. When i first plug in the arduino the LEDs flash if I don't have the 10k resistor hooked up but other than that I get no activity. Do you have a sketch that tests the hardware? Or any other advice?
I uploaded the basicuse.pde from the TLC examples folder and the LEDs work. So I am not sure what the issue is.
Hi, ledtvlight. thank you for this instruction. It was my first project with an arduino, and i felt very happy when run it on my computer.
Everything work fine, exept my led often blink. It s tire for eyes, how i can fix this?
Would you help me with this problem, please?)
I use simple LEDs - 5V/20mA, power from adruino 5V pin.
When I use only one LED all works without blinks.

The Arduino board cannot supply enough power. You need a driver.
mlopes81 year ago
For me to match the colors as wired in "breadbord diagram" and respecting what was labeled in my led strips I had to change config so that the 1st color (channel) was green, 2nd blue, 3rd red
mlopes81 year ago
For me to match the colors as wired in "breadbord diagram" and respecting what was labeled in my led strips I had to change config so that the 1st color (channel) was green, 2nd blue, 3rd red
mlopes81 year ago
Could you please write an arduino skech to test if the lights are working, cycling through colors. I would if i could but i dont understand arduino skechs
I have 2 monitors plugged into my pc and so was wondering can boblight react to just one monitor I specify/the main monitor.
drose251 year ago
I'm getting ready to wire up all of my led sections to the TLC5940 chips and I feel like I'm missing something here. I'm assuming that I wire up the sections based on their positions to the pin assignments in the boblight.conf file. E.g., pin "17" would be the Upper Right-Left section Red channel, which according to the Instructable should be the first channel on the second TLC5940 (I'm guessing pin 1), but the Blue channel for the same section is "16" in the boblight.conf file...is this pin 0 on the second chip? Because elsewhere it says we're not using pin 0 of the TLC5940s.

If someone who has this running can give me some quick guidelines on how the sections are wired to the TLC5940s, I'd greatly appreciate it.
Emrez31 year ago
I've experienced the same issue with my project and it was Widows 8 causing the incredible latency, like windows 7 aero situation boblight not working effectively with Windows 8. With Win 7, and aero disabled, all is fine now...
uysalmr1 year ago
everything good. I done this ambilight but Timeout is 15 seconds.I How I to fix it
ledtvlight (author)  uysalmr1 year ago
Within the source code I guess. I don't know what you mean exactly.
FrazK1 year ago
hi this is a great bit of kit and i found it really easy to build! thanks. only problem is i'd been tidying all the cables at the back with the HDMI unplugged before plugging it back in when the LEDs were running and they suddenly cut off. i'm guessing i've shorted something out somehow but i've no idea what? any ideas? thanks
ledtvlight (author)  FrazK1 year ago
Sometimes the backside of your TV is made of metal and connected to ground. Try to insulate and separate your LED-construction from your TV backside.
Emrez31 year ago
Hi,
I ve been working on this project for a while while waiting my necessary items form ebay.
And I wonder if the project will work if I use 470 ohm resistors instead of 390 ohm ones?
I will apriciate the answer :) Thank you.
ledtvlight (author)  Emrez31 year ago
No Problem.
Has anyone tried this project with Windows 8?
Kauppinen1 year ago
Thank you for your rapid response :) . Yes I have and the strip itself works, the arduino is also working( tried a for loop sequence that goes thru all the channels). I think the problem is in the boblight itself, could this be possible? Next I'm trying to see what kind of data arduino is getting from boblight with another arduino tracking it's feed to the tlcs. What kind of tricks do you have in mind when the problem is in the software?
Kauppinen1 year ago
Hi!

I started an ambientlight project few months ago. I have done the same steps as you have. My system is working fine except for one strip, it doesn't get the blue signal in. The address of the colour is ucon 22. Every other colour of all the strips work just as they should. The problem is not mechanical and the strip is working fine. Can you help me with my mysterious problem? My arduino is same as yours Duemilanove Atmega328.

Thanks
ledtvlight (author)  Kauppinen1 year ago
Have you tried the blue channel manually by setting it to 12V without any device just by plugging it into a power supply? If that is working I would try to write a little arduino sketch that only switches from one channel to another and see, if the problem is on your arduino, the devices after your arduino or on your pc.
coolclix1 year ago
Hi

Was anyone able to get their ambilight working with Mega 2560, I don't seem to get it working even after trying various connection. I am a n00b so would really appreciate any help.

thanks in advance
seifrei1 year ago
thanks for this tutorial. i have a general question:

If i understood you right, then each of your area (each stripe) can have only one color at a time. So your 10 areas shine with a maximum of 10 colors behind the screen?

I compared your solution to the adalight project, you posted the link somewhere in the comments. this solution uses 25 single LED pixel which can be controlled individually, so there are at max 25 different colors at the same time? This is done without the need of the TLC5940, just by connecting 3 wires to the arduino. How is that possible?

I am am little bit confused. In your project you have to wire each channel to an TLC5940 out. In summary you will have much more LEDs shining which gives you more brightness, but the adalight project gives you an higher resolution with just 3 wires?

Maybe you can shed light on this?

Thanks
ledtvlight (author)  seifrei1 year ago
Yes you are completely right. An adalight does the same and even more as you noticed. On adalight every single LED uses its own chip to decode the signal sent by another chip controlled by an arduino. You don't have to do anything on your own. If you only want a TV backlight just use it. But if I just wanted that I could have bought a Philips TV. But I wanted to learn, build, understand and so something on my own, so that's because I went this way.
akirby371 year ago
Great job on this instructable! Very well documented and easy to follow. I am actually going to use this as a basis for my own "Ambilight" unit.

Is this unit still functioning as intended though? I see that you installed a cooling fan, but it still seems like the TLC5940 chips would overheat regularly, especially when showing a bright white color.

Page 15 of the TLC5940 datasheet shows the power dissipation calculations. In order to stay within the 2.456W allowed by the chip, i would expect that your voltage on each of the 15 channels (per chip) averages out to no more than 1.5V. Is this true?

I understand if you don't feel like measuring that right now, but if you can say that it's still working as built, that's good enough for me! Maybe I'm reading the datasheet incorrectly? Thanks for the help.
ledtvlight (author)  akirby371 year ago
Hi, sorry I sold my unit and built another one that I sold, too. Both people still use their systems and they never complained about anythin.

I don't have any of these on my own any more and I'm not going to build another one. As I say to everyone, if you just want an Ambilight, just build Adalight's solution. If you want to build something and learn about electronics try my tutorial.
sonof2 years ago
I got Boblight to run after I modified output from com3 to "com3". However, I still don't see any light. I'll need to test more.
1-40 of 100Next »