This is my blog, get your own :P

OBD

It was working for a while. I decided to tidy it up and use a breadboard. After plugging into the breadboard I tried to download a different program into the Nano, which worked. At some point the Nano’s driver in Windows stopped working. So I installed this http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.06%20WHQL%20Certified.zip. This also worked for a while. The next day it wouldn’t connect 😦

Everytime I tried to upload it would fail with “…avrdud…not in sync resp=0xca”. I eventually found this http://forum.arduino.cc/index.php?topic=73748.0 which provides instructions to test the board by performing a loopback test. I did that and the return from loopback test was “NON GENUINE DEVICE FOUND!”. Just great 😦

Go to https://github.com/stanleyhuangyc/ArduinoOBD and download the zip file

Extract the zip file to “ArduinoOBD-master” and browse to the “libraries” folder

Copy “MicroLCD”, “MPU6050” and “OBD” from the “libraries” folder to the Arduino libraries folder (located in ..\Documents\Arduino IDE\libraries)

Go back to the “ArduinoOBD-master” folder and open “nanologger”

Open “nanologger.ino”

When you compile it you will receive an error about the sketch being too big. If you haven’t installed the microSD card breakout then you don’t need the data logging features. Go to “config.h”, line 8 where it “#define ENABLE_DATA_LOG 1” and change it to “#define ENABLE_DATA_LOG 0”

Make sure you disconnect the OBD adapter wires from the Nano otherwise you won’t be able to download it