background image

CANifier 

User’s

 Guide                                                                www.ctr-electronics.com                                                                10/8/2017 

 

Cross The Road Electronics                                                                    Page 2                                                                              10/8/2017 
 

Table of Contents 

1. What is CANifier? .......................................................................................................................................................................... 4

 

1.1. Features ................................................................................................................................................................................ 5

 

1.2. Pin Descriptions .................................................................................................................................................................... 6

 

1.3. Electrical Specifications ......................................................................................................................................................... 7

 

1.3.1. Voltage Rail Dropout Plots. ........................................................................................................................................... 7

 

1.4. Electrical Schematic .............................................................................................................................................................. 8

 

1.5. LEDs ....................................................................................................................................................................................... 9

 

1.5.1. LED Channel LEDs (3) ..................................................................................................................................................... 9

 

1.5.2. Status LED States (2)...................................................................................................................................................... 9

 

2. Installation .................................................................................................................................................................................. 11

 

2.1. Installing CAN Bus and Power leads .................................................................................................................................... 11

 

2.2. Wiring Common-Anode LED Strip ....................................................................................................................................... 12

 

2.3. Wiring remaining signals. .................................................................................................................................................... 12

 

2.3.1. Sensor examples ......................................................................................................................................................... 13

 

2.4. Test CANifier assembly and wiring ...................................................................................................................................... 15

 

2.5. Enclose/Insulate CANifier assembly .................................................................................................................................... 16

 

3. Phoenix Framework (Software) .................................................................................................................................................. 17

 

3.1. Software Examples .............................................................................................................................................................. 17

 

3.2. Status Frame Rates ............................................................................................................................................................. 17

 

3.3. Custom Platforms................................................................................................................................................................ 17

 

3.4. HERO LifeBoat / roboRIO Web-based configuration ........................................................................................................... 18

 

4. Functional Limitations ................................................................................................................................................................. 19

 

4.1. Future features to be implemented. ................................................................................................................................... 19

 

4.2. When hot-swapping certain sensors, CANifier may reset. .................................................................................................. 19

 

4.3. roboRIO Self-test will be added in future. ........................................................................................................................... 19

 

4.4. Reverse Limit signal is missing ESD diode. .......................................................................................................................... 19

 

4.5. Silkscreen suggests max input voltage is 33V.  Vdd-max is 28V. ......................................................................................... 19

 

5. Frequently Asked Questions (FAQ) ............................................................................................................................................. 20

 

5.1. Certain features are not working, but this document indicates they should work. ............................................................ 20

 

5.2. Signals updates seem slow.  There is stair-stepping in my signal plots. .............................................................................. 20

 

6. Firmware (CRF) Version History .................................................................................................................................................. 21

 

7. Revision History .......................................................................................................................................................................... 21

 

 
 
 

 

Summary of Contents for CANifier

Page 1: ...CANifier User s Guide www ctr electronics com 10 8 2017 Cross The Road Electronics Page 1 10 8 2017 CANifier User s Guide Revision 1 0 Cross The Road Electronics www ctr electronics com...

Page 2: ...ose Insulate CANifier assembly 16 3 Phoenix Framework Software 17 3 1 Software Examples 17 3 2 Status Frame Rates 17 3 3 Custom Platforms 17 3 4 HERO LifeBoat roboRIO Web based configuration 18 4 Func...

Page 3: ...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...

Page 4: ...ototyping need to quickly add another sensor Example use cases solved by CANifier Integrates PWM sensors like LIDAR Sonar into a CTRE HERO FRC CAN Bus control system Add more sensors into the FRC CAN...

Page 5: ...Limit switches o Pixy CMUcam5 o Pulse width ultrasonic e g MaxBotix MB1013 o LIDAR Lite v3 o Talon Tach o Digital Sharp distance sensors Outputs for common devices including o PWM motor controllers o...

Page 6: ...round 6 QUAD B Quadrature channel B 7 INDEX Quadrature Index 8 LIMF Limit Switch Forward 9 GND Ground 10 LIMR Limit Switch Reverse 11 GND Ground 12 CS PWM3 SPI Chip Select PWM input 3 13 CLK PWM0 SPI...

Page 7: ...28 0V 12 24 mA Vdrop_5V 5V rail dropout voltage At Vdd 6 5 2 V Vdrop_3 3V 3 3V rail dropout voltage At Vdd 3 9 3 V Vdrop_CAN CAN dropout voltage At Vdd 5 2 V Imax_5V Max continuous 5V current draw 50...

Page 8: ...CANifier User s Guide www ctr electronics com 10 8 2017 Cross The Road Electronics Page 8 10 8 2017 1 4 Electrical Schematic Note that V 5V 3 3V GND CANH and CANL have exposed pads on the PCB...

Page 9: ...he table below shows the possible color states and their respective operation Note 1 LEDs Alternate Status LEDs are always different colors The 2X LEDs will swap colors when blinking Blink Codes LEDs...

Page 10: ...ittent change in LED activity If this is being witnessed ensure that the LED pattern isn t simply an intermittent red LED blink superimposed on to the typical orange LED pattern This is typically obse...

Page 11: ...ery use case will require power and ground wire leads and CAN bus Twist rat tail splice two CAN pigtail wire pairs so that it can be easily soldered This allows for daisy chaining of CAN bus devices P...

Page 12: ...y increase the risk of fire PDP breakers fuses do not improve this problem since they do not open until 10 40A of continuous draw depending on which fuse breaker type If in doubt feel the wire harness...

Page 13: ...nfigurations are documented below 2 3 1 1 LIDAR Lite V3 Distance Sensor More information can be found in the LIDAR Lite V3 Operation Manual Be sure to tie pull down resistor to ensure LIDAR continuous...

Page 14: ...CANifier User s Guide www ctr electronics com 10 8 2017 Cross The Road Electronics Page 14 10 8 2017 2 3 1 3 Limit Switch Inputs...

Page 15: ...mponents as soon as they are received Many of these components have manufacture warranties that can expire if a boxed component is left unused untested for an excessive period Spare backup components...

Page 16: ...sensors etc Alternatively the CANifier can be mounted to a fixed location using a 3D printed enclosure Fixed mounting is accomplished via the two mounting holes in the CANifier These holes are 0 125...

Page 17: ...m CrossTheRoadElec Phoenix Examples Languages FRC LabVIEW https github com CrossTheRoadElec Phoenix Examples LabVIEW 3 2 Status Frame Rates After CANifier boots application firmware it transmits the f...

Page 18: ...the latest HERO LifeBoat Connect roboRIO with USB cable and press the Update RIO Web based Config button Afterwards CANifier s will appear in the device list of the roboRIO Light Device LED can be use...

Page 19: ...connecting the LIDAR Lite sensor while CANifier is powered may cause CANifier to reboot as the supply rail may reset Since hot swapping sensors is typically not done during robotic movement no workaro...

Page 20: ...uestions FAQ 5 1 Certain features are not working but this document indicates they should work Update to the latest CANifier firmware CANifier ship firmware is 0 4 which is missing most features 5 2 S...

Page 21: ...Electronics Page 21 10 8 2017 6 Firmware CRF Version History CRF Version Date Description 0 9 7 Sept 2017 First public release 0 4 4 Sept 2017 Ship Firmware 7 Revision History Revision Date Descriptio...

Reviews: