I got this fancy rgb led strip with remote from some online seller.
Control rgb led strip with raspberry pi.
Cut it down to pieces and soldered wired on corners.
Now you can do many nice stuff from node js play with the colors.
The amp will come with two short connectors for the led strips.
For this the brightness of a color is set in a range from 0 off to 255 full brightness.
Connect 3 gpio pins gpio 4 5 6 are a good choice to the r g b inputs of the amp with three male female jumper leads.
The good thing is that each led can be addressed individually and any rgb color is possible.
Connect and control ws2812 rgb led strips via raspberry pi if you are looking for rgb led strips you will probably come across the ws2812 or the ws2801.
In conclusion it s not that hard to wire a rgb strip light to a raspberry pi and to control it from node js.
These two led strips are very different but both can be controlled with the raspberry pi.
The library requires the spi bus which we have to activate if not already done.
Remotely control an rgb led with a raspberry pi.
The led strip can now be tested using the pigpio software.
Things used in this project.
Sudo pigpiod starts pigpio.
This special raspberry pi ws2801 library includes some functions for controlling the individual leds.
Connect the 5v pin of your pi to the 12v input of the amp with a male female jumper lead.
To control the led strip we use a python library from adafruit.
Intermediate full instructions provided 6 hours 1 104.