I built a 10×6 LED-Matrix with the great RGB LEDs WS2812B. The whole matrix is controlled only by one pin of an Arduino Nano V3.0.
I integrated Bluetooth functionality to change the running text from the smartphone. The housing is made of plywood.
I used the following parts in this project (the prices can be different in the future):
|60x RGB LED WS2812B (as 1 Meter strip)||~ 7 Euro|
|1x Arduino Nano V3.0||~ 5 Euro|
|1x Bluetooth Module HC-05||~ 5 Euro|
|1x Power supply 5V 3A||~ 10 Euro|
|1x Adapter for Power Supply (e.g. micro USB)||~ 1 Euro|
|1x Capacitor 1000μF||–|
|1x Resistor 470Ω||–|
|Plywood sheets||~ 2 Euro|
|Total||~ 30 Euro|
The electric circuit is pretty simple. I just split the led strip into six parts and connect the ending to each other (see picture below).
You can also see the 100μF capacitor and the 470Ω resistor which protect the LEDs. In the original LED matrix I also add a switch to turn off the power, but this is not necessary.
The housing is made of plywood painted later with black paint.
I use three libraries from Adafruit to control the LEDs:
If you don’t know how to install libraries in the Arduino IDE, you can follow this guide.
I implemented this following seven functions:
- vertical color gradient from top to bottom
- square color gradient from inside to outside
- scrolling text from right to left
- random Tetris show
- random snake show
- colored spiral
- crossing lines
You can find the whole Arduino source code on my GitHub repository: https://github.com/techniccontroller/LED-Matrix_WS2812B
For changing the text I wrote a small Android App, but you can probably use any other Bluetooth app too. You just need to send the following string to the Bluetooth module:
to show the text Hello World! on the LED-Matrix.
The first three letters (“new”) will be cut off in the Arduino code.
Here is a nice tutorial on how to write your own app: https://examples.javacodegeeks.com/android/core/bluetooth/bluetoothadapter/android-bluetooth-example/