Компактна 8x8 RGB LED матрица с 64 адресируеми WS2812b светодиода за Arduino, ESP8266 и ESP32.
SKU: OT2371-B13 Артикулен номер: NA330 EAN: 8321317104642 Местоположение: B01.03
Алтернатива
LED с WS2812B Chip на mini PCB
€ 0,85
Виж тази алтернатива
Ето как да свържеш 8x8 RGB 64 LED матрица 5V WS2812b към Arduino UNO или ESP32, с примерен sketch, който можеш да качиш веднага.
Този проект представя адресируема 8x8 WS2812B RGB LED матрица, свързана директно към Arduino Uno. Sketch-ът инициализира 64-те LEDs и показва въртяща се цветна схема върху матрицата при безопасно ниво на яркост. Свържете пиновете 5V, GND и DI, както е показано, за да тествате матрицата си за минути.
/*
* ==================================================================
* 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);
}
Необходими библиотеки: Adafruit NeoPixel 1.15.5
Wiring diagram and example code generated by Codey.online — https://www.codey.online
Този проект управлява 8x8 WS2812B RGB LED матрица с ESP32. Той цикли цветни дъгови шаблони през всички 64 индивидуално адресируеми LEDs. Яркостта е зададена ниска, за да се осигури безопасна работа директно чрез USB захранване.
/*
* ==================================================================
* 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);
}
}
Необходими библиотеки: Adafruit NeoPixel 1.15.5
Wiring diagram and example code generated by Codey.online — https://www.codey.online
RGB LED матрица с 64 адресируеми WS2812b светодиода.
Работи на 5V и може да се управлява чрез Arduino, ESP8266 и ESP32.
Размери
Дължина: 6,5cm
Ширина: 6,5cm
Височина: 0,3cm

| Захранване | 5 V |
|---|---|
| Ширина | 6,5 cm |
| Разделителна способност | 8 x 8 |
| Подходящ за | Arduino, ESP8266 и ESP32 |
| Дължина | 6,5 cm |
| Тип | WS2812b |
| Височина | 0,3 cm |
Съответства на поръчката ми
8x8 RGB 64 LED матрица 5V WS2812b