Pages: [1]   Go Down
Author Topic: CAR HACK: CAN-BUS Shield OBD + Arduino UNO R3  (Read 2801 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

tnx


* obd.jpg (254.08 KB, 600x600 - viewed 30 times.)
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

anyone?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 220
Posts: 13846
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


the proof it CAN(BUS) be done - -

you may need to update / downgrade the SD class ...
Logged

Rob Tillaart

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

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!
Logged

Sydney
Offline Offline
Full Member
***
Karma: 3
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: April 24, 2013, 11:19:54 pm by stanleyhuang » Logged


Pages: [1]   Go Up
Jump to: