Arduino Led Matrix 8x7 WS2811: Difference between revisions

From wikiluntti
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


Make a 7x8 led matrix using WS2811 led strips.
Make a 7x8 led matrix using WS2811 led strips.
<youtube>
fs73YUW-ojk
</youtube>


== Theory ==
== Theory ==
Line 17: Line 21:


== Programming ==
== Programming ==
The programs are in the github:


* See the gist file for a sample code to show some letters:  https://gist.github.com/markkuleino/65c1d48b05597e7f92b15a47b3d49435
* 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
* 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
* Turn the bits on randomly https://gist.github.com/markkuleino/294b4248aa3d154f179ef8b6f625ac40
* Scrolling letters https://gist.github.com/markkuleino/ab8b2895274c98e61e2cf11834ff8583


=== Debugging ===
=== Debugging ===
Line 28: Line 35:
   Serial.begin(9600); // open the serial port at 9600 bps:
   Serial.begin(9600); // open the serial port at 9600 bps:
}
}
 
void loop(){
Serial.print();
Serial.print();
}
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 10:43, 31 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

The programs are in the github:

Debugging

void setup() {
  Serial.begin(9600); // open the serial port at 9600 bps:
}
void loop(){
Serial.print();
}