background image

CANdle U

ser’s Guide                

                                          www.ctr-electronics.com                                                                   1/17/2022 

 

 

Cross The Road Electronics                                                               Page 20                                                                                   1/17/2022 

 

7. FAQ 

7.1. Is there a way to tell if the device is present/powered? 

To determine visually if the sensor is powered and functioning, check the built-in tri-color status LED, se

Section 1.7

. 

7.2. How do I control LEDs? 

The CANdle and respective LEDs can be controlled either by the CAN bus or through an external controller generating a pixel 
pulse train. For more information on the ways to control the CANdle, see 

Section 3.

 

 

Additionally, the choice of how to control the LEDs will determine the wiring as explained in 

Section 2

7.3. How many LEDs can I drive from the CANdle? 

There are two factors that determine how many LEDs a CANdle can control.  Both are covered in sections below. 
 

7.3.1. Software limiting LED count 

There is 

no 

software

 limit

 when LEDs are controlled 

via WS2812B-compliant pulse-train

 (through CAN wires). 

 

However, 

firmware limits the maximum number of LEDs to 400

 when controlled over 

CAN bus

.   

If this is adjusted in future firmware releases, this can be confirmed in Phoenix Tuner self-test. 

 

7.3.2. Current Draw limiting LED count

 

 

The CANdle can supply up to I

MAX

 of total current (combined return current from the 5V

OUT

 and +V

OUT 

 rail). 

Note the return current must be sunk through -V

OUT

 
Typically, this is sufficient for 300 GRB LEDs at max brightness.   
Exceeding this may cause LEDs to appear dim or will cause CANdle to fault if current exceeds I

MAX

 
Limiting the brightness of the CANdle can be used to reduce the total current draw, thus allowing for more LEDs. 
 

7.4. Is the CANdle an LED strip or LED controller? 

The CANdle is both an LED strip and an LED controller. The first eight addressable LEDs are onboard and integrated.  The first 
extern LED added via the wire leads 

is considered the “ninth” addressable LED.

  This will be references as index 

8

 in software. 

7.5. Do I need to set the RGB type for the onboard eight LEDs? 

No, the CANdle firmware already 

compensates

 for 

the RGB color type

 of the 

onboard LEDs

.   

You can select 

any

 external LED strip type that matches the available types i

Section 5

 

7.6. Can I power my Raspberry Pi or Jetson Nano from the CANdle? 

Yes, CANdle can power (non-inductive) loads that rated for 5V and no more than 6amps. Both products in their default 
configuration require less than 6 amps, and so can be powered by the CANdle. If you are adding peripherals to a co-processor, 
factor in the current consumption of that co-processor and determine if the total current budget is sufficient for a CANdle to 
supply. A wiring diagram i

Section 2.4

 shows how to wire the CANdle to power a Raspberry Pi. 

 

 

Содержание CANdle

Страница 1: ...CANdle User s Guide www ctr electronics com 1 17 2022 Cross The Road Electronics Page 1 1 17 2022 CANdle User s Guide Revision 1 0 Cross The Road Electronics www ctr electronics com ...

Страница 2: ...7 Daisy Chain from Single Power Source 14 3 Control Methods 15 3 1 Individually Addressable Control 15 3 1 1 Individually Addressable Control CAN bus 15 3 1 2 Individually Addressable Control WS2812B compliant pulse train 15 3 2 On board LEDs and LED Order 15 3 3 CAN Single Color Control 15 4 Mounting 16 4 1 Using the Spacers 16 4 2 Panel Mounting 17 5 External LED strip types 18 5 1 Testing Recom...

Страница 3: ...ics com 1 17 2022 Cross The Road Electronics Page 3 1 17 2022 7 5 Do I need to set the RGB type for the onboard eight LEDs 20 7 6 Can I power my Raspberry Pi or Jetson Nano from the CANdle 20 8 Mechanical Drawings 21 9 Revision History 22 ...

Страница 4: ...cumentation possible to ensure successful use of your CTRE products To this end we will continue to improve our publications examples and support to better suit your needs If you have any questions or comments regarding this document or any CTRE product please contact support crosstheroadelectronics com To obtain the most recent version of this document please visit www ctr electronics com ...

Страница 5: ... for dome lamp applications Control external individually addressable LEDs via CAN bus Phoenix or WS2812B compliant pulse train Power a custom load using a 5V high efficiency DC voltage regulator up to six amperes Great for Jetson Nano and other popular development boards Measure output current 5V voltage and V input voltage Enable disable 5V output programmatically 1 Modulate V output for single ...

Страница 6: ...ltage and Current Measurement High Side PWM control of the V Output Polycarbonate housing prevents debris from entering inside device Electrically isolated heatsink allows for direct mounting to robot frame Auto detection of CAN bus CAN FD Phoenix or WS2812B compliant pulse train No software configuration required to choose between the two Robust bootloader and reliable field upgrade no physical b...

Страница 7: ...scharge 30 kV ESD Protection Air Gap Discharge 30 kV 1 5 General specifications Outside Dimensions 2 7 x 1 Weight with wires 1 584 ounces 44 9 grams Supported Communication Protocols CAN 2 0 1Mbps CAN FD when used with CANivore Addressable LED Pulse Train Maximum Operational Temperature 5 A 1 75 C Maximum Operational Temperature 5 A 2 55 C NOTE 1 This is the maximum expected temperature CANdle can...

Страница 8: ...f to prevent accidental shorting Red Yellow LED is never off Disabled if firmware determines this is required Hardware is damaged Slow Red Blink Configurable On Note 2 Check CAN Bus health and connection to the CANdle Pixel pulse train connection to the CANdle In this state the output of the CANdle is determined by configuration Rapid Red Blink Off Device has faulted and has disabled outputs to pr...

Страница 9: ...Blue 18 AWG 5VOUT Regulated 5V for powering 5V addressable LEDs or 5V development boards Orange 18 AWG VOUT Provides voltage to LEDs that are rated for supply voltage This can be modulated via software A common use case is to power CANdle with 12V lead acid battery and use VOUT to power 12V LEDs Use VOUT to power 12V LED strips Note 3 Do not use VIN to power 12V LED strips Note 3 White 18 AWG DOUT...

Страница 10: ...ually Addressable LEDs The output leads must be used to control individually addressable LEDs 5V addressable LEDs must use the 5V rail 12V addressable LEDs must use the Vout rail Ground return must use VOUT Do not connect VIN or VIN to the LED strip The example below demonstrates wiring an external 5V LED strip ...

Страница 11: ...ics Page 11 1 17 2022 2 4 Powering a Raspberry Pi CANdle can be used to power custom 5V devices such development boards This allows customers to leverage the power control and monitoring features of CANdle when using a Raspberry Pi subsystem Do not connect VIN or VIN to the load ...

Страница 12: ...voltage are also supported with CANdle These LEDs are not individually addressable meaning all LEDs will increase with brightness as the output intensifies For such LEDs connect VOUT and VOUT to the LEDs Do not connect VIN or VIN to the LED strip The LEDs must be rated for the same voltage wired to CANdle via VIN If CANdle is wired to 12V source the LEDs must be able to withstand the same voltage ...

Страница 13: ... The previous wiring sections demonstrate control and monitoring via the CAN bus wires However CANdle can also auto detect a WS2812B compliant pulse train from common generators such as the Arduino No software configuration is required by CANdle for this simply wire CANH to the pulse train signal and CANL to the logic ground of the signal generator ...

Страница 14: ...1 17 2022 Cross The Road Electronics Page 14 1 17 2022 2 7 Daisy Chain from Single Power Source Additionally a supplemental CANdle can be powered down stream of another CANdle Note that this will increase the current draw of the up stream CANdle ...

Страница 15: ...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 downstrea...

Страница 16: ...thods of mounting two of which are described below 4 1 Using the Spacers The CANdle can be mounted using the provided spacers This allows clearance for the wires to travel out under the heatsink This is a particularly convenient method of mounting the CANdle as it only requires a flat surface to drill holes into and subsequently mount against ...

Страница 17: ...com 1 17 2022 Cross The Road Electronics Page 17 1 17 2022 4 2 Panel Mounting CANdle can also be panel mounted This requires milling out a hole so that the front face LED side can be fitted through Refer to Section 8 for mechanical dimensions ...

Страница 18: ...econd byte is Green third is Blue fourth is White GRBW First byte is Blue second byte is Red third is Green fourth is White Failure to properly configure the LED type will result in incorrect colors 5 1 Testing Recommendations The primary recommendation is to confirm the LED type by referencing the documentation of the LED strip All LED strips sold by CTR Electronics have such documentation availa...

Страница 19: ...s for fast and efficient debugging of your robot platform Configuration changes can be done in the graphical interface quickly before incorporating them into your robot application The Phoenix library also supports the CANdle class allowing for configuration monitoring and control of your CANdle from your robot software Additional software documentation will be available under the Phoenix Framewor...

Страница 20: ...nt from the 5VOUT and VOUT rail Note the return current must be sunk through VOUT Typically this is sufficient for 300 GRB LEDs at max brightness Exceeding this may cause LEDs to appear dim or will cause CANdle to fault if current exceeds IMAX Limiting the brightness of the CANdle can be used to reduce the total current draw thus allowing for more LEDs 7 4 Is the CANdle an LED strip or LED control...

Страница 21: ...CANdle User s Guide www ctr electronics com 1 17 2022 Cross The Road Electronics Page 21 1 17 2022 8 Mechanical Drawings ...

Страница 22: ...CANdle User s Guide www ctr electronics com 1 17 2022 Cross The Road Electronics Page 22 1 17 2022 9 Revision History Revision Date Description 1 0 17 Jan 2022 Initial Creation ...

Отзывы: