I am beginner when it comes to electronics.
I have an ESP32 and MCP2515 and I want to connect it to a CAN bus just to read data.
I plan to then use the CAN bus — ESPHome code to get it all talking to HA.
My CAN Bus cable has 5 wires. Red +ve, Black ground, Bare Shield, White Can High, Blue Can Low.
What is the easiest way to connect this cable to the MCP2515 ?
I have seen this wiring diagram but it is connecting to a DB9. Can I just connect my CAN High and Low wires directly to the MCP2515?