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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-20-2009, 12:41 PM   #371 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Debolt, Alberta
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
A partial success! You just coded a new Init and got a blip? Cool. All my changes got nothing so far.

I was thinking that too about the universal products. They work with almost any OBDII car, and yet... here we are with no go.

Perhaps we need an active L line to get the initialization done? The 33290 chip only supports the K line though.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-20-2009, 12:54 PM   #372 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Montreal
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
I am quite sure you dont need the L-Line.

Last edited by Mart; 05-20-2009 at 01:00 PM..
  Reply With Quote
Old 05-20-2009, 01:01 PM   #373 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Montreal
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
well Subaru STI is KWP2000 according to this:

http://www.autoenginuity.com/dloads/...user_guide.pdf
  Reply With Quote
Old 05-20-2009, 02:11 PM   #374 (permalink)
EcoModding Apprentice
 
cmags's Avatar
 
Join Date: Apr 2008
Location: Marietta, GA
Posts: 139

Scoob - '05 Subaru Impreza Outback Sport SE
90 day: 25.28 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Hey I've been following the discussion recently, Mart, since you mentioned the STi. Looking at your link it seems that only the STi out of the Subaru line uses the KWP2000 protocol, correct?

I ask because I'm building one of these for my buddy (well, I have built it already) but I couldn't get it to init in my Impreza (non-STi). I was figuring I could use my car as a testbed and then plug into his - from your information it seems I cannot.

I haven't had much time for this project lately, and since it seems I don't have the proper vehicle to test on anyway, I'll be looking forward to reading about your progress. Would you be willing to share your code once you get something working? I'd really appreciate it.
  Reply With Quote
Old 05-20-2009, 02:46 PM   #375 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Montreal
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Sure but we will need to edit your source as well:

I dont have my code handy (anyway, I am using 2 serial LCD, a RTC clock (will use the subaru stock clock location) and a SD module as well for logging so the code is not much like the one in the svn tree) but it is something like that:

/* ISO 9141 FAST init */
byte iso_fastinit()
{
byte b;byte kw1, kw2;


// 1) Wait for 300ms with K line high.
digitalWrite(K_OUT, HIGH);
delay(300);

// 2) Pull K line low for 25 +/- 1 ms
digitalWrite(K_OUT, LOW);
delay(25);

//3) Let K line rise high and wait 25ms
digitalWrite(K_OUT, HIGH);
delay(25);

//4) init serial connection to 10400 baud, 8N1, 1=0Volt 0=12Volt, least significant bit first
// switch now to 10400 bauds
Serial.begin(10400);

//5) send package c1 33 f1 81 66 33=dest, f1=our tester id, 81=start comms
iso_write_byte(0xc1);
iso_write_byte(0x33);
iso_write_byte(0xF1);
iso_write_byte(0x81);
iso_write_byte(0x66);

//6) wait for response 83 f1 01 c1 e9 8f ae 01=physical address,
// you can read data byte by byte to validate using iso_read_byte to validate ECU response.
return 0;
}

Keep it mind that the rest of the code does not work for some reason. If you have a message on your LCD like "127 code(s) blabla", you are at the same step as I am right now.

Quote:
Originally Posted by cmags View Post
Hey I've been following the discussion recently, Mart, since you mentioned the STi. Looking at your link it seems that only the STi out of the Subaru line uses the KWP2000 protocol, correct?

I ask because I'm building one of these for my buddy (well, I have built it already) but I couldn't get it to init in my Impreza (non-STi). I was figuring I could use my car as a testbed and then plug into his - from your information it seems I cannot.

I haven't had much time for this project lately, and since it seems I don't have the proper vehicle to test on anyway, I'll be looking forward to reading about your progress. Would you be willing to share your code once you get something working? I'd really appreciate it.

Last edited by Mart; 05-20-2009 at 03:00 PM..
  Reply With Quote
Old 05-21-2009, 12:25 AM   #376 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: nova scotia
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
I tried changing the init code a little for the iso 9141 protocol. Anybody want to test it?
  Reply With Quote
Old 05-21-2009, 09:11 AM   #377 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Debolt, Alberta
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by electromike View Post
I tried changing the init code a little for the iso 9141 protocol. Anybody want to test it?
At this point I am willing to try 'anything'! Sure, I'll test it. I don't have the car right now, but tonight or tomorrow I can give it a run through.
  Reply With Quote
Old 05-21-2009, 09:16 AM   #378 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Montreal
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
I can give a try as well.
  Reply With Quote
Old 05-21-2009, 10:54 AM   #379 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: South Hadley, MA
Posts: 10

SubaruOutback - '95 Subaru Legacy Outback
90 day: 21.56 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
As soon as my LCD gets here, I'll give it a try. I've got a OBD-II 95 Subaru Legacy.
  Reply With Quote
Old 05-21-2009, 11:03 AM   #380 (permalink)
Modding for Eris
 
Thalass's Avatar
 
Join Date: Dec 2007
Location: North Bay, Ontario, Canada
Posts: 129

SilverCivic - '08 Honda Civic
90 day: 28.69 mpg (US)
Thanks: 39
Thanked 11 Times in 8 Posts
Keep working on the subarus! I was going to buy an MPGuino once the exchange rate got back up to more sensible levels (the price nearly doubled in a month at one point), but if I could just tap into the OBD-II plug in my 2000 Outback I'll do that instead.

__________________
Making do with a Honda Civic. Tesla Model 3 reserved. Still kinda want an SVX for fun, though.

  Reply With Quote
Reply  Post New Thread


Tags
obd2



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



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