Audio, Video & Electronics Post questions, reviews, and other general info about the G's Nav, sound system, or satellite radio

Help with CAN Bus Please

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old Nov 30, 2009 | 07:38 PM
  #1  
NFSP G35's Avatar
Thread Starter
|
? = 2B || !2B
iTrader: (22)
Joined: Apr 2009
Posts: 22,160
Likes: 852
From: Tallahassee, FL (or thereabout)
Premier Member

Help with CAN Bus Please

I'm going to be doing a CarPC soon, and I would really like to integrate some amount of control over the AC, Windows, Locks, Lights, etc. I know most if not all of those things are attached to the CAN bus (or is it 'CANBUS'?), but I don't really know how to access it. I have a ELM knockoff and I've tried monitoring the bus, but it has soooooo much chatter it just overruns the buffer and I can't make heads or tails of it.
I do know a little about programming (C++ mostly) but I'm deffinately not what you would call a 'hexhead'
I'm kindof at a loss even as to where to start, so any information would be helpful,
 
Reply
Old Aug 14, 2010 | 04:19 PM
  #2  
NFSP G35's Avatar
Thread Starter
|
? = 2B || !2B
iTrader: (22)
Joined: Apr 2009
Posts: 22,160
Likes: 852
From: Tallahassee, FL (or thereabout)
Premier Member

So, nobody huh?
 
Reply
Old Aug 14, 2010 | 06:29 PM
  #3  
Wrathernaut's Avatar
Gentle Manne of Leisure
15 Year Member
Liked
Community Favorite
iTrader: (5)
Joined: Nov 2008
Posts: 7,994
Likes: 1,050
From: Pennsylvania
Premier Member

There are usb-actuated relay boards you can buy, which you can wire up to simulate the switches more directly, and avoid interfacing directly with the CAN.

http://www.relaycontrollers.com/Rela...lay_controller

Or you could just do a wireless one, connect to it with your wifi-enabled phone and control it that way:

http://www.relaycontrollers.com/Rela...ay_Controllers
 
Reply
Old Aug 14, 2010 | 06:33 PM
  #4  
NFSP G35's Avatar
Thread Starter
|
? = 2B || !2B
iTrader: (22)
Joined: Apr 2009
Posts: 22,160
Likes: 852
From: Tallahassee, FL (or thereabout)
Premier Member

^I work with card access and have programmed microcontrollers in the past... I could do a more direct approach... but it would be a wiring nightmare

I think I might have an idea on how to do the can bus though. I'm thinking about getting a can "sniffer" and starting on the ac controls once I install the metra kit.
Maybe if I can isolate the ac commands, I can learn a little something about the rest of the system.
 
Reply
Old Oct 15, 2012 | 08:18 PM
  #5  
Pipsqueak's Avatar
Registered User
Joined: May 2004
Posts: 16
Likes: 0
From: Bay Area - California
Did you ever get started on this project? I'm kind of curious about making my own info system as well for a 2004 G35x.

Was considering buying this to get a start:
http://www.microchip.com/stellent/id...cName=en537141
 
Reply
Old Oct 18, 2012 | 09:50 PM
  #6  
NFSP G35's Avatar
Thread Starter
|
? = 2B || !2B
iTrader: (22)
Joined: Apr 2009
Posts: 22,160
Likes: 852
From: Tallahassee, FL (or thereabout)
Premier Member

Nope. I got a new job and about 10,000,000 other projects that took all my time.
 
Reply
Old Oct 18, 2012 | 11:32 PM
  #7  
bythabay's Avatar
Registered User
iTrader: (5)
Joined: May 2005
Posts: 2,174
Likes: 77
From: Santa Clara, CA
The controller area network (CAN) bus is not an easy one to reverse engineer. Each CAN bus since '96 has to implement a subset of available PIDs (process IDs - used for monitoring and actuating) for smog purposes. That's what your typical ODB2 scanner will read. In order to find all the PIDs, including those that will control windows, etc, you could take the approach of monitoring all values (assuming you knew the word size for that bus) and you could use the process of elimination of figure out which PIDdoes what.

I know for a fact that in order to get the PIDs all defined for you for easy access, you will have to pay nissan big bucks - that's what all the aftermarket companies like snapon do to provided the functionality that they do.

If someone wants to work on a PID sniffer open source project, let me know - I would be interested in participating.
 
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
speedkills20
Audio, Video & Electronics
2
Oct 9, 2005 09:57 PM
SoCalTed
Southern California
3
Sep 3, 2004 10:50 AM
808HerbzG35
West
1
Mar 6, 2004 04:37 AM



You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 06:05 AM.