Getting started with CAN bus: Difference between revisions
Line 11: | Line 11: | ||
== I want to analyse CAN bus traffic and possibly do some serious hacking... == | == I want to analyse CAN bus traffic and possibly do some serious hacking... == | ||
If you want to analyse CAN bus messages on an existing vehicle, you'll need the help of some software. You can use the free [https://www.savvycan.com SavvyCAN software] together with a [[CAN bus with Arduino Due|suitably configured Arduino Due]]. | If you want to analyse CAN bus messages on an existing vehicle, you'll need the help of some software. You can use the free [https://www.savvycan.com SavvyCAN software] together with a [[CAN bus with Arduino Due|suitably configured Arduino Due]]. Alternatively, you can buy a nice [http://store.evtv.me/proddetail.php?prod=ArduinoDueCANBUS pre-configured Due-based kit from EVTV]. | ||
== I want to build a CAN bus device... == | == I want to build a CAN bus device... == | ||
Once you've got your CAN messages sorted, you can build a dedicated device to send or receive those messages. For example, you could build a custom battery gauge. Or add a touch screen controller. Anything is possible! It's possible to re-use the Arduino hardware described above. Alternatively, something small and reasonably robust like a [https://www.pjrc.com/store/teensy36.html Teensy 3.6] might be a better choice. | Once you've got your CAN messages sorted, you can build a dedicated device to send or receive those messages. For example, you could build a custom battery gauge. Or add a touch screen controller. Anything is possible! It's possible to re-use the Arduino hardware described above. Alternatively, something small and reasonably robust like a [https://www.pjrc.com/store/teensy36.html Teensy 3.6] might be a better choice. |
Revision as of 18:29, 9 November 2020
This page will help get you started with CAN bus.
Some people will tell you CAN is hard or complicated. They're wrong. The hardware you need isn't expensive and you don't need to be a programming whiz. Even Damien can do it.
There are a few routes you can take, depending on what you want to do:
I want to receive or send simple CAN bus messages...
If you already know which CAN bus messages you want to send or receive, one of the cheapest ways to do this is with an Arduino Uno and a suitable CAN bus shield.
I want to analyse CAN bus traffic and possibly do some serious hacking...
If you want to analyse CAN bus messages on an existing vehicle, you'll need the help of some software. You can use the free SavvyCAN software together with a suitably configured Arduino Due. Alternatively, you can buy a nice pre-configured Due-based kit from EVTV.
I want to build a CAN bus device...
Once you've got your CAN messages sorted, you can build a dedicated device to send or receive those messages. For example, you could build a custom battery gauge. Or add a touch screen controller. Anything is possible! It's possible to re-use the Arduino hardware described above. Alternatively, something small and reasonably robust like a Teensy 3.6 might be a better choice.