Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 08-22-2009, 05:23 PM   #471 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 41

The Civic - '99 Honda Civic
90 day: 40.41 mpg (US)
Thanks: 1
Thanked 0 Times in 0 Posts
its been a while

Its been a while since I visited this forum. At the time we were stuck and could not figure out how to get it to communicate. I have the original setup (picture included), is there a code that will make it work now? I tried reading through all of the posts and 2 hours into it I figured I would just ask. Last I read I had to switch to the ELM327 but then I see the original diagram is still in wiki.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-24-2009, 10:56 AM   #472 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Debolt, Alberta
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
There are two versions of OBDuino now, the original which fits on the ATmega168 chip, and OBDuino32K which fits on the ATmega328 chip.

In May of this year both were recently updated by Mike for better 9141 communications. The OBDuino32k has had a few additional changes to help reinit (but it still uses the same timings and structure that Mike and others set up.)

It's worth trying.
  Reply With Quote
The Following User Says Thank You to Froggy For This Useful Post:
tom43571 (08-25-2009)
Old 08-24-2009, 04:08 PM   #473 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: Humble, TX
Posts: 26

My Jetta - '99 Volkswagen Jetta
90 day: 22.69 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
still having no luck reading other PIDs. I'm currently using the 32k version, do you think I should use the one that fits on the 128 chip?
__________________
[url=http://ecomodder.com/forum/em-fuel-log.php?vehicleid=378]
[img=http://ecomodder.com/forum/fe-graphs/sig378a.png]
  Reply With Quote
Old 08-24-2009, 05:00 PM   #474 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Debolt, Alberta
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
Sure, why not... It's the same base code, but anything that may help... It certainly won't hurt to try.
  Reply With Quote
Old 08-25-2009, 08:20 AM   #475 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks Froggy for all the support you are giving to the project. I have been busy as of late, but quickly glancing through your discussion the only two things I thought of were:

1) What Arduino IDE version is being used to compile the program with? I always used 0015.

2) Check the hardware! Make sure that 510 ohm resistor is in there correct.

Also, Which is more likely, I did some quick googling and found this line that peeked my interest:
"At a software level, ISO14230 is a vastly extended ISO9141-2 protocol that supports much longer data frames and much quicker communications startup with the ECU. "
I think that might be a clue to what is going on.

What we need is an accurate document of the 14230-4 protocol so we can revise the code accordingly. If someone could find that before me, that would be great!

Last edited by electromike; 08-25-2009 at 08:29 AM.. Reason: did some googling.
  Reply With Quote
Old 08-25-2009, 09:19 AM   #476 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
Documentation

Here is a document that details the parts of proper init and comm values.
http://www.alfa145.co.uk/obd/14230-2s.pdf

Page 6 describes the header Bytes
Page 7 has the timing... looks like 20ms is the max wait time
Page 12 - something i don't understand but may be an issue later on.
Page 16 KB Values

This document talks about communication
http://www.alfa145.co.uk/obd/14230-3s.pdf
Section 4; all the good stuff


Some More documentation
http://www.koch-engineering.com/file...ISO14230-2.pdf


The exact resource I needed:
http://prj.perquin.com/obdii/

Last edited by electromike; 08-29-2009 at 10:30 PM.. Reason: new info
  Reply With Quote
Old 08-29-2009, 08:07 PM   #477 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
Anyone willing to tackle this?
  Reply With Quote
Old 08-29-2009, 08:29 PM   #478 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: Humble, TX
Posts: 26

My Jetta - '99 Volkswagen Jetta
90 day: 22.69 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
i could try to help, but I don't know much about coding in C, and I don't understand most of the hardware side, but what ever I could do to help I'd be willing to
__________________
[url=http://ecomodder.com/forum/em-fuel-log.php?vehicleid=378]
[img=http://ecomodder.com/forum/fe-graphs/sig378a.png]
  Reply With Quote
The Following User Says Thank You to Demonhawk For This Useful Post:
electromike (08-29-2009)
Old 08-29-2009, 08:55 PM   #479 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
So to be clear, you can mostly get the init to go through successful, Which init process works best for you. the 9141 or the 14230 fast or slow?

And you do get some PID's to display? Other times the program crashes?
  Reply With Quote
Old 08-29-2009, 09:48 PM   #480 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: Humble, TX
Posts: 26

My Jetta - '99 Volkswagen Jetta
90 day: 22.69 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
The 9141 init is the one that works. And I can get a few PIDs to display. But we attempted forcing the program to skip the check to see if the PIDs were valid. When we did that and displayed more than a few unsupported PIDs the arduino would crash and reset.

__________________
[url=http://ecomodder.com/forum/em-fuel-log.php?vehicleid=378]
[img=http://ecomodder.com/forum/fe-graphs/sig378a.png]
  Reply With Quote
Reply  Post New Thread


Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 01:37 AM
Just some quick info on Scangauge vs. MPGuino NoCO2 OpenGauge / MPGuino FE computer 4 06-01-2015 04:58 PM
All New Nissan Models to Feature Fuel Efficiency Gauge MetroMPG General Efficiency Discussion 6 11-18-2008 04:57 PM
Vacuum gauge problems :( DifferentPointofView Instrumentation 3 05-14-2008 11:04 PM
Will Scan Gauge work on mine? bennelson Instrumentation 9 02-19-2008 10:04 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com