Difference between revisions of "CAN-bus"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
! Binder Connector pin Number !! Wire Colour !! Signal on wire | ! Binder Connector pin Number !! Wire Colour !! Signal on wire | ||
|- | |- | ||
| 1 ||style="background: # | | 1 ||style="background: #83603A;"| Brown || 24v Power | ||
|- | |- | ||
| 2 ||style="background: # | | 2 ||style="background: #FFFFFF;"| White || CAN H | ||
|- | |- | ||
| 3 ||style="background: # | | 3 ||style="background: #0065B2;"| Blue || CAN L | ||
|- | |- | ||
| 4 ||style="background: # | | 4 ||style="background: #241F21;color:white;"| Black || Ground | ||
|- | |- | ||
| 5 ||style="background: # | | 5 ||style="background: #B2B3B7;"| Gray || Safety | ||
|} | |} |
Revision as of 15:31, 19 March 2024
The communication between the electronics within the solar boat is build upon the CAN-bus protocol, where the datalogger logs the CAN messages. Pinout of our Binder connectors are:
Binder Connector pin Number | Wire Colour | Signal on wire |
---|---|---|
1 | Brown | 24v Power |
2 | White | CAN H |
3 | Blue | CAN L |
4 | Black | Ground |
5 | Gray | Safety |
Note that the M12 connectors have a different pinout and thus different colour wires. To make compatibility between systems easier the binder connectors are soldered with the wrong colored wires so that plugging in a M12 device results in the right signals being passed to the Binder connector. This Compatibility pinout is shown below:
Binder Connector pin Number | Wire Colour | Signal on wire |
---|---|---|
1 | Gray | Safety |
2 | White | 24v Power |
3 | Blue | Ground |
4 | Black | CAN H |
5 | Brown | CAN L |
Battery (MG) CAN-format (No longer used)
As of now the MG electronics battery is used in the solar boat. Although a new battery is being developed, this MG battery is still in use (as of September '22). Therefore the battery format is given here below.
Node-ID | Index | Subindex | Data | Type | Resolution |
---|---|---|---|---|---|
0x302 | 0x2005 | 0x01 | Voltage [V]
|
uint16_t | 1 [mV/LSB]
|
0x02 | Current [A]
|
int16_t | 10 [mA/LSB]
| ||
0x03 | Current Discharge [A]
|
int16_t | 10 [mA/LSB]
| ||
0x04 | Current Charge [A]
|
int16_t | 10 [mA/LSB]
| ||
0x05 | State-of-Charge [%]
|
int8_t | 1 [%/LSB]
| ||
0x06 | |||||
0x07 | Time to Go [min]
|
uint16_t | 1 [min/LSB]
| ||
0x402 | 0x2005 | 0x09 | Cell Temperature High [°C]
|
int8_t | 1 [°C/LSB]
|
0x0A | |||||
0x0B | Cell Temperature Low [°C]
|
int8_t | 1 [°C/LSB]
| ||
0x0C | Cell Voltage High [V]
|
uint16_t | 1 [mV/LSB]
| ||
0x0D | Cell Voltage Low [V]
|
uint16_t | 1 [mV/LSB]
| ||
0x0E | BMS State | uint32_t | |||
0x0F | Temperature Collection [°C]
|
4x uint8_t | 1 [°C/LSB]
| ||
0x482 | 0x2000 | Cell nr | Cell [Cell_nr] Voltage [V]
|
uint16_t | 1 [mV/LSB]
|
0x202 | Don't Care | Don't Care | Power Level [%]
|
uint8_t | 1 [%/LSB]
|