Last Updated on 15. October 2026 by SuffocationLink status: OK
Eine 8X8 LED Matrix in Rot.
For the D1 mini ESP8266 and ESP32, go here:
- Preview – W600-Pico V1.0.0 1MB FlashLink status: OK
- Wemos C3 MiniLink status: OK
- (Wemos) D1 ESP32Link status: OK
- Wemos D1 Mini Pro (V1.1.0)Link status: OK
- Wemos D1 MiniLink status: OK
Facts
- 8X8 LED Matrix (ein Feld)
- Daten- und Taktleitungen sind fix und können nicht über Lötbrücken eingestellt werden
| Description | Name | GPIO |
|---|---|---|
| Tact | CLK | 14 |
| Data | DIN | D7 |
SchematicLink status: OK
Compatibility
| D1 Type | Compatible | Begründung, wenn nicht |
|---|---|---|
| D1 mini | Yes | |
| D1 mini Pro | Yes | Untested |
| D1 mini Lite | Yes | Untested |
| D1 32 | Yes | Evtl. D5 und D7 definieren, siehe Probleme |
S2 mini | Yes | Untested |
| C3 | Yes | Untested |
Areas of application
- Display of simple information
- Demos like smileys
Views


Programming
Libraries
Ich habe die Bibliothek der D1-Hilfeseite verwendet und die .h und .cpp Datei in das Projektverzeichnis kopiert.
https://github.com/wemos/WEMOS_Matrix_LED_Shield_Arduino_LibraryLink status: OK
Arduino ESP32 Library V2.0.2
Arduino ESP8266 Bibliothek V3.0.2
Test programme
Ich habe mal ein eigenes Programm geschrieben, es sind aber auch zwei auf der Hilfeseite des Herstellers verfügbar.
Source code JustSmile.ino (GitHubLink status: OK)
/** Example show dot from WEMOS for D1 Mini with LED 8x8 Matrix shield
*
* Initial example from:
* https://github.com/wemos/WEMOS_Matrix_LED_Shield_Arduino_Library
*
* Libraries:
* https://github.com/wemos/WEMOS_Matrix_LED_Shield_Arduino_Library
*
* Changed by
* S. Fambach
*
* Visit https://www.fambach.net if you want
*/
#include "WEMOS_Matrix_LED.h"
MLED mled(5); //set intensity=5
#define ROW 8
#define COL 8
#define SWITCH_DELAY 1000
void setup() {
// put your setup code here, to run once:
}
void clear(){
for(int y=0;y<ROW;y++)
{
for(int x=0;x<COL;x++)
{
mled.dot(x,y,0);//clear dot
}
}
mled.display();
}
void drawEyes(boolean winkL, boolean winkR){
// left eye
mled.dot(1,6, winkL ? 0:1 );
mled.dot(2,6, winkL ? 0:1 );
mled.dot(1,5);
mled.dot(2,5);
//right eye
mled.dot(5,6, winkR ? 0:1);
mled.dot(5,5);
mled.dot(6,6, winkR ? 0:1);
mled.dot(6,5);
}
void drawHappyMouth(){
// mouth
mled.dot(1,2);
mled.dot(2,1);
mled.dot(3,1);
mled.dot(4,1);
mled.dot(5,1);
mled.dot(6,2);
}
void drawAngryMouth(){
// mouth
mled.dot(1,1);
mled.dot(2,2);
mled.dot(3,2);
mled.dot(4,2);
mled.dot(5,2);
mled.dot(6,1);
}
void pixelIt(){
for(int y=0;y<8;y++)
{
for(int x=0;x<8;x++)
{
mled.dot(x,y); // draw dot
mled.display();
delay(200);
mled.dot(x,y,0);//clear dot
mled.display();
delay(200);
}
}
}
void loop() {
clear();
// smile with open eyes
drawEyes(false,false);
drawHappyMouth();
mled.display();
delay(SWITCH_DELAY);
// wink left
drawEyes(true,false);
mled.display();
delay(SWITCH_DELAY);
// wink right
drawEyes(false,true);
mled.display();
delay(SWITCH_DELAY);
// close eyes
drawEyes(true,true);
mled.display();
delay(SWITCH_DELAY);
//look angry
clear();
drawEyes(false,false);
drawAngryMouth();
mled.display();
delay(SWITCH_DELAY);
}
Problems
Pins D7 and D5 unknown
Beim Kompilieren für den D1 ESP32 hatte ich das Problem, dass die Ports für D nicht definiert sind. Ich habe diese kurzerhand in der Headerdatei der Wemos Bibliothek definiert.

Conclusion
Nette Spielerei und einfacher Einstieg in LED-Matrizen.
More posts
Other Shields
- D1 Mini Shield – Prototyp-PlatineLink status: OK
- D1 Mini Shield – RGB LED (Einzeln)Link status: OK
- D1 Mini Shield – RGB LEDLink status: OK
- D1 Mini Shield – PIR (Bewegungssensor)Link status: OK
- D1 Mini Shield – HR8833 MotorLink status: OK
- D1 Mini Shield – AT8870 MotorLink status: OK
- D1 Mini Shield – SG30 LuftqualitätsmessungLink status: OK
- D1 Mini Shield – I2C ConnectorLink status: OK
- D1 Mini Shield – Oled 64×48Link status: OK
- D1 Mini Shield – Buzzer (Pipser)Link status: OK
More ESPs
- October Check 2026 – Neue Mikrocontroller und BoardsLink status: OK
- Ulanzi TC001 Smart Pixel ClockLink status: OK
- ESP WEB Serial LibraryLink status: OK
- ESP32-C3 Seeed Studio XIAOLink status: OK
- ESP32-C3 Super Mini BoardLink status: OK
- Preview – LuatOs ESP32-C3 BoardLink status: OK
- ESP32 Bluetooth GamepadLink status: OK
- ESP01 – DHT11 Temperatur und Feuchte Sensor PlatinenLink status: OK
- ESP01 Relay BoardsLink status: OK
- ESP8266/32 WiFi Manager.Link status: OK
Sources
Sources for the Shield
Manufacturer's websiteLink status: OK
Sources for the boards
Manufacturer's websiteLink status: OK
SchematicLink status: OK
CH340 USB DriverLink status: OK
https://arduino-projekte.info/wemos-d1-mini/Link status: OK
https://www.exp-tech.de/plattformen/esp8266/entwicklungsboards/8898/wemos-d1-miniLink status: Broken
| Date | Change | Author |
|---|---|---|
| 15.10.2026 | Beispielcode als Code-Block eingefügt (Einbettung über gist-it.appspot.com funktionierte nicht mehr) | Suffocation |
| 08.10.2026 | Überschriften-Hierarchie korrigiert (H1→H2, Unterebenen eine Stufe tiefer) | Suffocation |
| 04.10.2026 | Rechtschreibung korrigiert: Tippfehler, Groß-/Kleinschreibung, Kommas | Suffocation |
| 03.10.2026 | Log-Liste eingefügt | Suffocation |
| 08.04.2022 | Post created | Suffocation |