Make your own Ambient Lighting with the Raspberry Pi Zero

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video I will show you step-by-step how to add an ambient lighting effect to your TV which definitely enhances the viewing experience while watching your favorite YouTube videos all while playing games let's get started the star of this builds is the lights on itself which is an APA a 102 LED strip with 60 LEDs per meter by simply applying five poles from a lab bench power supply to its 5 volt and ground pin connecting the data pin to pin 3 and the clock pin to pin 14 of an Arduino Nano and uploading a simple test codes the first 60 LEDs light up white and reveal that the LED strips requires around 2.7 amps per meter since I will need up to 4 meters of the strip for 55 inch TV that would equal a total current draw of 10.8 amps but since I later reduce the maximum brightness to 75% the measured maximum current draw was only around 5.8 amps that is why a 5 volt 8 and power supply of what enough power for all of the components and speaking of components they're actually quite a lot of them necessary for this kind of project and I will talk about each one in a second but as always you can find a parts list and additional information as always in the video description now before attaching the LED strip we need to prepare the Raspberry Pi 0 for that we need a micro SD card which we firstly plug into a computer in order to download the light version of raspbian and extracting it onto the SD card with the help of the win32 disk imager and then we can plug the card into the PI afterwards I connected an HDMI compatible screen and an USB on-the-go adapter to the PI in order to hook up a USB hub and thus a Wi-Fi dongle and keyboard after powering the PI and the insulation of the parading system was complete I logged in as user per year with the password raspberry open the raspberry configuration in order to activate SSH and open the network configuration in order to add the SSID and password of my wireless network after activating the Wi-Fi connection the dongle should blink and thus the preparation of the PI was complete and it was time to mount the components to the backside of the TB we started with the LED strip in the down right corner measured the appropriate length and currents then we created the same length for the opposite sides and repeated this procedure for the upper and lower side of the TB afterwards we continuously remove the protective tape of the LED strip and pressed it onto the TV year so that the adhesive would stick properly but while doing that make sure that the error on the strip completes a clockwise or anti-clockwise rotation once the LED strips were mounted I use small pieces of solid wire to connect the last clock outs and data out of each trapeze to the following clock in and data in afterwards we prepare the power supplier by creating two pieces of welco tape according to its size securing them to it attaching the complementary velcro tape to the TV and pushing the supply onto it for the wiring we use the distribution box which we mounted to the TV year booth well CRO tape as well right before we pushed a 3 x 1.5 square millimeter wire with attached plug into it afterwards we added the Vargo terminal to each wire room directed the input wires of the power supply into the box and hooked up each one to one phase next we added another distribution box to the TV in which the five would output of the power supply will be distributed to do that though I firstly soldered as 0.75 square millimeter wire to each 5 volts and ground pin of the 4 strip pieces afterwards we used hot glue to secure the wire to the TV and guided it to the box so that we could connect it to the 5 volts and ground bucket once the LED power wiring was complete we use welco tape to mount the Raspberry Pi to the TV and saw the wire for ground 2.6 and the wire for 5 volts to pin 2 which then got hooked up inside the second distribution box the only two wires left for the pi we're on p19 for the first data in pin of the LED strip and pin 23 year for the first clock and pin then we secured the USB hub would plug 10 USB Video Grabber and Wi-Fi dongle to the TV as well as the USB on-the-go adapter afterwards the input of the grabber connects to an AV cable which on the other side connects to the outputs of an HDMI to AV converter obviously we secure this converter and the AV cable to the TV and mounted an HDMI splitter to the other side of the TV this splitter will receive the HDMI signal from your preferred entertainment system and provides it for the TV to display and the HDMI to AV converter which then provides it for the PI to process and if you're confused this diagram should explain the wiring connections pretty well after connecting the power input of the splitter to the 5 volts and ground terminal of the second distribution box the hardware part of this project was completes and it was time to bring the TVA in its original position for the software porridge I firstly downloaded and opened the hi pecan Hyperion configurator then I determined the IP address of the PI by using the information provided by the router and use this IP address to establish an SSH connection through the hyper contour now all I had to do was to click install Hyperion and wait for roughly 5 minutes until the SSH lock presented a successful installation text afterwards I chose the utilized led type typed in the amount of them on all of the sides adjusted the offset so that the first LED is in a down right corner increase the update frequency to 30 Hertz decrease the luminance gains to 75 percent and activated the gravure after creating the configuration file I uploaded through the SSH connection started Hyperion which now should present a rainbow school behind the TV and immediately noticed that the red and blue color was switched so I changed that in the configuration file upload it again and took a screenshot of what my TV currently displays by adjusting the crop on all the sides I slowly and carefully remove the black border of the screenshots but once that was done the ambient lighting did not react to the image and the SSH lock presented error messages the problem was the grabber itself which uses an SDK one one six o chipsets the solution is to use another grabber which utilize the UTV gyro seven chipsets after plugging it in the LEDs finally reacted to the image displayed on the TV to end this project we adjust the colors of the LEDs with different example pictures but there is definitely enough information about this process on the wiki sides of the hyperion software and for the final enhancement we also downloaded the Hyperion app for Android in order to control the LEDs and even play some interesting animations I hope you liked this project if so don't forget to Like share and subscribe stay creative and I will see you next time
Info
Channel: GreatScott!
Views: 512,781
Rating: undefined out of 5
Keywords: ambient, lighting, ambilight, clone, diy, how to, tutorial, raspberry pi, zero, APA102, led, strip, spi, usb, video, grabber, hdmi, source, hdmi 2 av, converter, guide, project, make, hyperion, hypercon, configuration, UTV007, STK1160, SSH, ssh, hue, light, electronics, greatscott!, greatscott
Id: JvcR2td1Cso
Channel Id: undefined
Length: 8min 12sec (492 seconds)
Published: Sun Dec 18 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.