Results 1 to 4 of 4

Thread: OBD2 PIC code.

  1. #1
    Low Bitrate
    Join Date
    Aug 2004
    Posts
    98

    OBD2 PIC code.

    Hi,

    Besides the car tuner I have another self therapy which is building OBD2 interfaces
    I have a straight one (what goes in comes out) which I use for uploading SW on my car. This works ok.
    But my problem starts with my other interface based on a PIC and looks like a diet version of the one from http://www.obddiagnostics.com/.
    Now my confusion is all about the initialization with the ECU. Using the uploading SW it starts with pulling the K-line to ground and waits for reply.
    But if I read the ISO-9141 and other documentation I see that you first need to send a 0x33 and wait for response. So here I'm a bit confused. Second is the speed, 0x33 at 5 baud and then switch to 10400 baud, how is this done best with the PIC. The 0x33 on 5 baud is not a problem but the 10400 is a question mark. So does anyone have an idea or an example code maybe for the pic...
    thx rogier
    Professionals built the Titanic, an amateur built the Ark.

  2. #2
    FLAC Chairboy's Avatar
    Join Date
    Jan 2004
    Posts
    1,380
    It's variable speed in the initialization? I assumed it was 4800bps constant.
    Chrysler 300 - Fabricating
    http://hallert.net/

  3. #3
    MySQL Error jcdillin's Avatar
    Join Date
    May 2003
    Location
    Miami, FL
    Posts
    4,043
    no he is correct, it's 5 then 10400
    肚子笑痛了
    S60 Install

  4. #4
    MySQL Error jcdillin's Avatar
    Join Date
    May 2003
    Location
    Miami, FL
    Posts
    4,043
    I thought I had some example code hanging around here somewhere, but this and this might help you get started. PM if you have any questions.
    肚子笑痛了
    S60 Install

Similar Threads

  1. GPS/MapPoint VB Source Code
    By stevieg in forum Software & Software Development
    Replies: 7
    Last Post: 01-28-2011, 03:59 PM
  2. Some Windows XP WMI Wireless Code
    By Zharvek in forum Software & Software Development
    Replies: 0
    Last Post: 01-16-2005, 07:53 AM
  3. PIC programming how to
    By MatrixPC in forum General MP3Car Discussion
    Replies: 6
    Last Post: 12-23-2003, 02:13 PM
  4. Can someone write me a PIC program 4 a awesome s/down controller please?
    By gizmos in forum General Hardware Discussion
    Replies: 3
    Last Post: 07-17-2000, 12:43 PM
  5. LCD and pic programs
    By cyber_mage in forum Software & Software Development
    Replies: 1
    Last Post: 03-15-2000, 08:32 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
  •