Pages: [1]   Go Down
Author Topic: Need help coding Arduino to pass Canbus data to computer  (Read 768 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been trying to wrap my head around this but i'm at a loss.  I have server different windows Canbus monitoring software but I don't know how to code the Arduino to pass the info it gets from the Canbus to the computer so I can use the programs.  I can have the information scroll through the serial monitor but I need an easier way to be able to see the the changes in data. 

In addition to above does anyone have any information on building a Canbus gateway?  What I want to do is place the gateway between two nodes so I can identify what node sends what.  My ultimate goal is to read the information my RNS2 head unit sends to and from the infotainment bus then use the Arduino to emulate the radio and interface with the carpc. 

The code i'm using as a starting point is from seedstudio http://www.seeedstudio.com/wiki/images/5/55/CAN_BUS_Shield.zip
« Last Edit: December 07, 2012, 12:37:01 pm by that_kid » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
have server different windows Canbus monitoring software
All those collections of letters make sense. That collection of words does not.

Quote
but I don't know how to code the Arduino to pass the info it gets from the Canbus to the computer so I can use the programs.  I can have the information scroll through the serial monitor but I need an easier way to be able to see the the changes in data. 
So, you clearly DO know how to get the Arduino to pass data to the PC.

Quote
What I want to do is place the gateway between two nodes so I can identify what node sends what.
That will happen only if the two nodes identify themselves in some way.

Quote
My ultimate goal is to read the information my RNS2 head unit
Your what?

Quote
sends to and from the infotainment bus
The "infotainment" bus?

Quote
then use the Arduino to emulate the radio
And do what? I hope you realize that the Arduino is NOT a radio.

Quote
and interface with the carpc. 
"interface with" is such an overused, and meaningless term. No idea what a "carpc" is. Is that some kind of fish?
Logged

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

Quote
All those collections of letters make sense. That collection of words does not.

that's a nice result of auto completion from my phone.  It really knows how to mess things up.

Quote
So, you clearly DO know how to get the Arduino to pass data to the PC.


Yes I can get it to the serial monitor but I want to be able to get the information to a canbus monitoring program on the computer.  I guess what I'm after is a way to dump the data i'm getting from the canbus over the arduino's com port so that I can view it with software like that from canhack.de. 

Quote
Your what?
It's the navigation radio in my car.  I just added it for reference.


Quote
The "infotainment" bus?


Yes the infotainment bus that's located my car.  There are three Canbus networks in my car 1.Drive Train 2. convenience 3. infotainment
The infotainment bus is what the navigation, radio, amplifier, steering wheel buttons and a few other things ride across.

Quote
And do what? I hope you realize that the Arduino is NOT a radio.

It's not??  I thought I could add a CD, radio and tape deck shield and it would work j/k

I removed the radio and replaced it with a car computer (apparently the words carpc mean nothing to you so I spelled it out).  The car computer provides all the functions of the original navigation radio plus much more.  So I want to be able to control parts of the computer from things like the steering wheel controls and also be able to put navigation information on the cars drivers display like the original nav unit did. 

Quote
"interface with" is such an overused, and meaningless term. No idea what a "carpc" is. Is that some kind of fish?

See above
Logged

Pages: [1]   Go Up
Jump to: