Summary:
This log will contain the basic communication data format for the EV box system. It will be updated as needed.
TODO: Make this a page on github as well to track changes as they will affect code revisions
TODO: Create message ID groups to standardize priority
TODO: Decide and list the default baud rate (bandwidth calculations needed)
CAN BUS
Data Field Standard
CAN bus data field format. All units are in SI-base and SI-derived format with conversions done at the display level.
Rules:
- Fit monitoring data in a single 8-byte frame
- Include unit name with unit
- All data in ASCII for human readability
- Decimal place always included but not necessarily in a fixed position. Chart lists defaults. (Exception: RPM)
- Decimal at the end of the number indicates a whole number (example: 1300.KWH decimal always included)
Monitoring Data
This data is sent from nodes and includes voltage, amperage, speed, and temperature information.
Data Field | Description |
999.9KPH | Speed |
9999.99C | Temperature |
99999RPM | RPM |
999.999V | Voltage |
9999.99A | Amperage |
999.99KW | Power |
999.9KWH | Energy |
999.99AH | Electric charge |
HH:MM:SS | Time (24h) |
MM-DD-YY | Date |
999.99KG | Mass |
Control Data
Data Field | Description |
Message ID
Lowest numbered ID gets the highest priority message
Rules:
- 11-Bit identifier
Message ID Group | Description |
0x100 | DisplayBox, BrainBox |
0x200 | TachBox |
0x300 | AmpBox, VoltBox |
0x400 | |
0x500 |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.