Projects / Ideas / Two-node CAN bus demo

Two-node CAN bus demo

IntermediateCommunicationIdeaReviewed
In short

How do you build a two-node CAN bus demo?

Two Arduinos with MCP2515 modules exchange sensor values over a CAN bus, as cars and machines do. You need Arduino Nano × 2, MCP2515 CAN bus module × 2, Potentiometer 10 kΩ, SSD1306 OLED Display and LED 5 mm red.

Level
Intermediate
Time
About 150 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Send and receive CAN frames.

Parts list

How to build it

  1. Wire both modules
  2. Terminate the bus with 120 ohms
  3. Send a frame with a pot value
  4. Receive and show it
  5. Add an acknowledgement and error count

Related projects

Common questions

What parts do I need for the two-node CAN bus demo?

Arduino Nano × 2, MCP2515 CAN bus module × 2, Potentiometer 10 kΩ, SSD1306 OLED Display and LED 5 mm red.

How long does the two-node CAN bus demo take to build?

About 150 minutes for a intermediate maker.