Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autowp/arduino-canhacker
CanHacker (lawicel) CAN adapter on Arduino + MCP2515
https://github.com/autowp/arduino-canhacker
arduino can canhacker lawicel mcp2515
Last synced: 13 days ago
JSON representation
CanHacker (lawicel) CAN adapter on Arduino + MCP2515
- Host: GitHub
- URL: https://github.com/autowp/arduino-canhacker
- Owner: autowp
- License: mit
- Created: 2016-03-13T09:45:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T15:52:26.000Z (11 months ago)
- Last Synced: 2024-11-09T09:37:59.800Z (about 1 month ago)
- Topics: arduino, can, canhacker, lawicel, mcp2515
- Language: C++
- Homepage:
- Size: 43 KB
- Stars: 383
- Watchers: 37
- Forks: 114
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-rainmana - autowp/arduino-canhacker - CanHacker (lawicel) CAN adapter on Arduino + MCP2515 (C++)
- awesome-canbus - arduino-canhacker - CanHacker (lawicel) CAN adapter on Arduino + MCP2515. (Hardware / Arduino)
README
# CanHacker (lawicel) CAN adapter on Arduino + MCP2515
Use that [Library](https://github.com/autowp/arduino-mcp2515) to communicate with MCP2515
## Features
Implement communication with CAN bus via MCP2515 by CanHacker (lawicel) protocol.
- send & receive can frames
- supports standart (11 bit) & extended (29 bit) frames
- supports remote frames (RTR)
- supports filter by ID (mask + code)
- interface using [Stream](https://www.arduino.cc/en/Reference/Stream): ability to work with Serial, SoftwareSerial, Ethernet and other
- supported can baudrates from 10Kbps up to 1Mbps
- supported modules with different oscillators (8, 16, 20 MHz), 16 MHz is default, use setClock if your oscillator is not 16MHz
- support [CanHacker](http://www.mictronics.de/projects/usb-can-bus/) (application for Windows)
- support [CANreader](https://github.com/autowp/CANreader) (application for Android)## Documentation
[English](docs/en/)
[Русский](docs/ru/)
## Library Installation
1. Install [MCP2515 Library](https://github.com/autowp/arduino-mcp2515)
2. Download the ZIP file from https://github.com/autowp/arduino-canhacker/archive/master.zip
3. From the Arduino IDE: Sketch -> Include Library... -> Add .ZIP Library...
4. Restart the Arduino IDE to see the new "canhacker" library with examplesTestes with Arduino Nano.
On Arduino Uno have problem with too long boot period and losing first command## Contributing
Feel free to open issues, create pull requests and other contributions