Ok, this will be a new series of blogs taking you and me from sending a CAN message between two Arduinos. First without interrupts on the receiver and then with. Then with the same hardware, I will send a proper formatted CANaerospace message. CAN and CANaerospace are almost the same.
They are both democratic networks which means that any node can transmit to other nodes, hence there is no master-slave relationship. While most of the demos show a master and a slave. The circuit below is a typical hook up for either CANbus or CANaerospace. But in its present configuration, it is a SLAVE-MASTER. Also since CANaerospace uses the ISO 7 layer module, you can create a socket.CAN ie you can put CANaerospace over TCP.
|0||canMsg.can_id = 0x36;||Node_ID = 324|
|1||canMsg.can_dlc = 8;||UCAR = SHORT|
|2||canMsg.Data = h;||SVC_ID = 1 (OK)|
|3||canMsg.Data = t;|
MESS_ID starts at 1 and
|4||canMsg.Data = 0x00;||DATA|
|5||canMsg.Data = 0x00;|
|6||canMsg.Data = 0x00;|
|7||canMsg.Data = 0x00;|
|8||canMsg.Data = 0x00;||Not Applical|
|canMsg.Data = 0x00;|
Since CANaerospace IDs are predefined where 324 is Static Air Temperature, I will only worry about temperature. I will only be using standard hardware.
Articles that I have used.