Introduction: Ambilight for Non Addressable RGB Leds [Using Arduino]

Picture of Ambilight for Non Addressable RGB Leds [Using Arduino]

first of all .. if you don't know what Ambilgiht is Check Ambilgiht Phillips

check out my other tutorial if you don't have an arduino TUT

since it's the same rgb led and same 3 transistors i used before why put arduino to work ?

the answer is because with arduino you can control the colors for whatever your needs is .. static background or ambilight effect even for music vu meter ..

many thanx to the makers of amblone and ambibox you can do almost the same effects for your pc screen

stuff you need :

.1 your pc and screen.

.2 RGB led strip [Common Anode].

.3 Arduino mega [up to 4 channels], or arduino uno [up to 2 channels], i used the uno r3.

.4 Arduino usb cable, and arduino environment to upload the code .

.5 x3 NPN transistors for each channel, i used bd543c, it's big enough for around 5.5m of the strip.

.6 some wires, a cutter and a wire stripper .

.7 12v+ and 12v- for led strip.

this instructable will show you how to do a 1 channel, you can do more up to 4 sides with Arduino Mega and 12 transistors for all the channels .

Step 1: Client Software on Pc

Picture of Client Software on Pc

on your pc you have two options to scan your pixels and send the colors to your arduino

either you use the amblone software found at amblone

or you can use ambibox found at Ambibox

both are great software and works perfectly ..

personally i use ambibox because i can edit allot about the led colors .. and amblone gives a small lag on my pc

if you download amblone and install it make sure to check the arduino com port which is usally com3

and select channels as you need ..

if you download ambibox and install it choose your device to amblone then click more setting and select the port to com3 or whatever port your arduino drive is connected to ..

for the areas of capture you have atleast 1 square to check .. i selected it to fulfill the screen.. u can do whatever you need :)

now let's copy our C code to arduino ..

Step 2: Arduino Code

Picture of Arduino Code

first .. you need to have downloaded and installed the drivers available at arduino

next .. connect you device with usb and open Arduino environment

now download the code file from amblone

make sure to download the right software depending on you having an uno or mega or any other arduino devices ..

last .. open the file with Arduino environment and hit upload .. make sure that it upload successfully.

if you get any errors then you didn't download the right code .. :)

now let's head to the wire connections ..

Step 3: Wire Connections

Picture of Wire Connections

in my case im only using one channel so im gonna use only 3 pins out of the arduino which are pin 3,5,6 sorted as R,G,B

if you are using more channels here all the pin ..

1st channel = 3,5,6

2nd channel = 9,10,11

only 2 channels on the uno

check the code for more than 2 channels on other devices ..

for the first transistor connect it's base to pin 3 red

it's collecter gets connected to the red pin on the led

and it's emitter to the 12v- [ground]

do the same for the other 2 transistors

apply the 12v+ to the common anode of the led.

that's about all .. check the results ..

Step 4: Result..

here is my setup .. 1 channel .. around 5.5m led strip .. one pixel on ambibox on the whole screen.. and allot of configuration on ambibox ..

also if you like my vu meter leds that react to sound check out wndlpt

Comments

LuckaZ (author)2016-06-07

hi, i would like to ask how much amblone load CPU (percent), i would like to use 1 channel on my htpc but i have only intel atom processor. thanks

alexcrtn (author)2016-02-07

Is it possible with Hyperion to do the same kind of system ? Like 4 channels leds for example ?

h0uri (author)alexcrtn2016-02-08

i haven't tried Hyperion but i believe that u can't, since it works with digital Leds like the ws2801 which I've made a tutorial on but for the arduino .. check it out .. :)

amberrayh (author)2015-01-28

Wow, that's pretty cool! Thanks for sharing!

seamster (author)2015-01-28

Nicely done!

Thanks for sharing this great tutorial. Welcome to intructables, by the way!

About This Instructable

6,886views

46favorites

Bio: Computer Engineering @ASU in JO.
More by h0uri:Remote Hardware MonitorAmbilight DFMirage [super fast screen capture and processing]Audio Spectrum Software [C#]
Add instructable to: