Skip to content

Commit 4f0a1bc

Browse files
authored
Create CANBUS_Communication_Setup.md
1 parent 2011060 commit 4f0a1bc

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

CANBUS_Communication_Setup.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Adding MCP2515 to Arduino to access CANBUS. #
2+
This effectively makes the Arduino a CANBUS node
3+
4+
The specific INO file for HALTECHs or other standalones which is in the project will need to be uploaded to the Arduino via Arduino IDE
5+
6+
## Part needed: ##
7+
https://a.co/d/fVGMQm0
8+
9+
## Connections ##
10+
11+
MCP215 to Arduino Mega
12+
13+
| MCP2515 Pin | Arduino Mega Pin | Why |
14+
| ------------- | ---------------- | ----------------------------------- |
15+
| **VCC** | **5V** | Power (most of these boards are 5V) |
16+
| **GND** | **GND** | Ground |
17+
| **CS** | **53** | SPI Chip Select (Mega hardware SS) |
18+
| **SO (MISO)** | **50** | SPI MISO |
19+
| **SI (MOSI)** | **51** | SPI MOSI |
20+
| **SCK** | **52** | SPI Clock |
21+
| **INT** | **2** | Interrupt from MCP2515 |
22+
23+
24+
25+
MCP2515 -> Haltech CAN
26+
27+
| MCP2515 Terminal | Haltech |
28+
| ---------------- | -------- |
29+
| **CANH** | CAN High |
30+
| **CANL** | CAN Low |
31+

0 commit comments

Comments
 (0)