CANdle U
ser’s Guide
www.ctr-electronics.com 1/17/2022
Cross The Road Electronics Page 15 1/17/2022
3. Control Methods
3.1. Individually Addressable Control
There are two methods for controlling
individually
addressable LEDs. This includes both the eight onboard LEDs and external
LEDs (if wired by the user).
Note that in both circumstances, LED index 0
–
7 controls the first eight LEDS. LED index 8 and on reference the external LEDs.
for more information on LED order.
3.1.1. Individually Addressable Control
–
CAN bus
CANdle can control individually addressable LEDs by receiving commands from the
CAN bus
. Controlling CANdle in this manner
requires use of CTR Electronics’ Phoenix AP
I, available for download here:
This allows customers to:
-
request pre-written multi-LED animations with a single command
-
or direct control each LED manually
3.1.2. Individually Addressable Control - WS2812B compliant pulse train
Individually addressable LEDs can also be controlled by a WS2812B-compliant pulse-train. Connect the pulse train signal to
CANH (yellow) and connect the signal generator
’
s ground reference to CANL (green).
The CANdle will still provide power to the downstream LEDs, allowing system developers to only be concerned about color
control.
Note that the pixel pulse train still controls the onboard LEDs. The first eight onboard LEDs are first on the data chain, then the
ninth LED index will be the first LED on the external LED strip.
For information on the onboard LEDs, see
Section 6. On board LEDs
.
3.2. On board LEDs and LED Order
The LEDs are sequenced in order as depicted below:
3.3. CAN Single-Color Control
CANdle can also control brightness of single-color LEDs by modulating the supply voltage (via +V
OUT
).
This feature requires using CAN bus and Phoenix API.