Arduino Led Matrix 8x7 WS2811: Difference between revisions
From wikiluntti
Line 24: | Line 24: | ||
=== Debugging === | === Debugging === | ||
< | <syntaxhighlight lang="C"> | ||
void setup() { | void setup() { | ||
Serial.begin(9600); // open the serial port at 9600 bps: | Serial.begin(9600); // open the serial port at 9600 bps: | ||
Line 30: | Line 30: | ||
Serial.print(); | Serial.print(); | ||
</ | </syntaxhighlight> |
Revision as of 21:21, 30 July 2021
Introduction
Make a 7x8 led matrix using WS2811 led strips.
Theory
Building the box
Wiring
Be careful to wire +5V to +5V (I broke one led). Soldering the leds is manageable: add the solder to both the led connector and to the wire, the attach the wire to the led connector and warm it using the soldering iron.
-
Programming. No +5V is needed.
-
Running only.
Programming
- See the gist file for a sample code to show some letters: https://gist.github.com/markkuleino/65c1d48b05597e7f92b15a47b3d49435
- The 7x8 font https://github.com/ileskanRepot/Arduino_RGB_WS2811_8_leds/blob/master/wave/wave.c/letters.h
- Turn the bits on randomly https://gist.github.com/markkuleino/294b4248aa3d154f179ef8b6f625ac40.js
Debugging
void setup() {
Serial.begin(9600); // open the serial port at 9600 bps:
}
Serial.print();