Supported Pixel Protocols / Tutorials

SPI for LED Lights: A Simple Guide

SPI for LED Lights: a simple guide to single-wire, clocked and backup-signal pixel chips

Digital addressable LED strips can display a different color on every pixel at the same time. This is possible because each pixel can be controlled individually using a digital data signal.

In the LED industry, this is often called SPI, although not every digital LED chip actually uses the standard SPI protocol. This guide explains how pixel communication works, how SPI differs from DMX, and how to choose the right chip and controller.

What is SPI in LED lighting?

A traditional analog LED strip is not individually addressable. LEDs or groups of LEDs connected to the same control channel change color and brightness together.

A digital LED strip works differently. Each pixel contains a small control chip called an IC (Integrated Circuit). It reads the incoming data, uses the information intended for its pixel, and passes the remaining data to the next chip.

Data travels from the controller as a digital stream of ones and zeros.

Analog LED strip vs digital LED strip: on an analog strip one control channel drives all LEDs together, on a digital strip each IC uses the data for its pixel and passes the rest to the next chip

SPI stands for Serial Peripheral Interface. It is a synchronous serial communication interface that uses separate data and clock lines.

However, the LED industry often uses SPI as a broader term for other pixel protocols too. For example, WS2812B uses its own single-wire protocol, where each bit is represented by the length of a pulse. It is not standard SPI.

What’s the difference between SPI and DMX?

DMX512 is a standardized digital protocol widely used for professional stage, theater, and architectural lighting.

Unlike DMX, there is no single universal SPI protocol for all LED chips. Different manufacturers use their own data formats and timing requirements.

Parameter DMX512 Digital pixel protocols (often called SPI)
Standard ANSI E1.11 Multiple protocols depending on the chip
Channels or pixels 512 channels, about 170 RGB pixels per universe Hundreds to over 1,000 pixels per output, depending on the controller and refresh rate
Speed 250 kbps Depends on the chip, e.g. 800 kbps for WS2812B
Cable length About 300 m with proper wiring and termination Short direct signal runs; longer distances require additional hardware

DMX512 provides 512 data channels per universe. Since each RGB pixel uses three channels, one universe can control up to 170 complete RGB pixels.

With properly selected 120-ohm DMX cable and correct termination, a DMX line can reliably reach approximately 300 metres without a signal repeater.

Digital pixel protocols allow individual control of a large number of pixels, but they require a compatible controller and proper data transmission. For longer distances, dedicated differential transmission solutions can extend the signal over twisted-pair cables.

DMX512 vs digital pixel protocols: a DMX line with 120-ohm termination reaches about 300 m and carries 170 RGB pixels per universe, a pixel output drives hundreds to over 1,000 pixels over short direct signal runs

Which protocol does my LED strip use?

There is no single universal SPI protocol. Each chip type can have its own timing rules, data structure, and electrical requirements.

For example, WS2811 uses a different communication method from APA102.

To identify your LED strip’s protocol:

  • Check the datasheet or the chip marking on the LED strip’s circuit board.
  • Identify the exact chip model, such as WS2815 or SK6812 RGBW.
  • Check controller compatibility and make sure its firmware supports the chip.
  • Check the protocol settings, including color order and timing. Trying different modes may help, but manufacturer documentation is the most reliable source.

Which IC is in my pixel strip?

Digital LED chips can be divided into three main groups.

Three main groups of digital LED chips: single-wire chips with V+, DATA and GND, two-wire clocked chips with DATA and CLOCK, and backup-signal chips with DI and BI

1. Single-wire chips (unclocked)

Examples: WS2811, WS2812B, SK6812, APA104

These chips use one data wire, together with power and ground. They do not have a separate clock line.

Each bit is encoded by the length of a data pulse, so the chip requires precise signal timing.

Good:

  • Fewer wires and simpler installation.
  • Thinner and more affordable LED strips.
  • Widely used in decorative and effect lighting.

Not so good:

2. Two-wire chips (clocked)

Examples: APA102, WS2801, SK9822, HD107S

These chips use two communication lines:

  • DATA – carries color and control information.
  • CLOCK – synchronizes data reading.

The clock line provides synchronized data transmission without relying on precise pulse timing for every bit, as single-wire chips do.

Good:

  • Synchronized data transmission.
  • High data rates, depending on the chip.
  • Suitable for fast pixel animations and effects.

Not so good:

  • One extra wire.
  • More complex wiring.
  • A separate clock line does not automatically provide longer cable range. Signal integrity and possible electromagnetic interference must still be considered.

3. Backup-signal chips

Examples: WS2813, WS2815

Some digital LED chips include a second data line that acts as a backup signal path.

If one pixel fails, the backup path can allow communication to continue with the following pixels. This feature is designed to bypass a single failed pixel and does not guarantee uninterrupted operation when multiple neighboring pixels fail.

WS2815 backup data line: when one pixel fails, the next pixel reads the backup input (BI) and the rest of the strip keeps working

Good:

  • Better protection against a single pixel failure.
  • Data transmission can continue under certain fault conditions.
  • Suitable for installations where reliability is important.

Not so good:

  • More complex chip design.
  • Specific backup data wiring.
  • Functionality depends on the exact chip model.

Color depth matters too. Most standard digital RGB chips use 8-bit color per channel, providing 256 brightness levels. Some advanced chips support higher color resolution for smoother transitions.

RGBW chips, such as SK6812 RGBW, include a separate white LED channel. This allows them to produce white light without mixing red, green, and blue.

Is APA102 a clocked chip?

Yes. APA102 is a two-wire clocked chip. It uses a separate DATA line and CLOCK line.

The clock signal allows the controller to synchronize data transmission without relying on precise pulse timing for individual bits.

Single-wire vs two-wire clocked chips: on a single-wire chip the length of each pulse decides 0 or 1, on a clocked chip such as APA102 the CLOCK line synchronizes reading of the DATA line

APA102 is suitable for fast lighting animations and projects where high pixel refresh rates are important.

For video recording, however, PWM frequency matters more than data transmission speed alone. The result depends on the exact chip version, camera frame rate, and shutter speed. Always check the technical documentation and ideally test the actual LED strip with your camera.

The trade-off is one extra wire. For longer cable runs, use a suitable differential data transmission solution supported by your controller. LED Strip Studio offers solutions such as The Symmetrizer and SPI Lamp 2 for reliable long-distance pixel data transmission.

Does my controller support my LED chip?

A pixel LED controller converts data from your lighting software into the signal required by your specific LED chip.

Professional systems often receive data over Ethernet using protocols such as Art-Net or sACN and then generate the appropriate pixel signal.

However, not every controller supports every chip. Protocol compatibility and the maximum number of pixels per output depend on the controller model, firmware, LED chip, and required refresh rate.

Before buying, check four things:

  • Identify your chip. Find the exact model in the datasheet or on the LED strip’s circuit board.
  • Check controller support. Make sure the controller supports your chip and its communication protocol.
  • Match voltage and color order. Check the LED strip’s voltage, data signal compatibility, and color order, such as RGB, GRB, or BRG.
  • Plan for distance. For longer data runs, use a suitable signal buffer or a differential transmission solution compatible with your controller.

From lighting software to the LED chip: Art-Net or sACN over Ethernet to the pixel LED controller, which sets chip type, color order and pixels per output, then the pixel signal to the LED strip

So, which SPI protocol should I choose?

Choosing the right protocol does not have to be complicated. The most important thing is to identify the exact control chip and make sure your LED controller supports it.

For example, WS2811 and WS2812B use single-wire communication, while APA102 and SK9822 also use a separate clock line.

For installations with long cable distances, use a suitable differential SPI data transmission solution.

LED Strip Studio offers two options: The Symmetrizer for extending SPI/LSS data over twisted-pair cables, and SPI Lamp 2 for distributing pixel data to multiple remote LED fixtures.

The Symmetrizer and SPI Lamp 2: a pair of Symmetrizers carries SPI/LSS data over a twisted-pair cable, SPI Lamp 2 units distribute pixel data to multiple remote LED fixtures

DMX can still be useful in installations that require DMX-based control, but for large addressable LED installations, a dedicated SPI distribution system offers a more suitable solution.

The best solution is always the right combination of LED chip, controller, power supply, and data transmission technology.

Summary

In the LED industry, SPI is often used as a broader term for digital pixel protocols, although not every chip uses standard SPI. Unlike DMX512, there is no single universal pixel protocol: each chip has its own timing and data format. Digital LED chips fall into three groups: single-wire chips (WS2811, WS2812B, SK6812, APA104), two-wire clocked chips (APA102, WS2801, SK9822, HD107S) and backup-signal chips (WS2813, WS2815). Identify the exact chip, make sure the controller supports it, match voltage and color order, and plan for distance with a differential transmission solution such as The Symmetrizer or SPI Lamp 2.