Modern Vehicles all come equipped with a CAN-BUS Controller Area Network, Instead of having a million wires running back and forth from various devices in your car to the battery, its making use of a more clever system.

All electronic functions are connected to the TIPM, (Totally integrated Power Module), such as solenoids/relays to lock the doors or mini motors to wind the windows ect ect.

From each node (IE Switch pod that controls your windows or electric door locks) it broadcasts a message across the CAN. When the TIPM detects a valid message it will react accordingly like, lock the doors , switch on lights and so on.

Because you can :-)

What you need.
Arduino UNO + Seeed CAN-BUS Shields
You can get the CAN-BUS Shield from SeeedStudio.com

Step 1: Setting Up an Interface for Connecting Your Laptop.

The Seeed CAN-BUS Shield has a header dedicated for the CAN-High (+) and CAN-Low (-)

Obviously all vehicles aren’t the same so the location to tap into the CAN-BUS will differ from vehicle to vehicle.
In this instructable I’m using a Jeep Wrangler (AKA Jeep JK) 2010, Rubicon 2DR , with a manual shifter.

The easiest way into the bus is to connect into the radio, at the back of the radio it has a White/Orange (- CAN-L) and White Grey ( + CAN-H ) wire. From there I routed the cable through to the glove box of the Jeep.

Step 2: Programming the Arduino to Accept Messages From the CAN-BUS

First of all you need the Seeed CAN-BUS Shield’s Library downloadable at GIT-HUB

After downloading the CAN-BUS Library you need to import it into your Arduino Libraries folder.
In the Arduino Editor Select Sketch --> Import Library --> Add Library and then point it to the Zip file you downloaded, (No need to unzip the contents it can be imported as is.

Tip: You might have to rename the zip as the Arduino IDE does not like unusual characters , so maybe try canbus.zip instead of can-bus.zip

Something important to note:

The CAN-BUS Shield library comes with a working example, it does not include getting the CAN-ID which is quite important to know when analysing the data, So i modified it slightly to include the ID also to seperate all values with a comma so that you can use it as a csv file.

Copy and paste the below code into your Arduino Sketch Editor.

#include "mcp_can.h"<br>
INT32U canId = 0x000;
unsigned char len = 0;
unsigned char buf[8];
char str[20];

void setup()
if(CAN_OK == CAN.begin(CAN_125KBPS))
        Serial.println("CAN BUS Shield init ok!");
        Serial.println("CAN BUS Shield init fail");
        Serial.println("Init CAN BUS Shield again");
        goto START_INIT;
void loop()<br>{
    if(CAN_MSGAVAIL == CAN.checkReceive())
        CAN.readMsgBuf(&len, buf);
        canId = CAN.getCanId();
        for(int i = 0; i<len; i++)

Hit the upload button to upload the sketch.

Step 3: Connecting to the Arduino + CAN-BUS Shield to Get CAN Data

Now you need to make sure the CAN-BUS Shield has been connected to the vehicle's CAN-BUS, via the CAN-H & CAN-L Connector.

If you are sure everything has been connected then use putty to connect to the shield via Serial.

Putty is actually a SSH Client but can also handle serial data and it works great for this purpose.

Look at the Image attached to this step for the Serial port configuration.

Once you connect, Your vehicle's CAN-BUS will bombard putty with CAN-BUS Data.

Step 4: Analyze the Data

From here you need to figure out how to detect the messages, such as turning on lightts, open windows ect ect.

When connecting with putty you can log all incomming data to file as explained in the screenshot from the previous step.

Connect and log to a file called file1.csv and let it run with all windows closed, vehicle's key in on position but not started, and let it run for about 5 minutes, Kill the putty session, then restart the Arduino (The Sketch does not clear the buffer), And this time log all data to file2.csv , once putty starts duming data, quickly press a buton (Only one at a time cus you will not know which message goes to which button), once you pressed a button a few times quickly disconnectputty from the can bus.

So theoretically all messages in File2.csv thats also in File1.csv should be ignored/filtered the messages thats left over in File2.scv should be the message button presses.

If you have some programming skills you might find a better way to manage this.
I cretated a basic application in VB6 , you can look for more information about the tool on my Blog
Unfortunatly the application is a bit incomplete, eventhough it has the capability to connect directly to the Arduino Via Serial it doesnt work propperly, so please ignore the Serial Connection part.

It will basically take the fisrt file run which you were dumping data for ~5 Minutes (ignoredatabase.can) and incomming.can as the log file which includes button presses.

I encourage you to find a better way to analyse the data as this can be very stime consuming.

Step 5: Sending a Message Into the CAN-BUS

To send a message into the CAN-BUS is pretty straight forward.

The below will send the "Sway-Bar" disconnect on a Jeep Wrangler.

Note the CAN-ID needs to be converted into HEX format, an easy way to convert it is to use the Windows Calculator, Using "Programmer Mode" for Windows 7 Calculator

From the below code you can see its sending it to CAN-ID 2B0 = 688

#include <mcp_can.h><br>#include <spi.h></spi.h></mcp_can.h>
void setup()
    if(CAN_OK == CAN.begin(CAN_125KBPS))                   // init can bus : baudrate = 500k
        Serial.println("CAN BUS Shield init ok!");
        Serial.println("CAN BUS Shield init fail");
        Serial.println("Init CAN BUS Shield again");
        goto START_INIT;
void loop()
    unsigned char stmp3[4] = {3, 0, 3, 0};
    CAN.sendMsgBuf(0x2B0, 0, 4, stmp3);  

Step 6: A Prototype Built Using the Information From This Instructable

Not going into much detail, this is just to show you whats possible.

This Arduino + Seeed CAN-BUS Shield has an added feature, I built a Button & 4 LED Display.
When pressing the red button it will cycle through all posible LED states and each state represents a feature.

Pressing the yellow button will send the message to the bus.

<p>I can confirm what @<a href="https://www.instructables.com/member/MoniCris" rel="nofollow">MoniCris</a> has said: Use the GROUND/GND Luke! Also consider cutting P1 (right above the CAN-H screw)</p><p>I had to do both to finally get my first message from the damned shield in my Ford Mondeo.</p>
<p>can we not just drive the can wires through the arduino? <br>(with some more basic electronics if neccesary)</p>
<p>There are too many errors in the code above. First, there is HTML, &quot;&lt;br&gt;&quot; is found in at least two places.</p><p>Also, I get an error:</p><p>&quot;exit status 1</p><p>'CAN' was not declared in this scope&quot;</p><p>for this line:</p><p>&quot;if(CAN_MSGAVAIL == CAN.checkReceive())&quot;</p><p>I think I fixed it by adding code from the original example files, just before setup(), such as:</p><p>&quot;const int SPI_CS_PIN = 9;</p><p>MCP_CAN CAN(SPI_CS_PIN); // Set CS pin&quot;</p><p>But there is also an error with &quot;buff&quot; being undeclared!</p><p>I imagine there are other errors that the compiler didn't catch. Not very usable.</p>
<p>this complies OK at least on my IDE</p><p>#include &lt;SPI.h&gt;<br>#include &lt;mcp_can.h&gt;<br>INT32U canId = 0x000;<br><br>unsigned char len = 0;<br>unsigned char buff[8];<br>char str[20];<br><br>const int SPI_CS_PIN = 10; // select your can shield cs pin<br><br>MCP_CAN CAN(SPI_CS_PIN); // Set CS pin<br>void setup()<br>{ <br>Serial.begin(115200);<br>START_INIT:<br>if(CAN_OK == CAN.begin(CAN_125KBPS))<br> {<br> Serial.println(&quot;CAN BUS Shield init ok!&quot;);<br> }<br> else<br> {<br> Serial.println(&quot;CAN BUS Shield init fail&quot;);<br> Serial.println(&quot;Init CAN BUS Shield again&quot;);<br> delay(100);<br> goto START_INIT;<br> }<br>}<br><br>void loop(){<br> if(CAN_MSGAVAIL == CAN.checkReceive())<br> {<br> CAN.readMsgBuf(&amp;len, buff);<br> canId = CAN.getCanId();<br> <br> Serial.print(canId);Serial.print(&quot;,&quot;);<br> for(int i = 0; i&lt;len; i++)<br> {<br> Serial.print(buff[i]);Serial.print(&quot;,&quot;);<br> }<br> Serial.println();<br> }<br>}</p>
<p>Hi everyone,</p><p>Is it possible to program the Arduino board with a small application which performs some calculations with the CAN data read from the OBD layer in real-time.</p><p>Does Arduino support this kind of applications ?</p><p>Thanks in advance</p>
I want to hack my honda civic 2008 model can you provide a step by step guide for doing it??
<p>I was wondering if you could help me out, I would like to monitor certain ids, no need to send just received. I got the arduino and shield to communicate with the computer. Everything is working. My problem is that I only get data if I disconnect/re connect the cable to the CAN device. It is not looping. I was hoping I could do a delay, and then request data for some ids without having to switch the device off and on but I am not understanding quite right how to do this. I appreciate any advice. </p>
<p>I just built a filter tool to compare 2 files and output the found commands to a third file.</p><p>here you go:</p><p><a href="https://www.dropbox.com/sh/ozqvv0htxu4555l/AACAW4oCjirvyZPjCFSdR19fa?dl=0" rel="nofollow">https://www.dropbox.com/sh/ozqvv0htxu4555l/AACAW4o...</a></p>
<p>Hi,</p><p>I have bought a OBD2-DB9 cable and coupled it with a <br>serial to USB connector to connect to my laptop. I have installed the <br>touchscan software from scantools.net and currently using the trial <br>version which has all the features enabled for two weeks.</p><p>I have <br>also installed the driver for serial to com port.. When I connect it to <br>my VW Vento 2011 model, there is nothing detected by the software. I <br>have tried it with various protocols and nothing seems to work.</p><p>Here is the connection flow:</p><p>VW Vento OBD2 port &gt;&gt; OBD2-to-DB9 &gt;&gt; DB9-to-USB adapter &gt;&gt; connected to laptop through USB <br></p><p>Am I missing something here, is there a separate driver required for OBD2 to DB9 as well. Please help me.</p><p>Thanks!!!</p>
The Problem is that Volkwagen blocked the OBD2 CAN Pins for incoming and output messages by default. To bypass this you can tap the CAN cables directly which are located inside the steering post for best access. Look for 2 green wires, the one with black mark is can low
<p>Hi MichaelB213, What you have said seems to be the case in my car as well. Last weekend I had a doubt in the canbus shield and the OBD2 port. So firstly I taped the can wires (Convenience and Powertrain) behind the BCM white port, hoping that would provide the necessary data signals. I have tabled the pin out of the BCM from where I have taped the wires.</p><br> <br> <strong>Pin Number of BCM VW<br></strong><br> <strong>Description</strong><br> <br> <br> 18<br> Powertrain Low<br> <br> <br> 19<br> Powertrain High<br> <br> <br> 20<br> Convenience High<br> <br> <br> 21<br> Convenience Low<br> <br><p>I tried using Arduino UNO and the shield with the default &quot;receive_check&quot; example to find if there is any signal.<a href="https://www.instructables.com/files/deriv/FU0/TE3M/IFCDHTDC/FU0TE3MIFCDHTDC.LARGE.jpg" rel="nofollow"></a></p><p>I had configured the bit rate to 500KBPS when reading the Powertrain wires and 100KBPS when reading the convenience. Still there was no signal read from both the can wires. I was sure that by now something should be read from the can wires, as I have bypassed the gateway and directly accessed the BCM.</p><p>I had a doubt on the compatibility of the shield with the library, so I used a different hardware this time from my friend that is used for analyzing the can signals with a provided software. This time there were loads of data read in the software using his device :). Around 25 unique CAN IDs were seen in the convenience and around 35 were found in powertrain.</p><p>I then tried using the same hardware in the OBD2 port and again no signals. So, it is proved that the OBD port in VW is blocked for sending and receiving signals as you have said MichaelB213. Thank you for the information.</p><p>I am going to try the same with the <a href="http://www.seeedstudio.com/wiki/CAN-BUS_Shield" rel="nofollow">Seedstudio shield</a>. Will keep this thread updated on the progress.</p><p>I am expecting to get the shield next week. Later, I would analyze the can ids and try to find the ones I need.</p>
Take care about the meaning of High and Low. Does not mean + and - !!!<br>Is High signal and Low signal. You need to connect also the ground. Was working, only because you get the voltage from the car, so, the same ground! <br>Good job anyway.
<p>good job! what's about ground? is it shared between arduino and car?</p>
<p>Hello!</p><p> I have a quick question: Let's say that I receive the info &quot;24 0 255&quot; from ID 13. To send the info &quot;25 0 255&quot; to ID 13, shall I use the address &quot;0xD&quot; and the info in decimal, or also in hex? Also, the address should be like I wrote it or am I wrong? </p><p>Thank you in advance!</p>
<p>Hi</p><p>I received a radio from a 2010 JK from a friend that is building a trail rig. Can you please give me the CAN BUS message for ignition ON. I do not have a vehicle to check it myself.</p><p>Regards</p>
<p>One quick q: Shouldnt the code read &quot;unsigned char buff[8];&quot; instead of &quot;unsigned char buf[8];&quot;? Thanks!!</p>
<p>Hi , Wow I just just deleted the video, then I received your message my Youtube channel got taken over by a reschedules scam bastard company called RecStudios.TV, Blame them :-) for killing open source, Not to worry I'm in the process of creating a new channel and will re-upload all the channels.</p>
<p>The video says &quot;This video has been removed by the user&quot; What gives? Do you have an alternative link?</p><p>Good instructable by the way.</p>
<p>Hi, </p><p>I am wondering, can I read the data about instantaneous fuel consumption via this CAN BUS?<br>The car is Audi A4 B5 1998.<br><br>Thank you for any advice!</p>
<p>Hi !</p><p>Do you know if it's possible to connect the shield to a CAN Low-speed. I reach to connect its on OBD, but not behind the radio.</p><p>Someone could help me ?</p><p>Thank you</p>
<p>Hi, im new on this i was thinking if someone can help me, i'm trying to get the <br>VIN number from the CAN-BUS i want to know if that its possible.<br>Thank you</p>
<p>Hi Kevin.</p><p>Really sorry for the late reply, yes you can get the VIN number and its quite easy.</p><p>Just remember when requesting a VIN number the whole VIN does not fit inside 1 message so it will be transmitted over 2 messages.</p>
<p>Save my day :D<br>I just dont know yet all of the hardware i will need to use.<br>would be great if u help me :)<br>like a list of what i need, and a quick code to request the VIN number<br>Thank you</p>
<p>Hi guys. I'm glad that someone made this project because i have real need to access can bus on trucks, trailers and buses. I have workshop for repairing air brakes. The problem is that newer vehicles have EBS (electronic brake system) with pressure,speed and steering sensor and ECAS (electronically controlled air suspension) with bunch of sensors and i don't have equipment to test them in real time. All i can find from manufacturer is diagnostic equipment that connects to the vehicle OBD connector but i can't use it because i have to test valve on test bench.</p><p>It's not difficult to make this interface but i will need some software to translate the code to user-friendly message. Does someone know which software will suits for that?</p>
<p>Hi, first of all Im a newbie, have no tech. experience and knowledge. Im just here to help my friend, he does not know English. He repair different car brand's tapes/radio units/screens. And he said me, someone bought &quot;orange 5&quot; programmer and bought a special software from Ukraine (we dont know who it was). This software seller asked him which car brands he need. And depends on that brands, he gave him a software. The system working like that : For example he got a Chrysler 300C radio-tape unit. He connect it to orange 5, and orange 5 connected to his computer. He just choose &quot;chrysler 300C&quot; from his software, and this software send CANBUS signal of Chrysler, and his radio unit working on his bench. Do we need certainly Orange 5 or another programmer can do that ? And the important thing how we can find that program seller from Ukraine, or do you know another programmer guy? We need the canbus signals for chrysler 300C, Dodge Nitro and Grand Chreeko. Thanx for reading and helping...</p>
<p>Hi,</p><p>Thanks for doing all these stuffs to let us know more about CAN. I have used a phyton sniffer and arduino can-bus shiled to analyse the data. Im trying to figure out how aircon works. I have found all the related CAN-BUS ids and datas for the aircon. When i send them back it doesn&rsquo;t care my data it keeps sending its own data. I used this way to lock unlock the doors, open the windows, move the seats, lights and so on. i used the aircon id and data for same brand car but different model it worked. I wonder that it maybe LIN-BUS or something else? here is my id and sample data for fan level and temperature:</p><p>CAN ID: 856, data: 0, 0, 0, 0, 21, 21, 153, 17</p><p>CAN ID: 856, data: 0, 0, 0, 0, 21, 21, 153, 34</p><p>CAN ID: 856, data: 0, 0, 0, 0, 21, 21, 153, 51</p><p>17,34 and 51 are for fan level and 21 is for temperature</p><p>The car is 2015 Model.</p>
Hi , Glad you can make use of the info.<br><br>The problem is the CAN-BUS Node that controls the aircon, sends the state of the position of the switch the whole time, and cant be stopped.<br><br>You can try to spam it by sending your desired can ID repeatedly, but it might cause it to behave erratic, I.E you send a message to make the aircon blow fast and the control node will in between at the same time send a message to make the aircon blow slow so it will cause it to go fast and slow, and might even cause damage.<br><br>I had the same with my head lights, I can turn them on if i spam the bus, but when looking at the head lights i can see that they dip and dim the whole time.
<p>Actually yes the aircon unit sends the signals per second and i send them 5 times in a second but it does not answer my data. But I know that other car with same data and same id response my data if i send my desired id and data then the bus change to my id and data then even i stop sending, it keeps sending my own data. The difference is that these two cars have two different aircons but the CAN-BUS signals and ids are the same. The aircon unit has linbus and canbus cables behind, and when i cut the linbus cables then i change the fan level to the max, it changes on the screen but the fan is not working, if i put the linbus cable back and it detected the fan level on the screen by CANBUS data and it worked in max speed too. Im not really sure whether the aircon uses CAN-BUS or LIN-BUS. May i have your advice ? </p><p>Thank you.</p>
<p>I was hoping someone could help me out, I install control modules in handicap vehicles to help people (quadriplegics) be able to drive. I have a very difficult time getting around these can bus systems and usually have to out source the vehicles I have with can bus! any suggestions on how to get by or cheat the can bus system? and also can anyone tell me if a 2015 Cadillac escalade is can bus?</p>
<p>Yes all of the newer vehicles produced are CAN. I want to say that on the newest Cadillacs they have something like 160 modules/nodes in the CAN system that control everything! I don't know how you modify these vehicles for the handicapped, but if you can get a working knowledge of the CAN systems you should be able to transfer control of just about everything in the vehicle to a single point. (ie. steering wheel, touch screen). I would love to hear how you accomplish these jobs. pictures? keep up the good work.</p>
<p>Hi JerryB3, Regarding the Cadillac, if its a 2015, I would be very surprised if it hasn't got a CAN-BUS system, vehicles from I think (I stand to be corrected) from about 1996 has a can bus, and in some countries its required to have a diagnostics system, and currently in almost all cases using CAN-BUS is the most viable.</p><p>What does the control module need to do ? Why not move/duplicate I.E the Throttle controller, and assuming such a vehicle will use an automatic transmission , what about the brakes ? how would the Can-bus play a role there?, I dont think you need to mess with the can bus to make a vehicle drivable for quadriplegics.</p>
<p>They are control modules that allow my customers do windshield wipe and wash, horn, cruise controle, dimmers, turn signals all in one key pad that is attached to the steering wheel</p>
<p>Ah OK that makes sense, See the problem is not all vehicles make use of the same messages that gets sent back and forth to communicate to various features such as the window wipers ect ect, So you would need to eavesdrop on the CAN-BUS and find them, then send them back into the system, I.E In my case I'm able to switch the lights on, Turn on the Differential lockers, Swat bar, even open and close the central locking but i had to find them by analyzing the CAN-BUS, If you are interested, check out the following link</p><p><a href="http://www.techtinker.co.za/viewtopic.php?f=14&t=18" rel="nofollow">http://www.techtinker.co.za/viewtopic.php?f=14&amp;t=1...</a> </p><p>Ive developed a software tool to help you scan the bus and analyze it to make better sense on the can-bus messages, from there you can build your own controller to send the messages back into the system.</p><p><br>Soon I will upload a video tutorial to demonstrate how the software works.</p><p>See my youtube video (Please bare with the poor quality)</p><p><iframe allowfullscreen="" frameborder="0" height="281" src="//www.youtube.com/embed/cAHTUXI8yVY" width="500"></iframe></p><p> I created a very rough prototype, that turns on/off the stability control and sway bar. the prototype in the video can be easily improved in order to make it user friendly</p>
<p>Thank you so much for the insight, I will show this to my engineer.</p>
<p>The easiest way to reach CAN-H and CAN-L is through the OBDII DLC under your dash. CAN runs off of PIN 6 and PIN 14 while using PIN 5 as its common signal ground. With your shield setup this cable would be perfect. <a href="http://www.thoroughbreddiesel.com/mads/obdiicable.htm?gclid=CP6f5_D18MMCFRNafgods1sAIA" rel="nofollow">http://www.thoroughbreddiesel.com/mads/obdiicable.htm?gclid=CP6f5_D18MMCFRNafgods1sAIA</a> </p><p>PIN 6 CAN-H &lt;------&gt;PIN 5 SIG GND &lt;------&gt; PIN 14 CAN-L</p>
<p>Thank you very much for this nice instructable. Could somone post a sample code to show how to sniff for a specific CAN ID i.e. speed, RPM, Throttle Body?</p>
Can you explain better how you connected can-l can-h from the back of your radio?. I am planning to hack a ford fiesta. The radio has can-l and can-h in the radio connector. But how can I connect my arduino? Should i have to double each can cable?
Hi Patric, if you look at the main picture of this instructable, you will see you need an arduino and can bus shield that you need to attach to the arduino, you cant connect the radio directly to the arduino, excuse my ignorance but im confident the instructable i made explains clearly how to do it, if you alreadly know where the can wires go you simply connect it up as explained in the instructable.<br><br>Please let me know if i didnt understand your question.<br>
If i ever end up in Vancouver i will take you up on ur offer :-) canada is is on my bucket list one day when im big haha!, however think i will suffer a bit over there with my warm blood from south africa<br>Cheers
Hi andrew, glad i could help you get there &quot;half way&quot; :-) yes putty has to match the arduino sketch code were it reads serial.begin, i dont know what your audi's bus speed is my JeepJK's speed for the interiour is 125 where the default sketch code is set 500kb, try 125 or 250kb in my case the jeep went crazy when i had the can bus speed wrong because whilst its connected it actually temporary corrupts the bus sped and has to restart, suppose different vehicles react differently, in my case i also did not have to take out the resistor guess im lucky
<p>Martin, removing the R3 resistor was I think part of the key to unlocking this mystery for me. I can see that the rx and tx led's are flashing like mad with some of the examples included in the library but there is still something hindering my access to the data. Most likely this is my own skills with the Arduino but I'm getting there slowly ;)<br>So #1) THANK YOU!!!<br>#2) I'm not sure what to do next specifically.<br>- I can see that the serial speed needs to match within the sketch and the serial monitor (or PuTTY for that matter). This makes sense to me. As does the speed variable for communicating with the CAN-BUS... but I have no idea how to check this. Did you just have to set your speed to different levels until it worked? <br>- I have a 2014 Audi A4... not sure if that helps clarify anything with respect to CAN-BUS speed etc.<br>- Also, I have seen many examples of the code used in the sample library as 'what I should do to communicate' with my CAN-BUS... once I send that up to the Arduino/CAN-BUS Shield (which is connected to the OBD-II port via D9 port on the shield), am I supposed to just get the CAN-BUS init ok message and then a flood of data? Or is there something else I should be doing?<br>Your help is greatly appreciated!!! I already owe you a beer if ever you come to Vancouver!<br>(PS. I went and tried connecting to an older Toyota 4Runner and got the same result... nice init ok message and then nothing)</p>
Thanks Andrew, the instructables editor added the <br> tags and also dropped off some code, also , sounds like you are saying you are not getting any data, it could well be the node you are connecting to is already terminated with a resistor and need to desolder it, ( it mentions this in the shield's documentation, http://techtinker.co.za/viewforum.php?f=14&amp;sid=ff8b8574d38745f41c654fc6caeb4392 you will find some more onfo on it under thread building a can buss hardware sniffer hope it helps
<p>There are a few errors people should be aware of...</p><p>&lt;br&gt; tags in the first line and in the loop... as drmarcj pointed out, they should be removed.<br><br>Also, the reference to &quot;buf&quot; in the Serial.print command in the loop is misspelt as &quot;buff&quot;. Only 1 f or change the variable name up top to buff. Either way they should match.<br><br>Thanks for the addition of the canId variable... hopefully that solves my issue of only getting as far as &quot;CAN BUS Shield init ok!&quot; showing up in the serial monitor! I'll go test it again once I've done a little more work ;)</p>
<p>Hi, I have an error that says:</p><p>CAN.ino: In function 'void setup():</p><p>CAN.ino:20:18: error: 'CAN' was not declared in this scope</p><p>CAN.ino: In function 'void loop()':</p><p>CAN.ino:36:24: error: 'CAN' was not declared in this scope</p><p>Anyone have any ideas?</p>
<p>The CAN lines and ISO L &amp; K Lines report different data streams. why omit the ISO lines from the OBD2 port connector?. 2010 vehicles are required to have the OBD2 port connector for YEARS. This is only 2 more data lines.</p>
<p>To be honest I have no idea what you mean, by omitting the L &amp; K Lines ?<br>Doing <br> a quick google, K &amp; L is PIN 7 &amp; 15 on the OBD2 port, <br> (My Jeep 2010 does not even have wires populated to those pins, Its <br>making use of PIN6 and PIN14, which is CAN-High and CAN-Low)</p><p> If you mean, why connect directly to the CAN-BUS <br> , by tapping into the 2 wires at the back of the radio ? , Its because <br>this setup is not related to OBD2 at all, OBD2 replies only on request, <br>and no fly by data is visible (On my Jeep At-least) I'm sure some vehicles allow you to monitor from the OBD2 port, but its not what it was designed to do, seeing its there to send On board diagnostics., When you monitor it you get no data, you <br>have to send a command to get data back I.E Send 010C (Which is ISO for RPM) So the OBD2 Port will respond with an RPM value(s). (From what i have read you need to also supply a manufacturers pass code to access non standard PID, like TPMS Status)</p><p>But back on topic, This instructable is more about being able to monitor the BUS and demonstrating how you can send or &quot;Inject&quot; if you want, codes you received by recording them using a putty Or the CAN-BUS Super Sniffer tool which i created (Not part of this instructable, Ive abandoned the tool mentioned in this writeup, see more here <a href="http://www.techtinker.co.za/viewtopic.php?f=14&t=18" rel="nofollow">http://www.techtinker.co.za/viewtopic.php?f=14&amp;t=1...</a></p><p>Cheers</p>
<p>I have been thinking of tapping into my OBDII-connector by means of an Arduino bluetooth-shield and a commercially available OBDII BT-dongle. Would that be a comparable setup or more limited?</p>
<p>Ebay has OBD 2 connector cables combo converting RX232 to TTL serial data streeams Usually less than 10 USDollars</p>
should be good once its finished. You should figure out how to disabke OBDII codes and the light next...I'd pay for that one lmao
<p>You will actually pay to disable OBDII codes and the check engine light? Easy. Since you don't seem to care about performance or ease-of-repair, the easiest way to make the OBDII stop is to take the engine out of your car. Send me my check.</p>

About This Instructable



More by mviljoen2:Arduino Controlled Seed Incubator Jerrycan mount with parts bought from a hardware store. How to nativly run Netflix on a raspbery PI2  
Add instructable to: