Exploring CAN Protocol

suggest you also look a different microcontroller such as the ESP32 which ahs an onboard Two-Wire Automotive Interface (TWAI) CANbus interface
you only require a CAN transceiver such as the TJA1051 to connect to the Canbus

there is a ESP32-TWAI-CAN library which can be used when implementing code with the Arduino IDE

I also find it usful to have a USB-CAN module to monitor the bus traffic using a PC

1 Like