Difference between revisions of "LEDCtl (WS2812b LED Controller)"

From Stm32World Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
| OK
 
| OK
 
| Factory reset
 
| Factory reset
 +
|-
 +
| Sx=y
 +
| y = value
 +
| ATS0=64
 +
| OK
 +
| Set register to a certain value.  Example will set register 0 to a value of 64
 
|-
 
|-
 
| Z
 
| Z
Line 28: Line 34:
 
| Reset device
 
| Reset device
 
|}
 
|}
 +
 +
=== Registers ===

Revision as of 02:50, 25 December 2020

LED strips and panels based on some form of the WS2812 RGB LEDs have gained an enormous popularity the past couple of years with the price of the individual LEDs dropping well below 10 cent each. These LEDS contain 3 individual LEDs: one red, one green and one blue and the intensity of each of these can be set at 256 different levels.

Hayes Like Serial Interface

To control the attached LEDs a simple serial interface is used.

AT Commands

Command Parameters Example Response Description
&F AT&F OK Factory reset
Sx=y y = value ATS0=64 OK Set register to a certain value. Example will set register 0 to a value of 64
Z ATZ OK Reset device

Registers