Mazda3Club.com : The Original Mazda3 Forum

Mazda3Club.com : The Original Mazda3 Forum (https://www.mazda3club.com/)
-   Exterior/Interior/Audio (https://www.mazda3club.com/exterior-interior-audio-4/)
-   -   obd2, fuel sensor, odometer (https://www.mazda3club.com/exterior-interior-audio-4/obd2-fuel-sensor-odometer-10286/)

don caballero August-6th-2002 02:24 PM

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

Dexter September-4th-2002 03:07 AM

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! :)

don caballero September-4th-2002 08:25 AM

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

kosmicride September-4th-2002 12:06 PM

Haha do any of you know how to make milege disappear? lol

Dexter September-4th-2002 02:25 PM


Originally posted by kosmicride
Haha do any of you know how to make milege disappear? lol

um..not interested in finding this info out. :)

rodslinger September-4th-2002 02:38 PM

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.

Dexter September-4th-2002 06:23 PM


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???

rodslinger September-4th-2002 07:22 PM

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.

jan September-11th-2002 10:19 PM

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

kcbhiw September-21st-2002 11:16 PM


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.

Dexter September-22nd-2002 03:03 AM


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?

PRO 5 September-22nd-2002 05:11 AM

uuuuuhhhhhhh... what? I don't get it! HEHEHE!

kcbhiw September-22nd-2002 12:36 PM

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.

Dexter September-23rd-2002 04:56 AM

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.

kcbhiw September-23rd-2002 07:34 PM


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.


All times are GMT -5. The time now is 08:48 AM.


© 2024 MH Sub I, LLC dba Internet Brands