Results 1 to 9 of 9
Like Tree1Likes
  • 1 Post By redheadedrod

Thread: Converting proprietary CAN PGN data to standard OBD-II PID output

  1. #1
    Constant Bitrate NOS TANG's Avatar
    Join Date
    Mar 2004
    Location
    OH USA
    Posts
    137

    Converting proprietary CAN PGN data to standard OBD-II PID output

    Hi all, I've been tasked with a small project to convert CAN data from an ECU that doesn't adhere to standard OBD-II J1939 protocol. The goal is to convert some incoming Hexadecimal data from engine parameters such as RPM, Temp, Oil Pressure and such, and resend them on a second CAN network as standard OBD-II SAE J1939 PID's.

    Looking for some advice on the smallest and best platform to use for a prototype. I've personally never worked with Andrino, but see it's becoming a popular option. But unsure about stacking dual CAN networks on it. Figure someone here has experimented with this before and can point me in the right direction..

    Bests

    -NOS

  2. #2
    Raw Wave SNOtwistR's Avatar
    Join Date
    Nov 2009
    Location
    Keswick,On Canada
    Posts
    1,889
    What type of vehicle using j1939? I might have a good option for you depending on what vehicle type. SNO

  3. #3
    Constant Bitrate NOS TANG's Avatar
    Join Date
    Mar 2004
    Location
    OH USA
    Posts
    137
    Just looking to feed the correct output data to any general OBD-II display with standard SAE PIDS.
    IE: Edge CTS, OBD-II USB / BT adapters and such.

  4. #4
    Raw Wave SNOtwistR's Avatar
    Join Date
    Nov 2009
    Location
    Keswick,On Canada
    Posts
    1,889
    OK correct me if I am wrong but I don't see any relation to j1939 bus from this product? Are you working on cars or transport trucks/big rigs? SNO

  5. #5
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    775
    Sno, I think he is referring to the software protocol for the data being transmitted.

    As to this project, there is an Arduino board out there that has 3 CAN interfaces on it. I would strongly suggest getting this item and going from there. Then you just have to connect your devices and do some software to connect them together.


    Here is the project...

    https://www.kickstarter.com/projects...cking-platform

    Rodney
    NOS TANG likes this.

  6. #6
    Raw Wave SNOtwistR's Avatar
    Join Date
    Nov 2009
    Location
    Keswick,On Canada
    Posts
    1,889
    I am just trying to understand why the mention of j1939 bus as that's part of transport truck protocol j1939/canbus I have a great data reader for j1939 or j1708 available from here http://www.auelectronics.com/product.../itpj1939.html. If not what you are looking for then I would suggest using a chip from scantool.net it will also read some j1939 stuff Good luck SNO

  7. #7
    Constant Bitrate NOS TANG's Avatar
    Join Date
    Mar 2004
    Location
    OH USA
    Posts
    137
    SNO, 1939 is the minimum "output" protocols I need to cover with this hardware. J1939, ISO 11783 and NMEA 2000 all share the same high level protocol. So first I need an output in typical PGN structure for industrial, and NMEA displays is one side of this. Then would like to do an option to output in the later ISO OBD-II protocols as well. As Rodney, posted it's only the software protocol level I'm speaking of, it's all technically CAN lower levels. And I like that CANbus Triple project, will contact them.

    Basically listening to broadcasted packets from one CAN device, decode the proprietary PIDs, and then resend them on another CAN network as properly formatted ISO, J1939, or NMEA parameters those displays are listening for. So it needs a processor to decode packets, then reassemble and transmit them out on another transceiver. Simple if you have a PC, but I'm looking for a firmware based setup to do it.

    -NOS

  8. #8
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    775
    The chip from scantools is pretty expensive for what it does. If you are using an Arduino or other microprocessor it does way more than you need. An ELM device will do the job much cheaper and is easier to get. If you are using a PC and need buffering etc then the scantool chip can be beneficial.

    I actually found that the older GMLAN only needs some basic stuff such as a transistor and some support caps and resistors to be read into a device such as an arduino.

    However the triple can device mentioned in a previous message can do up to 3 can buses at a time if you are using it as a bridge which looks like what the OP is looking for. You could do the same with multiple devices and software to control them but this device is probably going to work well. Since I don't need the actual canbus devices I haven't looked at them seriously for my project.

    Rodney

  9. #9
    Constant Bitrate NOS TANG's Avatar
    Join Date
    Mar 2004
    Location
    OH USA
    Posts
    137
    Well after playing with that CBT unit for a while, I found it easier to just have a custom PCB gateway built that meet our needs. We chose to go with galvanic isolated transceivers, ARM M4 processor, and included a BLE modem for future use. We've got it working well at translating about 8 PGN's from a 1Mbps broadcasting network to a slower 250kbps network. The hardware platform has great potential for other projects. Still gotta work on a BT API for it. If anyone needs one, I have a few extras from the production run. www.marinemods.us

    -NOS

Similar Threads

  1. Audio out through proprietary connector or HDMI?
    By jmcguire525 in forum Android Tablet
    Replies: 1
    Last Post: 05-27-2011, 04:40 PM
  2. tripzero's thoughts on the data standard.
    By tripzero in forum OSDash - Data Exchange Standard
    Replies: 6
    Last Post: 02-03-2010, 11:51 AM
  3. CAN Bus Proprietary PID's
    By andyman53 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 3
    Last Post: 06-30-2007, 04:21 AM
  4. Is this Dell PSU standard or proprietary?
    By SMOKINV8 in forum Power Supplies
    Replies: 5
    Last Post: 11-20-2005, 10:25 AM
  5. Replies: 14
    Last Post: 02-11-2005, 06:35 PM

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
  •