Collaborations

ArCan: CAN-Bus shield for Arduino

In 2009, as a Telecommunications student in Málaga, I designed ArCan: a shield that gave Arduino a CAN-Bus interface, the fieldbus of cars and industry, together with its library for the MCP2515 controller.

ArCan shield for Arduino with MCP2515 CAN controllerDiagram of a CAN-Bus network with three Arduinos fitted with the ArCan shield and 120 ohm terminations

Why I made it

  1. Giving back to the Arduino community what I had learned from it.
  2. Using Arduino with CAN as a home automation network.
  3. Bringing Arduino into industrial environments, where CAN is common.
  4. Serving as a reference for anyone starting their own project.

Specs

HardwareStackable shield with MCP2515 CAN controller, compatible with other shields
SoftwareArCan library for Arduino, open source
PC applicationWindows program supplied with the shield
ManufacturingOwn production runs of boards, sold in my online shop
PublishedMarch 2009, on the official Arduino forum
RepositoryGitHub, with the full history since 2011 (previously on SourceForge)
LicenseMIT: free use, including commercial, crediting the author
Final degree project“Interconnecting Arduinos over CAN-Bus”, University of Málaga, 2013. Highest distinction
Competition3rd University Free Software Contest (2008/09), for the University of Málaga
PressLinux Magazine (Spanish edition) no. 49, May 2009, Community section, pp. 88-92: “3rd University Free Software Contest: the projects of the new Spanish developers”
Original websitearcan.es, with step-by-step documentation and an online shop

The boards

Original photos of the shield and of the batches that were made and shipped.

Finished ArCan shield: MCP2515 controller, transceiver and bus terminals
Finished ArCan shield: MCP2515 controller, transceiver and bus terminals
Another view of the ArCan shield, revision D
Another view of the ArCan shield, revision D
ArCan mounted on an Arduino in a home automation model connected over CAN bus
ArCan mounted on an Arduino in a home automation model connected over CAN bus
A batch of six freshly made ArCan boards
A batch of six freshly made ArCan boards
ArCan boards ready to ship
ArCan boards ready to ship
Two ArCan shields packed for an order
Two ArCan shields packed for an order

ArCan on video

Videos from 2014 in which other developers present ArCan and use it in a car diagnostic system.

ArCan project (Arduino + CAN BUS)
ArCan project (Arduino + CAN BUS) Presentation of the ArCan shield, which gives Arduino CAN-Bus communication.
Diagnosis system with TQ2440 and QT over CAN BUS
Diagnosis system with TQ2440 and QT over CAN BUS A car diagnostic system that talks to the vehicle over CAN-Bus thanks to ArCan, connected to the OBD port.

The final degree project

ArCan was my final-year project at the Higher Technical School of Telecommunication Engineering of the University of Málaga. It was awarded first-class honours.

TitleInterconnecting Arduinos over CAN-Bus
DegreeTechnical Telecommunications Engineering, Electronic Systems specialization
SupervisorDavid Santo Orcero (Department of Electronic Technology)
DateJune 2013
GradeHighest distinction (matrícula de honor)
Contents104 pages: fieldbuses, the CAN protocol, hardware design of the shield with the MCP2515, the Arduino library, tests, a home automation application and the appendix devoted to ArCan

Download the thesis (PDF, 8 MB)

Download ArCan

The library is still available under the MIT license: you can use it, modify it or sell it, also in commercial projects. You just have to keep the notice with the author's name.

Download ArCan 2.0.0 (ZIP, 785 KB) Code on GitHub

To install it in the Arduino IDE: Sketch → Include Library → Add .ZIP Library. It includes the ArCan_Basic example and works on ATmega328 boards (Arduino Uno, Duemilanove and Nano). Versions 1.00 and 1.10 and the whole history are on GitHub.

Where ArCan is mentioned

Forums, repositories, press and university theses that cite it or used it.

What's next comes out on YouTube

Every week: restoration progress, new parts and what goes wrong, told as it is.

Subscribe to DominicZe