Go Down

Topic: CAR HACK: CAN-BUS Shield OBD + Arduino UNO R3 (Read 2 times) previous topic - next topic

latitude

Hi there,

i have some trouble with CAN-BUS
http://www.sparkfun.com/products/10039
and UNO R3 :-(
I have found and tried to run several codes from internet but with no succes...
Have anyone got it to work ? and can you share your code plz :)

tnx

dxw00d

Post the code you have tried, and explain what the problems were.

latitude

Hi, i have compiled "CAN-BUS ECU Reader demo sketch v4 - For use with Arduino 1.0"
from this site
http://www.skpang.co.uk/catalog/arduino-canbus-shield-with-usd-card-holder-p-706.html

ecu_reader_logger.cpp: In function 'void logging()':
ecu_reader_logger:262: error: 'class SdFile' has no member named 'writeError'


is there anything i'm missing?


robtillaart


the proof it CAN(BUS) be done - http://www.youtube.com/watch?v=PbA_bOO2mMw -

you may need to update / downgrade the SD class ...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

weidscreen

I was wondering if you were able to get this to work??? Every time I place my can-bus module on the R3 my serial monitor freezes up and stops...  When I try and upload with the canbus attached I get "avrdude: stk500_getsync(): not in sync: resp=0x00"

Any help would be awesome people!!

stanleyhuang

#6
Apr 25, 2013, 06:04 am Last Edit: Apr 25, 2013, 06:19 am by stanleyhuang Reason: 1
I recommend you this Arduino OBD-II UART adapter.





It just makes vehicle connectivity easy with dedicated Arduino library and also provides 5V power supply for Arduino from the 12V DC output from OBD-II port.

Go Up