CAN BUS Communication Using Arduino And MCP2515 Module
In this video I use the MCP2515 module and Arduino to send and receive message using CAN BUS protocol.
-----------------------------------------------
Materials Required
- 3 x Arduino Nano (for sending message)
- 1 Arduino Uno (for receiving message)
- 4 x MCP2515 Module
- Some Jumper Wires
- USB Cable
- Arduino Nano Shield (optional)
-----------------------------------------------
Connection
MCP2515 -- Arduino Nano/Uno/Mega
INT -- D2
SCK -- D13
SI -- D11
SO -- D12
CS -- D10
GND -- GND
VCC -- 5V
-----------------------------------------------
MCP2515 CAN interface Library
[ Ссылка ]
-----------------------------------------------
Code to send and read message
[ Ссылка ]
-----------------------------------------------
Open the Serial Monitor in the Arduino IDE and set the baud rate to 115200. You should now see the data being sent and received on the Serial Monitor.
-----------------------------------------------
#mcp2515 #canbus #canprotocol #cancommunication #arduinocan #messaging
Love what I'm doing? Show your support by buying me a coffee:
[ Ссылка ]
Ещё видео!