| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
"Christmas Light" LED signs are now ubiquitous! This is my quick and dirty attempt to make signs out of lightweight semi-flexible, addressable LED matrix boards. For use with Arduino compatible board and WS281x (Neopixel) or APA102 (DotStar) LEDs, and probably easily adaptable to other microcontrollers and LEDs.
I've built a version mounted on posterboard, and some water-resistant bag-mounted versions encased in vinyl too!
Cost: ~$80-120 if you buy everything retail, a lot less if you can buy bulk, do your own sourcing, or have some of the parts on hand!
Very basic hardware setup shown below: LED Matrix, a lithium battery, a Flora board, some JST SM connectors.

To keep things easy here I've tried to use as much off the shelf material as possible.
You need to install the Arduino IDE:
And some Arduino libraries:
And download the sample sketch neopixelsign.ino
(If you're using APA102 LEDs you'll want DotStar variations of the above)
These assume you are using WS2812 "Neopixels", but the process should be similar with an APA102 "Dotstar" Matrix and I've included an ino sketch for those as well!
Open the neopixelsign.ino in Arduino IDE
Install the Adafruit libraries, Sketch > Include Libraries > Manage Libraries, or unzip into your Arduino/libraries folder (more instructions how to install Arduino libraries)
In the Arduino IDE, edit the protest messages in the config area (and colors if desired)
// Put your messages here
char* slogans[]= {"NET NEUTRALITY!","OPEN + AFFORDABLE INTERNET","SAVE THE NET","DEFEND INTERNET FREEDOM","#SAVETHENET #NETNEUTRALITY"};
// And your RGB colors here
const uint16_t colors[] = { matrix.Color(255, 0, 0), matrix.Color(0, 255, 0), matrix.Color(0, 0, 255),matrix.Color(130, 0, 128),matrix.Color(0, 101, 200) };
Attach the DATA line of your LED matrix to one of your Arduino's digital pins (in the example we use Digital Pin 6, but you can change this) -- if you'd like you can add a 300 to 500 Ohm resistor. NeoPixel/WS2812 Best Practices
Upload the sample sketch to your microcontroller.
If you're using a USB power pack
If you're using a lithium battery (This assumes your micro controller has a connector for the battery and is robust enough to handle the output current needed to drive the matrix. Many are now designed with this in mind!)
Connect the LED matrix to your board's power output and ground.
Connect the lithium battery to your microcontroller board
Enjoy, create and share patterns of your own :-)
NOTE when you attempt to reprogram your Arduino, I suggest either unplugging the LED matrix or making sure to connect your matrix to external power / USB Battery, so the matrix is not powered by your computer's USB through the Ardunio (could cause unintentional damage).
| Back | FazBrowse Home | New Git URL |