Giter Club home page Giter Club logo

arduino-canhacker's Introduction

CanHacker (lawicel) CAN adapter on Arduino + MCP2515

Use that Library 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: 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 (application for Windows)
  • support CANreader (application for Android)

Documentation

English

Русский

Library Installation

  1. Install MCP2515 Library
  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 examples

Testes 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

arduino-canhacker's People

Contributors

autowp avatar bigjohnson avatar dvv avatar thero0t avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.