CAN BUS Communication Using Arduino And MCP2515 Module

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

👍 and shouldn't you use a jumper for the 120-ohm termination resistor on both ends?

Univers
Автор

For those who might get confused with what the actual items are in the video (I copied and pasted 2 Amazon listings titles to show by example):
1) The blue board:
ELEGOO Nano Board CH 340/ATmega+328P Without USB Cable, Compatible with Arduino Nano V3.0 (Nano x 3 Without Cable)
2) The red board:
HiLetgo Nano I/O Expansion Sensor Shield for Arduino UNO R1 Nano 3.0 Duemilanove 2009

I think I have what's happening straight now.

arthurhebert
Автор

The video shows multiple CAN cards, while the code for just one way massege, 😩 we need to see the full code dude .

EssaBenMostafa
Автор

I can't access the file in the description

suleulger