The WS28xx configuration can created with file "devices.txt".
Parameter name
|
Description | led_type
|
WS2801, WS2811, WS2812, WS2812B, WS2813, WS2815, SK6812, SK6812W, APA102, TLC59711, UCS1903, UCS290, P9813
|
led_count
|
170 (default)
|
led_grouping
|
1 / 0 (default) Enables led grouping
| led_group_count | Applicable when led_grouping=1. Must be greater than 1
| dmx_start_address | Applicable when led_grouping=1 or when led_type=TLC59711
| clock_speed_hz | Applicable when led_type is : WS2801, APA102 or TLC59711
| global_brightness | Applicable for the APA102 only
| active_out | The ports in use for the 4x or 8x multi port. (default=1) |
Example: #devices.txt #led_type=WS2812B led_count=256 # Overwrite datasheet # #led_rgb_mapping=GRB # Overwrite timing (us) # #led_t0h=0.31 #led_t1h=0.78 # Grouping # #led_grouping=0 #led_group_count=512 # DMX # #dmx_start_address=1 # Clock based chips # #clock_speed_hz=4000000 # APA102 # #global_brightness=255 # Multi port # #active_out=1 #use_si5351A=0
Power saving
For battery powered operation a GPIO pin of the Orange Pi Zero can be connected to a MOSFET. When there is is no DMX or when the node is in time-out state, the GPIO pin level is low. |
|