Close

EVBox|TestBox:CAN Bus

A project log for The EV Box

An open-source electric vehicle instrumentation system.

nealNeal 05/24/2016 at 17:420 Comments

Problem:

The Teensy 3.x series microcontroller has CAN bus capabilities built in. CAN is a very robust architecture and is especially suited for automotive systems. What's missing is a transceiver to attach to the physical wire pairs of the bus.

Solution:

For every node connected to the CAN bus there needs to be a controller and a transceiver. For the TestBox we simply need a pair of transceivers since a Teensy is being used for the DisplayBox as well. Buy a CAN transceiver breakout board for rapid prototyping.

Notes: (move to "design decisions"?)

TODO: Create a "Design decisions" page to keep track of why I did/did not choose a particular course
TODO: Create a "protocol" sub-page
TODO: Update Github , fork MCP2515 library
TODO: Compare FlexCAN vs MCP
TODO: Create bus topology chart
TODO: Compare native CAN on DisplayBox vs using separate controller via SPI (SPI easier to implement on SD shield but built-in may process faster)
TODO: Upload all datasheets and schematics to project
TODO:
TODO:

Discussions