Results 1 to 8 of 8

Thread: ODB-II Odometer

  1. #1
    Newbie
    Join Date
    Apr 2007
    Posts
    26

    ODB-II Odometer

    Hi guys,

    I have a fairly simple question and I have researched the existing forums already but havnt really been able to find out conclusively whether it is possible.

    I want to put a PC in commercial vehicles that measure distances down to a tenth of a meter. (this is only one of many functions).

    Currently I achieve this with a wheel probe or proximity sensor - i then run this into a data aquisition board and run it through custom software that I have written. This however requireds a $150 probe and $200 data aquisition board.


    What I want to know is...is there a reliable way of getting the odometer reading from ODB-II in most japenese vehicles?

    Is so... what is the accuracy?

    Has anybody tried interfacing the speed sensor in vehicles directly? If so how did that go?

    Any help is greatly appreciated.

    Cheers kiwiuser.

  2. #2
    Constant Bitrate joeyoravec's Avatar
    Join Date
    Oct 2005
    Location
    Livonia, MI
    Posts
    205
    If you're doing this professionally and can afford the ETI membership (www.etools.org) there's probably some way to read the odometer over the network. It isn't cheap, but there's no OBD-II technique so you'd need the manufacturer specific information and ETI is really the only place to get that.

  3. #3
    Newbie
    Join Date
    Apr 2007
    Posts
    26

    Eti

    Thanks for the advice, I will take a look now.

    Cheers,

    Kiwiuser.

  4. #4
    Newbie
    Join Date
    Apr 2007
    Posts
    26

    Interfacing speed sensor

    How about interfacing a speed sensor somehow, does anyone know anything about that?

    Cheers,

    Kiwiuser

  5. #5
    Low Bitrate
    Join Date
    Jul 2005
    Location
    Michigan
    Posts
    70
    GPS? This could give you accuracy as far as distance measurement however not in pinpoint accuracy.. but you should be able to get distances... (or at least that's what I've heard).

    You said commercial vehicles? What type of vehicles? Heavy Truck Commercial Vehicles, light truck... what?

    This could make a difference.

  6. #6
    Variable Bitrate
    Join Date
    Jan 2007
    Location
    Szeged, Hungary
    Posts
    293
    Quote Originally Posted by kiwiuser View Post
    How about interfacing a speed sensor somehow, does anyone know anything about that?
    Cheers,
    Kiwiuser
    Yes, I did. In my car (Seicento, FIAT) the wire of the speedometer receives 12V/0V square pulse signals, approx. 16 (I do not remember exactly) on a single wheel turn. I use it with a PIC for measuring the speed and distance.
    This data is similar concerning other cars.
    I think this accuracy fits your requirements.

    You can use a PIC or a frequency/voltage converter ic.

  7. #7
    Newbie
    Join Date
    Apr 2007
    Posts
    26
    Quote Originally Posted by bbalazs View Post
    Yes, I did. In my car (Seicento, FIAT) the wire of the speedometer receives 12V/0V square pulse signals, approx. 16 (I do not remember exactly) on a single wheel turn. I use it with a PIC for measuring the speed and distance.
    This data is similar concerning other cars.
    I think this accuracy fits your requirements.

    You can use a PIC or a frequency/voltage converter ic.
    Hi there,

    I would be most interested in how you use it with a PIC for measure distance. can you please provide some more information? Or contact me privately?

    Thanks very much.

  8. #8
    Variable Bitrate
    Join Date
    Jan 2007
    Location
    Szeged, Hungary
    Posts
    293
    I wrote a simple program to PIC that count those pulses (it saved the value into EEPROM) and displays it on a small LCD.
    Then I zeroed the daily km-counter on the dashboard.
    After driving approx 800km, I simply divided the km value with the number of pulses and got a constant, that I use to calculate the speed and distance. I think it is not difficult at all.

    I have used 18F4525 with a LCD display.
    I have used a serial 4K7 resistor and a 4.7V zener diode in reverse to the ground parallel for the appropriate voltage that fits the PIC ttl level.
    The whole electronic was present on a tiny board (I designed a demo panel for practicing with different PICs).
    Because the power need is very little of the PIC, for the simplicity I fed it from the cig lighter connector.

    So, measuring the distance is VERY simple, just multiple the number of pulses with that constant and it gives the distance.
    For measuring the speed I program a timer that makes interrupt in every second (It is more frequent inside, but I divide it internally, of course) and
    subtract the previous value of the pulses from the present pulse value.
    So, I get the distance within a certain time (half second) so the result is in m/s, then multiply it with 3.6 then the result is in km/h now. For miles/h this value could vary.

    You can also gain that constant by different method: Have an exact distance (eg. 10m) and apply a LED on that pulse wire (with a serial resistor, of course). Push your car slowly forward and count the number of periods when the LED light.

Similar Threads

  1. ODB II and GM DIC
    By cw95403 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 15
    Last Post: 11-22-2008, 01:40 AM
  2. ODB II C# Style
    By alacom in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 16
    Last Post: 09-25-2006, 11:32 PM
  3. Newbie question about ODB I and II
    By Nokia6600 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 9
    Last Post: 04-24-2004, 10:59 PM
  4. does my car have odb ii
    By essentialcruise in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 13
    Last Post: 12-23-2003, 08:07 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
  •