OBD-2 Question


Closed Thread
Results 1 to 10 of 10

Thread: OBD-2 Question

  1. #1
    Join Date
    Mar 2007
    Posts
    30

    Default OBD-2 Question

    Hi all!
    I've built an OBD to SERIAL decoder using the schematics found on the ELM 320 Datasheet, i will link this to a pic by the serial port, but first i have to try it with a simple pc serial connection, i've a question for you before i proceed:

    It's there a way to ruin the ECU of the car, if there's something wrong in the circut?
    It's there a way to ruin the ECU of the car by the OBD port?

    What do i have to check and re-check again before plugging the cable in the obd, and before i'll connect the ELM320 to the PC/PIC ?

    Thank you!

    Luca

    P.S. I don't want to burn my ECU!!!

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by oslinux View Post
    Hi all!
    I've built an OBD to SERIAL decoder using the schematics found on the ELM 320 Datasheet, i will link this to a pic by the serial port, but first i have to try it with a simple pc serial connection, i've a question for you before i proceed:
    It's there a way to ruin the ECU of the car, if there's something wrong in the circut?
    It's there a way to ruin the ECU of the car by the OBD port?
    What do i have to check and re-check again before plugging the cable in the obd, and before i'll connect the ELM320 to the PC/PIC ?
    Thank you!
    Luca
    P.S. I don't want to burn my ECU!!!
    Nobody wants to fry an ECU, and I asked myself that same question before I plugged in my ELM327 circuit to all my vehicles...
    A vehicle's ECM and OBDII port and all that related circuitry are pretty robust, meaning they can handle a lot of stuff thrown at it, shorts, opens, power on a grounds, grounds on a powers, power on a signals, ground on a signal, signals shorted to other signals...etc...
    As long as you don't start throwing 120VAC into anything and stay with good ol' 5v logic, I'd say that no matter what you can possibly mess up, your ECU will survive a decent screw up on your part (at least mine did with me! shorted 12v line to ground once, blew fuse, ECU lived, grounded out J1850 bus, lived, put straight 12v on a K-line, lived, haven't killed anything yet).

  3. #3
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    I have a lot of experience with OBDII, and I agree with skimask. Have fun!

  4. #4
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    ok! i'm about to fry my ECU

    Just Joking, i hope

    Thank you for your answers!

    Luca

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by oslinux View Post
    ok! i'm about to fry my ECU

    Just Joking, i hope

    Thank you for your answers!

    Luca
    Just curious...
    Are you using J1962 cable/connector or did you tap into the wiring itself?
    I did it both ways; one car I clipped the wiring behind the connector and plugged in a standard DB9 connector, another one I went with a USB connector. Someday I'll decide on one method...

  6. #6
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    i used the cable, then the DB9 connector, the news are:

    It works!

    and well too!

    Now i'm building the pic circuit, but i found it pretty easy to do, i'm planning to use the usb port of the pic (18F4550) to communicate with a pc (Using a software made by me),
    Now i've just two questions:

    1. where i can find codes to communicate with the car and read the sensors?
    2. what software do you suggest to use with the pc connected directly to the serial port? (FreeWare is good, Open Source is better!)

    Thank you!

    Luca

  7. #7
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Technically you would need the SAE standard for the codes. However there are a number of websites that will give you the basic OBDII commands.

    As far as software, go to scantool.net and use their opensource software. If you look through their code you will find most of the OBDII commands.

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    1 - www.google.com that was my prime source
    2 - self designed PCB, PIC driven, buttons, LCD, etc..., no PC required but USB downloading from datalog memory in the works...

  9. #9
    Join Date
    Mar 2007
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    I'm building too a controller with a pic 18F4550, LCD 4*20 White on Black, buttons to show RPM/Coolant Temp/others and an eeprom, to test it i've coded a pic16f84 to emulate the ELM, it's cool

    in my car (Ford KA) i don't even have the RPM counter, so this will be somewhat useful for the driver.

    for the pids, i found them in wikipedia, but they says that there are more modes above #9, from the vehicle manufactures, it's possible to get the additional pids for ford in the net?

    Luca

  10. #10
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by oslinux View Post
    for the pids, i found them in wikipedia, but they says that there are more modes above #9, from the vehicle manufactures, it's possible to get the additional pids for ford in the net?
    Luca
    The big question is 'is it possible to get all the PIDs for all the vehicles out there without paying an arm and a leg'?
    With the new CAN bus out there, you can control anything thru it apparently.

Similar Threads

  1. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  2. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  3. AN Question for "word" variable read The serial port
    By redfoen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2007, 17:39
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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