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"?)
- do not use CAN remote frames (only if using CANOpen) (https://drive.google.com/file/d/0B1StRz2irLOIN0NidTluQlZvMHc/view?usp=drivesdk)
- The DisplayBox is only a display, nothing more (input only, saves complexity and prevents control discrepancy
- All data should be human readable (convert before transmit)
- All data should be in SI units
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
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.