LabWired The easy way to build hardware
SPI device

WS2812 / Neopixel strip

The WS2812 / Neopixel strip is an SPI device in the LabWired part catalog. Its catalog type is neopixel. It connects to the MCU over GPIO. The catalog gives a supply range of 5 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: WS2812 strip: GPIO edge decoder (RMT path on ESP32-S3). Universal PeripheralKit attach.

Key facts

CategorySPI devices
Catalog typeneopixel
InterfaceGPIO
Supply range5 V
Pins4
DatasheetWorldsemi WS2812B intelligent control LED datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

WS2812 / Neopixel strip pinout

PinElectrical typeFunction
DIN Input —
VCC Power input Supply
GND Power input Supply
DOUT Output —

How to simulate the WS2812 / Neopixel strip in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the WS2812 / Neopixel strip (catalog type neopixel).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 5 V.
  4. Connect DIN and DOUT as your circuit needs.
  5. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related SPI devices

All SPI devices · All parts

Modelled from Worldsemi WS2812B intelligent control LED datasheet.