Giter Club home page Giter Club logo

nano-can's Introduction

nano-can

This repository has the arduino code for use with nano can PCB.
These were created as a cheap device for people to get into car hacking.

I take no responsibility for any issues caused if using either the hardware or the code

Requires the use of the following Arduino library

https://github.com/coryjfowler/MCP_CAN_lib

The can-receive-all sketch is the receive example from the above library which will show all messages on the CAN bus. CAN speed can be changed from 500kbps.
CAN messages are shown on the Serial Monitor
This can be used to find interesting messages

The nano-can sketch is configured for the OBD2 port speed (500kbps) and will listen to the can bus starting with CAN ID 0x128. Both can be changed in the code.
Whilst on the Serial Monitor it will show the changes between the messages

u and d will change the CAN ID up or down by 1
U and D will change the CAN ID up or down by 16
h shows the above information

The nano-slcan sketch is slcan compatible software but the serial chip on the arduino boards I use will only run at 57600bps


Schematic PCB Schematic Note:
Arduino Nano goes on the top with the URL on. Arduino Nano
MCP2515 Module goes on the bottom but DO NOT solder the Terminator Jumper or CAN pin headers to the PCB
You may require a jumper on the Terminator resistor MCP2515
L goes to OBD2 pin 14
H goes to OBD2 pin 6
Completed Top Completed TOP
Completed Bottom Completed BOTTOM
OBD2 connector OBD2 connector
PCB Top
PCB TOP
PCB Bottom
PCB BOTTOM

nano-can's People

Contributors

mintynet avatar

Watchers

James Cloos 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.