Old TV Ambient LED Light With Kodi

by dominik.elektricar in Circuits > LEDs

6453 Views, 52 Favorites, 0 Comments

Old TV Ambient LED Light With Kodi

20171216_052854.jpg
Upgrade old TV to ambilight

That is an instructable about low budget ambient light. I use Banana pi for Kodi because it is faster, but you can simply install it to the Raspberry pi.

Get All the Parts

1. 12v DC Power supply - 17.85 USD

https://www.ebay.com/itm/DC-12-24V-Power-supply-2-...

2. 5A Step down conventer - 5.13 USD

https://www.ebay.com/itm/5A-Auto-Boost-Buck-Step-U...

3. Banana Pi M3 - 79.99 USD

https://www.ebay.com/itm/BPI-M3-Banana-Pi-M3-A83T-...

4. Raspberry Pi 3 Model B -42.50 USD

https://www.ebay.com/itm/Raspberry-Pi-3-Model-B-Qu...

5. Led strip WS2811 - 12.50 USD

https://www.ebay.com/itm/5M-Waterproof-WS2811-IC-5...

or WS2812B Led strip - 21.36 USD

https://www.ebay.com/itm/WS2812B-5050-RGB-LED-Stri...

Tools:

1. Soldering iron

2. Some wires

Mount the Led Strip

20171216_043532.jpg
20171216_043519.jpg
20171216_045302.jpg

You can use the WS2811 or WS2812b led strip. The WS2811 runs on 12VDC. The WS2812b run on 5VDC. I use the WS2811 because of the 12v power supply.

First glue the led strip on the back of you TV, pay atention on the direction of the led strip. You have six wires to coonect:
VCC - go to +12V powwer suply.
DIN - data in go to the Raspberry Pi GPIO pin 18.
GND - go to ground on the power supply

VCC out - go to the +12V on the next led strip
DOUT - go to the DIN on the next led strip
GND out - go to the GND on next led strip

and so on...

Prepare the Banana Pi

20171216_050658.jpg
20171216_050722.jpg

The first step is download the Android image for Banana pi and install it to eemc. I use the Banana pi because it is a lot faster from the Raspberry, but you can install Kodi to the raspberry pi.

After burning the image install Kodi and Autostart, the autostart app is used yust to start Kodi on startup.

Run Kodi and go to:
Settings > Add-ons > Install from respitory > Kodi respitory > Services > Kodi Boblight
and press install.

After installation pres configure and enter the IP adress from the raspberry pi.

Wire Everything Together

Bez naslova.jpg
20171216_040941.jpg
20171216_042741.jpg
20171216_045232.jpg
20171216_044557.jpg
20171216_045238.jpg
20171216_044549.jpg
20171216_050459.jpg

I frst added a usb port to my step down converter and a connector for my banana pi. After thath connect the led strip and stepdown converter to the power suply.

Connect the power suply to line and check the output voltage on the power suply and the step down converter.

Power suply output voltage is 12V, stepdown converter voltage is 5V.

If everithin works unplug the power suply and connect the Banana pi and the Raspberry pi to the power suply and to the ethernet switch. The led strip DIN wire go to the Raspberry pi GPIO pin 18.

Prepeare the Raspberry Pi

20171216_045335.jpg
20171216_045416.jpg
20171216_045428.jpg

Download and install Raspbian. After that is done go to Boot folder and add a new text document and rename it to "SSH" and delete the extension.

Set Up the Software

20171216_050945.jpg
20171216_051013.jpg
20171216_051025.jpg
20171216_051031.jpg
20171216_051038.jpg
20171216_051810.jpg
20171216_051858.jpg
20171216_051046.jpg
20171216_051051.jpg
20171216_051718.jpg
20171216_051845.jpg
20171216_051904.jpg
20171216_051918.jpg

Download and install HyperCon from the link below:
https://sourceforge.net/projects/hyperion-project/

Go to Hardware and set the type to WS281x(RPi3) and enter amount of the led's.

Then go to process and enable smoothing.

After that go to Grabber and enable internal frame graber.

Then go to External and enable Kodi Checker and enter the IP adress from the Banana pi and enable Boblight.

Press save and then press Create Hyperion Configuration and save it.

Go to SSH, enter raspberry pi IP adress, username, password abd hit connect. After you pc is connected pres install Hyperion wait about 5min. to the mesage rebooting. Then press Local Config Path and choice your Hyperion Configuration and pres Send Config. After thats done pres Start and you Led strip shoud light up.

Apps

20171215_153022.jpg
20171216_052603.jpg
Kore-Remote-Control.jpg
hyperion_app_whitelevel.jpg

If everithing is working you can use you Android phone an install app that also can control the led srip

"Hyperion Free"

and app for controling the Kodi remotly

"Kore"

Thanks and sorry for my bad English