CANBUS is a digital protocol used between automotive systems
It is used between the Sevcon and the MBB on a Zero, for example, and CrashCash reports success reading it with Raspberry Pi and CopperHill to read e.g. estimated range.[1] (BEWARE of writing to this bus, it could be harmful to the your vehicle or your life.)
Canbus is also used in charging systems to tell the charger to enable or disable, to tell the charger max amps and max voltage. I believe the onboard and the diginow and the evtricity and remmie/wijnand71[2] rapid-chargers setup all do this. The onboard mbb talks to the onboard charger with canbus and the (diginow and r/w and maybe evtricity) use a separate microcontroller module to control the charging. I think the chargers require a heartbeat signal, and turn off automatically if the microcontroller stops.
Canbus is also used in the signalling between vehicles and stations for Chademo and Tesla Supercharer high voltage DC charging. (CCS Combo uses ethernet-over-power.) Tesla is authenticated, you need a Tesla VIN to activate it, but Chademo is potentially decodable. (flow and diagrams at
https://code.google.com/archive/p/open-chademo/ )
Canbus generally requires a 120 ohm resistor at each end of the communication. I have a seeedstudio canbus shield, which has 120 ohm built in, and also a linksprite one, which has a 60 ohm resistor. I found that odd, googled around, and found a good discussion of canbus variants and termination:
http://www.keil.com/forum/21024/can-bus-one-60-ohm-instead-of-two-120-ohm-resistors/There exist a lot of OBD-II products called ELM327 that decode bits of the Canbus traffic, and produce output that can be read by computers and apps. Those are handy for *car* decoding, resetting trouble codes, which are pretty standard, but not so much for the Zeros or the chargers. They are even a bit spotty on the electric and hybrid cars.
[1]
http://electricmotorcycleforum.com/boards/index.php?topic=6809.0[2]
http://electricmotorcycleforum.com/boards/index.php?topic=6405.msg58759#msg58759[3]
http://electricmotorcycleforum.com/boards/index.php?topic=4690.msg31304#msg31304So that's about what I know about Canbus so far. Let's try to get the facts down about canbus in this thread.
And let's be careful out there.