Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 46

Thread: CANbus 2-wire to USB adapter

  1. #11
    Low Bitrate
    Join Date
    Jul 2009
    Location
    Squamish, BC
    Posts
    93
    For sure CAN signals are on the back of the 08/09 radio head units. There are wiring diagrams on nasioc. The pins are pink (high) and green/red (low) with black (ground) all next to each other.

    This site claims that Subaru used CAN exclusively since MY2006 onwards.
    http://www.etools.org/files/public/g...s-02-17-03.htm

    Look for a wiring diagram for your head unit in the audio sections. You do also have them in the odb2 connector which is easily available. I think pin 5 is ground, 6 and the pin opposite 6 (?? 14) are can. Same colour codes as behind the stereo.

    I am in the process of decoding messages that are broadcast by default to the head unit and about to start making requests of engine data. I got side tracked on plugging into the fast obd2 connector but hit too many data errors at that speed. Vehicle specific message would be especially difficult so I wrote a debug tool that monitors each message using all forms of decoding so I can scan for which modes make sense on each message. I wish I had more time to spare but at least I'm making progress.

    Goal for this weekend is identify all the steering wheel controls so that I can capture and control the audio/video in Centrafuse.

    Still in the learning phase unfortunately but once I have the tools I need and the knowledge, capturing messages is the easy part.

  2. #12
    Newbie
    Join Date
    Feb 2007
    Posts
    1
    any update on that , i'm thinking on using that on my accord 2009

    how can i capture the messages on can bus ?

  3. #13
    Newbie lossol's Avatar
    Join Date
    Jun 2005
    Location
    Virginia
    Posts
    21
    Hey Petrie - How is the project going? Any updates?

  4. #14
    Low Bitrate
    Join Date
    Jul 2009
    Location
    Squamish, BC
    Posts
    93
    It's going slowly. Lots of distractions keep appearing (like work).

    I have refined the message handler engine and optimized the capture to only feed through messages I am interested in. That gets set by the screen you choose which knows what it needs to display.

    Right now I'm in a phase where I am building the UI for the gauges. I have finished the digital gauges (large, small, slim bar, multi-bar) and they have peak recall. The analogue gauges are under development. Most of that means I am experimenting with a style that suits my car really well.

    I have 2 cars to detail for winter and then I can switch back to this job. Snow's forecast for Friday so this job is on the shelf.

    I'll try to post some screenshots within the month. Sorry if it seems like things a slow (well they are). This project does not get the priority at the moment.

  5. #15
    Low Bitrate
    Join Date
    Jul 2009
    Location
    Squamish, BC
    Posts
    93
    Quote Originally Posted by lossol View Post
    Hey Petrie - How is the project going? Any updates?
    Things have been progressing slowly because I was distracted with other car projects. Anyway, I finally got around to making the hookup to the car a permanent deal. Now I just have to plug a computer into a usb lead in the passenger footwell (ready for the underseat cpu install). A permanent connection makes it easier to just spend 10-15 minutes testing a change or new signal.

    Here's a sample picture (it was not connected to the car).


    I am hooked up to the 500K bus.

    I support both broadcast CAN messages and OBDII requests for info. Some things are already broadcast on this CAN bus so I don't need to query them but other things (like rear diff temps) I use the request mode. Basically, if you can identify the OBDII code you can define a signal. Each gauge is associated with a signal. Adding new gauges is as simple as adding simple definitions to the config files and should work for any CAN enabled car even if you ignore all the broadcast CAN messages.

    I have 4 types of gauges (you see only 2 in the picture above). Digital (shown) and Analog are the larger gauges, slim value (shown) and slim bar are the smaller ones. I will be adding vertical bars at a later date.

    There's an XML config file for the ecu where the messages, requests and signals are defined. You can custom build requests to aggregate signals for a given display which makes everything faster.

    The gauges and layout are defined in the skin file and you have 8 panels (drive, engine etc.).

    Most people will not need the power, race, stage and tsd panels but I'm building each one for fun because I can make use of each of them.

    Feel free to post constructive comments.

  6. #16
    Newbie
    Join Date
    Jan 2010
    Posts
    5
    Petrie,

    That is awesome work you are doing. I am currently hooked up to the Infotainment can-bus in my 2007 VW GTI and have deciphered the commands to Increase/Decrease Volume, Mute, Up/Down, etc, but I am struggling with deciphering all the other messages along with identifying the addresses of the different modules on the network.

    My goal is to eventually have my mac-mini respond to commands from my steering wheel, along with sending track and song information to the VW MFD between my gauges (Like the factory radio does).

    Any input/advice/software on helping to identify the jumble of messages I am detecting?

    Thanks!

  7. #17
    Low Bitrate
    Join Date
    Jul 2009
    Location
    Squamish, BC
    Posts
    93
    Quote Originally Posted by GTI_Fahrenheit View Post
    Any input/advice/software on helping to identify the jumble of messages I am detecting?
    Trial and error is the only way I have discovered. I did write my own tracer program that helps to focus in on changes in the messages. It helps but not by much.

    I also use the CanHacker software from time to time.
    Good luck with your project.

  8. #18
    Newbie
    Join Date
    Jul 2009
    Location
    Brighton Illinois
    Posts
    4
    Petrie, I wondered if you would be willing to share more information about your setup, hardware, software? I am in the process of doing something very similar with my 2009 WRX. I say in the process, but I just acquired the parts I needed to make the connection to the CAN Bus.

    Pictures would be great, and if you don't mind sharing what hardware you are using and sharing your source that would be fantastic!

    Thanks,
    Matthew

  9. #19
    Low Bitrate
    Join Date
    Jul 2009
    Location
    Squamish, BC
    Posts
    93
    Quote Originally Posted by mshoemaker View Post
    Petrie, I wondered if you would be willing to share more information about your setup, hardware, software? I am in the process of doing something very similar with my 2009 WRX. I say in the process, but I just acquired the parts I needed to make the connection to the CAN Bus.

    Pictures would be great, and if you don't mind sharing what hardware you are using and sharing your source that would be fantastic!

    Thanks,
    Matthew
    It's a bit too early to share the code just yet as it's not fully in the car. I expect that I will have to make it more robust for handling bus errors and restarting itself on failure.

    What I have right now is a hard tap into the 3 can wires on the OBDII port. That cable is about 6" with a db9 connector which plugs into a LAWICEL canbus adapter which has USB into the laptop.

    The LAWICEL unit comes with a standard library from their website. I inherited my own own classes off that library to create a simpler bus manager.

    All my code is in C# (.NET).

    Unfortunately, I'm spending loads of money on the car doing other mods and have yet to pull the trigger on a processor to sit permanently in there. That and I'm busy with work right now.

  10. #20
    Newbie
    Join Date
    Jul 2009
    Location
    Brighton Illinois
    Posts
    4
    Thanks for the info. I unfortunately haven't gotten to spend any money on performance mods for my WRX yet, however I did pick up a Tactrix cable, and had someone tune it for me.

    Are you doing straight OBDII calls, or are you using SSM?

    I dabble with embedded systems, so I have several laying around that have both CAN and USB, so I plan on connecting directly to the bus and then either store data on SD, or output over serial.

    I also have a Sheevaplug which I might use, along with a USB touchscreen monitor. Haven't worked out the details yet, just trying to get the interface up and running.

    If you decide you want to collaborate on interface/code let me know! I am trying to keep the interface generic enough that I can use it in my F150 as well.

    Matthew

Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. FAQ: How to Wire an OPUS PSU
    By Quattro in forum The FAQ Emporium
    Replies: 74
    Last Post: 08-26-2006, 12:38 PM
  2. Problem with ITPS / hibernation and External USB HD
    By veetid in forum Power Supplies
    Replies: 5
    Last Post: 01-02-2006, 08:35 PM
  3. My USB/Wifi troubles.
    By JPuma in forum General Hardware Discussion
    Replies: 0
    Last Post: 09-23-2005, 11:44 AM
  4. usb power problem: solved!
    By susman in forum General Hardware Discussion
    Replies: 16
    Last Post: 08-31-2004, 01:50 AM
  5. USB 2.0 to ide adapter, anybody got one of these working
    By Batmanatthenewb in forum Input Devices
    Replies: 39
    Last Post: 08-16-2004, 02:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •