Coder Social home page Coder Social logo

fakylight's Introduction

FakyLight

Fancy backlight for an LG TV.

This is very much a work-in-progress. The hardware consists of several parts:

  • An LG tv (I have an LG 42UB820V), connected to a (W)LAN. There is no discovery, you'll have to make sure it has a fixed IP and adjust the source accordingly.
  • A Linux system somewhere to decode the images from the tv (doesn't have to be powerful, a raspberry pi suffices)
  • A string of WS2812s, attached to the back of said TV. Because this is very much a work-in-progress, the dimensions are currently a compile-time constant: 50 LEDs along the top, 28 along the sides. Pixels start in the lower left corner - I think...
  • Something that connects with the WS2812 string. Either a ESP8266 running NodeLua (I used a WEMOS D1 mini), or something like a Raspberry pi (which can be the same pi that runs the decoder).

If you decide to use a Raspberry Pi: Connect the WS2812s to the SPI MOSI pin, and use the ''stream_gpio'' binary. This may not work reliably with any ARM SoC, as it requires a decent DMA-driven SPI hardware module. The raspberry pi has one, the orange pi doesn't.

Decoder resides in the 'Faky++' directory (good luck), the NodeLua code for the ESP8266 can be found in ''NodeMCU_client''.

Note that this software uses a badly documented API on your TV, and currently uses a fixed authentication key. You might have to discover what the key for your system is. It's certainly not unique to every TV, but it might vary between models. Easiest way to figure it out is by using the "LG remote" app on your phone - use the code that is shown on the screen during that authentication process.

Obligatory sample screenshots: img_20181101_210556832 img_20181101_210624652 I created a video to show the latency I get using a WS2866 to serve the LEDs. It gets a hair tighter if you use a Raspberry Pi.

fakylight's People

Contributors

pienjo avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.