All parameters are optional. They all have a defined default value.
The WS28xx configuration can created with file "devices.txt".
Singleport (1x)
Parameter name
dmx_start_address
Description
Applicable when led_group_count > 1 or when led_type=TLC59711
Multiport (4x / 8x)
Test modes
Parameter name
test_pattern
Description
0=no test pattern. 1=Rainbow cycle, 2=Theater chase, 3=Color wipe, 4=Scanner, 5=Fade (default=0)
Example:
#devices.txt
#led_type=WS2812B
led_count=600
# Overwrite datasheet #
#led_rgb_mapping=GRB
# Overwrite timing (us) #
#led_t0h=0.31
#led_t1h=0.78
# Grouping #
#led_group_count=1
# DMX #
#dmx_start_address=1
# Clock based chips #
#clock_speed_hz=4000000
# APA102 #
#global_brightness=255
# Multi port #
#start_uni_port_1=1
#start_uni_port_2=5
#start_uni_port_3=9
#start_uni_port_4=13
#start_uni_port_5=17
#start_uni_port_6=21
#start_uni_port_7=25
#start_uni_port_8=29
active_out=8
# 4x only #
#use_si5351A=0
# Test pattern #
#test_pattern=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.