Components / Interface and audio modules / MCP2515 CAN bus module

MCP2515 CAN bus module

CAN controller and transceiver board for cars and machines.

FunctionCAN controller + transceiver
Supply voltage5 V
InterfaceSPI
Logic level5 V (needs care on 3.3 V boards)
InterfacesReviewedMPN MCP2515 + TJA1050Used in 4 projects
MCP251
In short

What is the MCP2515 CAN bus module and what is it used for?

CAN controller and transceiver board for cars and machines. Makers use it for OBD-II and CAN projects.

Crystal is often 8 MHz: set this in the library
How it works

An MCP2515 CAN controller handles frames and filters, and a TJA1050 drives the bus.

Key specifications

Interface module specValue
FunctionCAN controller + transceiver
Supply voltage5 V
InterfaceSPI
Logic level5 V (needs care on 3.3 V boards)

Pinout

INTInterrupt
SCK SI SO CSSPI
VCC5 V
GNDGround
CANH CANLBus
J1120 Ω terminator

How to use it

Most modules have an 8 MHz crystal, so set the library (mcp_can or autowp) to 8 MHz or nothing will work. The TJA1050 needs 5 V, so with 3.3 V boards use a 3.3 V transceiver such as the SN65HVD230.

Applications

Alternatives

Buy at

Common questions

What is the MCP2515 CAN bus module used for?

In maker projects: OBD-II and CAN projects.

How does the MCP2515 CAN bus module work?

An MCP2515 CAN controller handles frames and filters, and a TJA1050 drives the bus.

What voltage does the MCP2515 CAN bus module need?

5 V.

How do I connect the MCP2515 CAN bus module to an Arduino or ESP32?

SPI. Pins: INT (Interrupt), SCK SI SO CS (SPI), VCC (5 V), GND (Ground), CANH CANL (Bus), J1 (120 Ω terminator).

What can I use instead of the MCP2515 CAN bus module?

MCP2515 CAN controller and TJA1050 CAN transceiver.