arduino-CAN (community library)
Summary
Name | Value |
---|---|
Name | arduino-CAN |
Version | 0.0.1 |
Installs | |
License | MIT |
Author | Sandeep Mistry sandeep.mistry@gmail.com, Nils Zottmann |
URL | https://github.com/nzottmann/arduino-CAN |
Repository | https://github.com/nzottmann/arduino-CAN.git |
Download | .tar.gz |
CAN bus for Particle using the MCP2515 This library is intended for the mesh boards which have no onboard CAN controller
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
Arduino CAN
A Particle library for sending and receiving data using CAN bus with MCP2515. Based on https://github.com/sandeepmistry/arduino-CAN, with small changes to be compatible to Particle.
The library is only tested with the mesh modules Argon, Boron and Xenon. Older generations have an on-chip CAN controller.
Compatible Hardware
- Microchip MCP2515 based boards/shields
Microchip MCP2515 wiring
Microchip MCP2515 | Particle |
---|---|
VCC | 5V |
GND | GND |
SCK | SCK |
SO | MISO |
SI | MOSI |
CS | 10 |
INT | 2 |
CS
and INT
pins can be changed by using CAN.setPins(cs, irq)
. INT
pin is optional, it is only needed for receive callback mode. If INT
pin is used, it must be interrupt capable via attachInterrupt(...)
.
API
See API.md.
Examples
See examples folder.
License
This library is licensed under the MIT Licence.
Browse Library Files