Commandé les jours ouvrables avant 14:00 = expédié le jour même. 30 jours pour changer d’avis 1 an de garantie

Schéma de câblage et exemple de code

Voici comment connecter le Matrice LED RGB 8x8 de 64 LED 5V WS2812b à un Arduino UNO ou à un ESP32, avec un exemple de sketch que tu peux téléverser directement.

Démo matrice LED RGB WS2812B 8x8

Ce projet présente une matrice LED RGB adressable WS2812B 8x8 connectée directement à un Arduino Uno. Le sketch initialise les 64 LEDs et affiche un motif de couleur rotatif sur la matrice à un niveau de luminosité sûr. Connectez les broches 5V, GND et DI comme indiqué pour tester votre matrice en quelques minutes.

Schéma de câblage : Matrice LED RGB 8x8 de 64 LED 5V WS2812b sur un Arduino UNO
Schéma de câblage · Cliquez pour agrandir
Tableau de câblage : Matrice LED RGB 8x8 de 64 LED 5V WS2812b sur un Arduino UNO
Tableau de câblage · Cliquez pour agrandir
8x8_WS2812B_RGB_LED_Matrix_Demo.ino · compilé et testé
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : 8x8 WS2812B RGB LED Matrix Demo
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : 8x8 RGB 64 LED Matrix 5V WS2812b
 *  Libraries : Adafruit NeoPixel 1.15.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include <Adafruit_NeoPixel.h>

#define LED_PIN   6
#define LED_COUNT 64

Adafruit_NeoPixel matrix(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);

// Converts (x, y) coordinates to pixel index (serpentine layout)
uint16_t getPixelIndex(uint8_t x, uint8_t y) {
  if (y % 2 == 0) {
    return y * 8 + x;
  } else {
    return y * 8 + (7 - x);
  }
}

void setup() {
  Serial.begin(115200);
  matrix.begin();
  matrix.setBrightness(30); // Keep brightness low when powered from Arduino 5V
  matrix.show();            // Turn off all pixels
  Serial.println(F("WS2812B 8x8 LED Matrix ready!"));
}

void loop() {
  static uint16_t hueOffset = 0;

  for (uint8_t y = 0; y < 8; y++) {
    for (uint8_t x = 0; x < 8; x++) {
      uint16_t pixelHue = hueOffset + ((x + y) * 65536L / 16);
      uint32_t color = matrix.gamma32(matrix.ColorHSV(pixelHue));
      matrix.setPixelColor(getPixelIndex(x, y), color);
    }
  }

  matrix.show();
  hueOffset += 500;
  delay(20);
}

Bibliothèques nécessaires : Adafruit NeoPixel 1.15.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Démo Arc-en-ciel matrice LED RGB WS2812B 8x8

Ce projet pilote une matrice LED RGB WS2812B 8x8 à l’aide d’un ESP32. Il fait défiler des motifs arc-en-ciel colorés sur les 64 LED adressables individuellement. La luminosité est réglée bas afin de garantir un fonctionnement sûr directement via l’alimentation USB.

Schéma de câblage : Matrice LED RGB 8x8 de 64 LED 5V WS2812b sur un ESP32 DevKit V1
Schéma de câblage · Cliquez pour agrandir
Tableau de câblage : Matrice LED RGB 8x8 de 64 LED 5V WS2812b sur un ESP32 DevKit V1
Tableau de câblage · Cliquez pour agrandir
WS2812B_8x8_RGB_LED_Matrix_Rainbow_Demo.ino · compilé et testé
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : WS2812B 8x8 RGB LED Matrix Rainbow Demo
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : 8x8 RGB 64 LED Matrix 5V WS2812b
 *  Libraries : Adafruit NeoPixel 1.15.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include <Adafruit_NeoPixel.h>

#define LED_PIN    4
#define LED_COUNT  64
#define BRIGHTNESS 30

Adafruit_NeoPixel matrix(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  Serial.begin(115200);
  matrix.begin();
  matrix.setBrightness(BRIGHTNESS);
  matrix.show();
  Serial.println("WS2812B 8x8 Matrix Initialized");
}

void loop() {
  // Rainbow cycle across the matrix
  for (long firstPixelHue = 0; firstPixelHue < 5 * 65536; firstPixelHue += 256) {
    for (int i = 0; i < matrix.numPixels(); i++) {
      int pixelHue = firstPixelHue + (i * 65536L / matrix.numPixels());
      matrix.setPixelColor(i, matrix.gamma32(matrix.ColorHSV(pixelHue)));
    }
    matrix.show();
    delay(15);
  }
}

Bibliothèques nécessaires : Adafruit NeoPixel 1.15.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

Matrice LED RGB 8x8 de 64 LED 5V WS2812b

Matrice LED RGB avec 64 LEDs adressables WS2812b.

Fonctionne en 5V et peut être contrôlée via Arduino, ESP8266 et ESP32.

 

Dimensions
Longueur : 6,5 cm
Largeur : 6,5 cm
Hauteur : 0,3 cm

  • Éclairage RGB
  • LED WS2812b
  • Adressable
  • Matrice 8x8

Pourquoi choisir ce produit ?

  • 64 LED adressables – Pour un affichage RGB dynamique.
  • Fonctionne en 5V – À connecter avec une alimentation 5V.
  • Convient pour Arduino – Également utilisable avec ESP8266 et ESP32.
  • Format compact – Seulement 6,5 x 6,5 x 0,3 cm.
Spécifications
Alimentation5 V
Largeur6,5 cm
Résolution8 x 8
Convient pourArduino, ESP8266 et ESP32
Longueur6,5 cm
TypeWS2812b
Hauteur0,3 cm

Avis

★★★★★ 5,0/5 1 avis
  • ★★★★★LBLM LBLMAchat vérifié

    Conforme à ma commande

Rédiger un avis
Votre note

Livraison & retours

Livraison

  • Colis avec suivi€ 6,353 jours ouvrés
  • Colis avec suivi€ 8,053 jours ouvrés
  • Colis avec suivi€ 9,153 jours ouvrés
  • Colis avec suivi€ 10,153 jours ouvrés
Tout sur la livraison

Retours

Pas satisfait ? Tu as 30 jours après réception pour renvoyer le produit.

Tout sur les retours

Récemment consultés