Skip to content

Add support for the WS2801 protocol#55

Merged
awawa-dev merged 1 commit intoawawa-dev:masterfrom
HiassofT:ws2801
Mar 29, 2025
Merged

Add support for the WS2801 protocol#55
awawa-dev merged 1 commit intoawawa-dev:masterfrom
HiassofT:ws2801

Conversation

@HiassofT
Copy link
Copy Markdown
Contributor

WS2801 uses a SPI-like two-wire protocol with clock and data.

Although some datasheets mention maximum clock speeds of 2MHz or even 25MHz most LED strips only work reliably up to 1MHz so use that to stay on the safe side.

The data frame is 24 bit R, G, B (in this order) per LED, a pause of 500us resets the LED index.

WS2801 uses a SPI-like two-wire protocol with clock and data.

Although some datasheets mention maximum clock speeds of 2MHz or even
25MHz most LED strips only work reliably up to 1MHz so use that to stay
on the safe side.

The data frame is 24 bit R, G, B (in this order) per LED, a pause of
500us resets the LED index.

Signed-off-by: Matthias Reichl <hias@horus.com>
@awawa-dev awawa-dev merged commit 2fc41ff into awawa-dev:master Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants