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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 02-10-2014, 10:56 AM   #831 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Latvia
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Code:
  // ask protocol
  //elm_command(str, PSTR("ATDPN\r"));
  // str[0] should be 'A' for automatic
  // set header to talk directly to ECU#1
//  if(str[1]=='1')  // PWM
 //   elm_command(str, PSTR("ATSHE410F1\r"));
  //else if(str[1]=='2')  // VPW
  //  elm_command(str, PSTR("ATSHA810F1\r"));
 // else if(str[1]=='3')  // ISO 9141
  //  elm_command(str, PSTR("ATSH6810F1\r"));
 // else if(str[1]=='6')  // CAN 11 bits
 //   elm_command(str, PSTR("ATSH7E0\r"));
 // else if(str[1]=='7')  // CAN 29 bits
  //  elm_command(str, PSTR("ATSHDA10F1\r"));
#endif
after this my obduino started to work.
I had trouble with re-init after engine restart, so after each engine start I had to restart obduino to initialize again.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-11-2014, 05:39 PM   #832 (permalink)
EcoModding Lurker
 
Join Date: Feb 2014
Location: Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I forgot to tell, that i am using the ISO 9141 with the MC33660 chip. Are the changes in the last post (above) just for the elm chip or in general ?
  Reply With Quote
Old 03-16-2014, 03:50 PM   #833 (permalink)
dar
EcoModding Lurker
 
Join Date: Apr 2011
Location: Lithuania
Posts: 16
Thanks: 0
Thanked 3 Times in 2 Posts
Rokrokrok,
I use:
#define ISO_9141
#define useECUState
//#define DisconnectECUIfRPMIsZero
#define do_ISO_Reinit
#define skip_ISO_Init
#define carAlarmScreen

I use chip Si9243AEY
P.S. My car WW Passat 1999, gassoline, the same WW OBD protocol.
  Reply With Quote
Old 03-25-2014, 10:03 AM   #834 (permalink)
EcoModding Lurker
 
Join Date: Mar 2014
Location: Siberia, Russia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by marcelroeder View Post
Hi,
i am trying to use Obduino32k (ISO 9141) in my Mazda Demio, but the init process fails every time. In debug output the lcd prints F!81 81 F7 80. What do i make wrong???
Hi guis,
Similar situation - Mazda Familia (JDM version of Mazda Protege) with ISO 9141 protocol. My debug output shows F!941 941 6B 940
One more thing is I'm using L9637D instead of MC33290 - it's substitute but with different pin assignment. Maybe that's the reason?
Looks like some troubles in init routine.
Any suggestions?
  Reply With Quote
Old 09-21-2014, 11:49 AM   #835 (permalink)
EcoModding Lurker
 
Join Date: Sep 2014
Location: Czech republik
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all, please advice. Connection is not working ISO 9141-2 Peugeot 107 I'm not a good programmer can not seem to find the cause. On disply shows only ISO 9141 init - failed. Thank you for your help everyone.
  Reply With Quote
Old 11-13-2014, 11:58 PM   #836 (permalink)
EcoModding Lurker
 
Join Date: Nov 2014
Location: Wonder Lake, IL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I've been absorbing a lot of information from this thread so I thought I'd share something that might help others with their 'init failed' problems. Within void iso_write_byte(byte b) change line "Serial.print(b);" to "Serial.write(b);".

Using the logic analyzer I could see with "print" it was sending 0x32 0x34 0x37 instead of the intended 0xF7 (as part of the init sequence). Changing to "write" fixed this and it was able to complete init. I suspect the newest Arduino IDE versions have a Serial function that performs differently than what was implemented back when this code was getting more focus. In other words "print" probably worked with older Arduino versions.

I'm working with Arduino 1.0.5, MC33290, 2002 VW TDI. Still not fully functional yet...
  Reply With Quote
Old 12-23-2014, 05:57 AM   #837 (permalink)
EcoModding Lurker
 
Join Date: Sep 2014
Location: Czech republik
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by yensen View Post
I've been absorbing a lot of information from this thread so I thought I'd share something that might help others with their 'init failed' problems. Within void iso_write_byte(byte b) change line "Serial.print(b);" to "Serial.write(b);".

Using the logic analyzer I could see with "print" it was sending 0x32 0x34 0x37 instead of the intended 0xF7 (as part of the init sequence). Changing to "write" fixed this and it was able to complete init. I suspect the newest Arduino IDE versions have a Serial function that performs differently than what was implemented back when this code was getting more focus. In other words "print" probably worked with older Arduino versions.

I'm working with Arduino 1.0.5, MC33290, 2002 VW TDI. Still not fully functional yet...
With the modifications that you specify the init sequence succeeds and Arduino connects to the car?
  Reply With Quote
Old 12-23-2014, 11:52 AM   #838 (permalink)
EcoModding Lurker
 
Join Date: Nov 2014
Location: Wonder Lake, IL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Majl-ta View Post
With the modifications that you specify the init sequence succeeds and Arduino connects to the car?
Yes. This allowed mine to complete the init sequence using obduino code versions r198 or r203 with Arduino v1.0.5.

I never got much further than this. The screen would go to sleep seemingly randomly. I need to play with the config settings, but started to lose interest.
  Reply With Quote
Old 12-23-2014, 04:36 PM   #839 (permalink)
EcoModding Lurker
 
Join Date: Sep 2014
Location: Czech republik
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by yensen View Post
Yes. This allowed mine to complete the init sequence using obduino code versions r198 or r203 with Arduino v1.0.5.

I never got much further than this. The screen would go to sleep seemingly randomly. I need to play with the config settings, but started to lose interest.
Ok, I'll try your editing in my car. It is a pity that this project contains many errors.
  Reply With Quote
Old 12-24-2014, 07:06 AM   #840 (permalink)
EcoModding Lurker
 
Join Date: Sep 2014
Location: Czech republik
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by yensen View Post
Yes. This allowed mine to complete the init sequence using obduino code versions r198 or r203 with Arduino v1.0.5.

I never got much further than this. The screen would go to sleep seemingly randomly. I need to play with the config settings, but started to lose interest.
So even with the adjustment it still does not work. Still only shows ISO9141 INIT FAILED. Is there anyone whom the forum it work?

  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