Halloween Forum banner
1 - 2 of 2 Posts

·
Registered
Joined
·
58 Posts
Discussion Starter · #1 ·
I searched the forum for "LED, programmable," and "2812" (the
industry name for strands of programmable LED lighting), but
found nothing.

I'm envisioning having some exterior lighting using Arduino
programmable, WS2812B LED lighting, but including a simple
web interface allowing drivers-by the choice of picking a color
from a color space picker and changing the color on a strand
of WS2812B LEDs.

The 2812s are all over Amazon and eBay.

On GITHUB I have found a number of projects that address how
to make the transition from cellphone-web-interface-to-computer-
to-changing-colors-on-the-Arduino-and-its-2812-strip:

https://github.com/DanNixon/ArduinoRGBLighting
https://github.com/sirleech/Webduino

sirleech's URL even links to a GoogleDocs presentation that
addresses security. Security's a big thing with this kind of project
because of the need to communicate data across the web, to a
server, and ultimately into my computer or an Arduino Ethernet
shield. If someone doesn't know what they're doing, the gates
are open to attract some URL SQL injection attacks. This
implementation uses GET and POST, and doesn't access any
databases, so the security is more robust. Still, caution is
important--so is education.

I'm wondering if anyone in HF land has done this and can share
hints and tips learned. If not, maybe I need to be posting some
stuff as I go.

Thanks.
 

·
Registered
Joined
·
124 Posts
You might want to have a look at FPP. There is a test mode that lets you select a color from a color picker just as you mention. I added this to FPP a few months back after needing something like this for our (WS2811-based pixel strip) kitchen under-cabinet lighting. You can see some videos of it in action here. You can also drive two strings of WS2811 (WS2812 uses the same protocol) pixels directly from the Pi GPIO ports or use any number of the other supported outputs (sACN e1.31, DMX, etc) with the appropriate controller hardware.

The only issue I would be concerned about is that FPP isn't designed to sit at the edge of your network, so you would need to build in some protection to sanitize the inbound API requests through some type of external application proxy.
 
1 - 2 of 2 Posts
Top