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 😦
Here are the steps to fix it:
1) Follow http://electropit.com/index.php/2015/09/06/arduino-nano-v3-0-clones/. When it talks about burning the bootloader then follow http://www.instructables.com/id/How-To-Burn-a-Bootloader-to-Clone-Arduino-Nano-30/?ALLSTEPS
2) Install the Arduino USB drivers from C:\Program Files (x86)\Arduino\drivers\
And it works again! 🙂
The moral of the story? Buy genuine or buy compatible boards from a reputable source such as Core Electronics.
I bought one of these recently: http://freematics.com/pages/products/arduino-telematics-kit-1/
It’s an Arduino based OBD interface device. The kit comes with:
- OBD II Adapter (Arduino powered)
- Arduino Nano
- I2C OLED screen (128×64)
They even provide a sample Arduino program for the Nano and it works!
Here’s my guide to setting it up:
- 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
- Now you can compile and upload!
- Connect the wires as per http://freematics.com/pages/products/arduino-telematics-kit-1/
- Connect to your car and voila! 🙂