Pin names
Positive voltage supply (input side)
Data input signal
Ground (input side)
Positive voltage supply (output side)
Data output (for chaining to next strip)
Ground (output side)
Attributes
Number of LEDs in the strip
Pixel rendering shape: “square”, “circle”, or "" (smooth rendering)
LED package size: “5050”, “3535”, or “2020”
Chaining
You can chain multiple strips together by connecting the DOUT pin of one strip to the DIN pin of the next strip. All LEDs share the same data line and are addressed sequentially.Pixel rendering
Shape
Set thepixelShape attribute to control how each LED is rendered:
""(default) - Smooth rendering (one pixel per LED, scaled up)"square"- Square pixel rendering"circle"- Circular pixel rendering
Size
Set thepixelSize attribute to match real-world LED package dimensions:
| Value | Package | Pixel size |
|---|---|---|
"5050" | 5×5 mm | 23 px |
"3535" | 3.5×3.5 mm | 16 px |
"2020" | 2×2 mm | 9 px |
Arduino code example
See also
- wokwi-led-matrix - WS2812 NeoPixel Compatible LED Matrix
- wokwi-led-ring - WS2812 NeoPixel Compatible LED Ring