View Single Post
  #2   Spotlight this post!  
Unread 24-11-2014, 14:00
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,069
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: CAN - what, why, how in 2015

CAN = Controller Area Network

Basically a CAN bus allows bi-directional communication at about 1 Mbps between multiple devices. Until the 2015 season, the devices were limited to Jaguar speed controllers and you needed a bridge (2CAN or a Jaguar acting as a serial to CAN bridge) for the Jaguars to talk to the cRIO.

With the new control system, the RoboRIO has CAN built right in, and a number of the new control system components also use CAN. The new PDB has CAN-based current monitoring. The pneumatics module is controlled via CAN. New Talons also have CAN built in.

The implementation of CAN in the 2015-19 control system uses 2 wires (I believe they're Transmit + and Transmit -). One set of those wires connect from the RoboRIO to one of the CAN components. Another device connects to the first device and so on. You need a termination resistor at each end of the system; the RoboRIO has one, and the PDB has one as well, but it can be bypassed if necessary. (I don't see any reason not to have the PDB at the end of a system.)

As for programming, all the necessary libraries are in WPILib and are nothing like the CAN libraries from years past. I don't know much more than that, but hopefully someone on a beta test team can explain further.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)