Exterior/Interior/Audio Discussion for Exterior/Interior Modifications. Sound systems, body kits, etc.

obd2, fuel sensor, odometer

Thread Tools
 
Search this Thread
 
Old August-6th-2002 | 02:24 PM
  #1  
don caballero's Avatar
Thread Starter
Registered User
 
Joined: Jun 2002
Posts: 33
don caballero is on a distinguished road
obd2, fuel sensor, odometer

Hello,
Does anyone know if fuel sensor data and odometer data is available thru the obd2 interface? It would be a big undertaking, but if this info's available at the obd2 interface, a realtime MPG display could be created. If it's not available at the obd2 interface, is it available in some known-format at the instrument cluster?

Thanks,
Don Cab
Old September-4th-2002 | 03:07 AM
  #2  
Dexter's Avatar
Registered User
 
Joined: Sep 2002
Posts: 18
Dexter is on a distinguished road
excellent.... i am working on a similar project!
i didnt even think about accessing via OBDII,
i read that the fuel gauge is a resistor type deal, so i was going to use a PIC microprocessor with Analog to Digital conversion to estimate the fuel in the tank, and the odometer/trip meters are digital, so im pretty sure those would be easy to interface up to the PIC. but my PIC programmer broke a month ago and i have no funds to get a new one so the project is on hold

http://www.smokinmhz.com/mazda/


if anyone comes up with something, let us know!
Old September-4th-2002 | 08:25 AM
  #3  
don caballero's Avatar
Thread Starter
Registered User
 
Joined: Jun 2002
Posts: 33
don caballero is on a distinguished road
Hey,
Good to hear you're using a PIC microcontroller. I've been thinking of something I can do w/ one too. For starters, I think I'll just interface a LM35 (linear temp sensor) into the A2D of the PIC for indoor temperature.

I haven't gotten enough info on the OBD2 or the fuel sensor to think I can complete this idea, so it's on hold for me, for now...

-Don Caballero
Old September-4th-2002 | 12:06 PM
  #4  
kosmicride
Guest
 
Posts: n/a
Haha do any of you know how to make milege disappear? lol
Old September-4th-2002 | 02:25 PM
  #5  
Dexter's Avatar
Registered User
 
Joined: Sep 2002
Posts: 18
Dexter is on a distinguished road
Originally posted by kosmicride
Haha do any of you know how to make milege disappear? lol

um..not interested in finding this info out.
Old September-4th-2002 | 02:38 PM
  #6  
rodslinger's Avatar
P.A.C.T / P.A.APC Member
 
Joined: Nov 2001
Posts: 269
From: Smyrna, GA
rodslinger is on a distinguished road
It may be a little easier than going through the OBD. Just measure the fuel pressure and fuel injector pulse width to calculate actual fuel usage.
Old September-4th-2002 | 06:23 PM
  #7  
Dexter's Avatar
Registered User
 
Joined: Sep 2002
Posts: 18
Dexter is on a distinguished road
Originally posted by rodslinger
It may be a little easier than going through the OBD. Just measure the fuel pressure and fuel injector pulse width to calculate actual fuel usage.
...fuel pressure...hrm okay that shouldnt be too hard...but injector pulse width? wtf? how???
Old September-4th-2002 | 07:22 PM
  #8  
rodslinger's Avatar
P.A.C.T / P.A.APC Member
 
Joined: Nov 2001
Posts: 269
From: Smyrna, GA
rodslinger is on a distinguished road
Injector pulse width... Basically the computer sends a 12vdc signal to the injectors to control fuel flow. They are either on or off. No in between. The computer will turn them on anywhere from 1 to 100 milliseconds during the intake stroke to provide the correct amount of fuel flow. If you know how long the injectors are on, how much fuel pressure you have and the rated flow of the injector you can figure fuel usage.
Old September-11th-2002 | 10:19 PM
  #9  
jan's Avatar
jan
Protege Newbie
 
Joined: Sep 2002
Posts: 1
jan is on a distinguished road
I am really interested in exploring ODBII access to various data. Probably it is my professional deviation - I am computer programmer.
Do you know where I can get information about Mazda specific ODBII codes? Is it included in any Mazda manuals? Generic codes are easy to find on the Internet, so I am not interested in them.
Did any of you try to use ELM323 for OBDII access?
Info about the chip is provided at:
http://www.elmelectronics.com
The chip is really inexpensive. (The price is in Canadian $ as I think)
Thank you for any answers.

Jan
Old September-21st-2002 | 11:16 PM
  #10  
kcbhiw's Avatar
Hoosier daddy?
 
Joined: Sep 2002
Posts: 563
From: Atlanta, GA
kcbhiw is on a distinguished road
Does anyone know if fuel sensor data and odometer data is available thru the obd2 interface? It would be a big undertaking, but if this info's available at the obd2 interface, a realtime MPG display could be created. If it's not available at the obd2 interface, is it available in some known-format at the instrument cluster
Fuel sensor data and tach/MPH readings are available via OBDII, however ODO is not.

Did any of you try to use ELM323 for OBDII access?
Jan, I have used the ELM chip to pull OBD data before. I also wrote a GUI in C++ as well that pretty much automated all of the data retrieval (i'll be damned if i didn't lose it tho, I still have some stuff). The ELM chips are very easy to interface...basic serial RS232 communication.
Old September-22nd-2002 | 03:03 AM
  #11  
Dexter's Avatar
Registered User
 
Joined: Sep 2002
Posts: 18
Dexter is on a distinguished road
Originally posted by kcbhiw


Fuel sensor data and tach/MPH readings are available via OBDII, however ODO is not.



Jan, I have used the ELM chip to pull OBD data before. I also wrote a GUI in C++ as well that pretty much automated all of the data retrieval (i'll be damned if i didn't lose it tho, I still have some stuff). The ELM chips are very easy to interface...basic serial RS232 communication.
very very interesting.

what exactly can you tell from the fuel sensor data?
Old September-22nd-2002 | 05:11 AM
  #12  
PRO 5's Avatar
Protege Newbie
 
Joined: Jul 2002
Posts: 30
From: Waipahu, HI
PRO 5 is on a distinguished road
uuuuuhhhhhhh... what? I don't get it! HEHEHE!
Old September-22nd-2002 | 12:36 PM
  #13  
kcbhiw's Avatar
Hoosier daddy?
 
Joined: Sep 2002
Posts: 563
From: Atlanta, GA
kcbhiw is on a distinguished road
Check out this page for OBD II PIDs:

OBD Mode 1 and 2 PIDs

Note, these aren't trouble codes. These are PIDs (Parameter Identification) that provide real time info as to what's happening while the car is running.
Old September-23rd-2002 | 04:56 AM
  #14  
Dexter's Avatar
Registered User
 
Joined: Sep 2002
Posts: 18
Dexter is on a distinguished road
okay for fuel system, you can see if its closed system, or open system, correct?

i m not sure i understand how to use this fuel information provided by ODBII to calculate MPG.
Old September-23rd-2002 | 07:34 PM
  #15  
kcbhiw's Avatar
Hoosier daddy?
 
Joined: Sep 2002
Posts: 563
From: Atlanta, GA
kcbhiw is on a distinguished road
i m not sure i understand how to use this fuel information provided by ODBII to calculate MPG.
The OBDII system doesn't provide a flow rate of the fuel, it just monitors the status of the fuel system.


FYI: Looking through your website that you provided, I noted that you plan to use the Dinsmore digital compas. I just want to say that that has to be the most simple and effective device that I've ever used. It's very reliable. If you have any questions on the system that you are putting together, feel free to drop me a line for any questions or status updates. I built a similar system as my senior project in college (Mobile Navigation System). I'd be interested to know how yours comes together. Awsome job on that display.


Quick Reply: obd2, fuel sensor, odometer



All times are GMT -5. The time now is 03:20 PM.