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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-25-2012, 02:08 PM   #781 (permalink)
EcoModding Lurker
 
Join Date: Mar 2012
Location: Minsk, Republic of Belarus
Posts: 6

Chevy HHR - '07 Chevrolet HHR 2LT
Thanks: 2
Thanked 0 Times in 0 Posts
Hello
I have uncommented line 201
# define ELM
and comment lines: 210, 217, 228
/ / # define ISO_9141
/ / # define ISORequestByteDelay 5
/ / # define ISORequestDelay 55

The compiler shows the error:
obduino_code.cpp: In function 'boolean get_pid (byte, char *, long int *)':
obduino_code: 1786: error: 'ECUconnection' was not declared in this scope
obduino_code.cpp: In function 'void config_menu ()':
obduino_code: 3440: error: 'str' was not declared in this scope
obduino_code.cpp: In function 'void needBacklight (boolean)':
obduino_code: 4284: error: 'ECUconnection' was not declared in this scope
obduino_code.cpp: In function 'void loop ()':
obduino_code: 4626: error: 'ECUconnection' was not declared in this scope
obduino_code: 4727: error: 'ISO_InitStep' was not declared in this scope
obduino_code.cpp: In function 'void get_engine_on_time (char *)':
obduino_code: 5132: error: 'ECUconnection' was not declared in this scope


This code is taken from the site Google

If you cancel the changes - there are no errors.
If possible, tell me how to configure to work with the ELM.
Thank you.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-26-2012, 03:45 AM   #782 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
what version did you used?

if using obduino32K (rev198) - try commenting "#define useECUState" line 218

if using obduino32K_graphic - (rev200) had error, fixed in rev201
you have to comment "#define useECUState" too.

I see in code many comments that ELM should be tested - so it needs more tests and some debuging and fixing, good luck.
  Reply With Quote
The Following User Says Thank You to eimix For This Useful Post:
Keeper (03-26-2012)
Old 03-26-2012, 06:25 AM   #783 (permalink)
EcoModding Lurker
 
Join Date: Mar 2012
Location: Minsk, Republic of Belarus
Posts: 6

Chevy HHR - '07 Chevrolet HHR 2LT
Thanks: 2
Thanked 0 Times in 0 Posts
OK.
Compiling passed without errors. (obduino32K_graphic, rev 201)
21.03.2012 ordered ArdinoMega1280
Waiting until the fly. This is about 3 weeks.
I'll be a tester ELM
  Reply With Quote
Old 03-26-2012, 08:33 AM   #784 (permalink)
Bix
EcoModding Lurker
 
Join Date: Mar 2011
Location: Australia
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
My car's OBD2 (Toyota corolla 2002 aus) has pins 6 and 14 populated, which by diagrams is supposed to be locations for CAN high and CAN low. Its also got pin 7 populated supposedly for the K line - I have not seen any mention of CANbus on corollas.

Is there any way of telling what these pins actually are? Ive got a scope I can hook up to it.
  Reply With Quote
Old 03-26-2012, 04:44 PM   #785 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 177

Sonata97 - '97 Hyundai Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Nissan Pulsar ST
Team Nissan
90 day: 36.09 mpg (US)

Lancer - '04 Mitsubishi Lancer
90 day: 31.11 mpg (US)

Lancer 2.0 - '09 Mitsubishi Lancer
90 day: 27.1 mpg (US)
Thanks: 9
Thanked 16 Times in 13 Posts
Quote:
Is there any way of telling what these pins actually are? Ive got a scope I can hook up to it.
You can check that they are actually "CAN" pins by getting your multimeter out and checking what voltage you get from Pin 6 to 4/5 (ground), and PIN 14 to ground

CAN will be a balanced 2.5V line (so it'll go 2.5/2.6 on one side and 2.4 the other).

The K-Line pin could be there for either - Obsolete or for other ECUs.

An ELM327 scanner could help determine which protocol is in use.
__________________
  Reply With Quote
Old 03-26-2012, 09:10 PM   #786 (permalink)
Bix
EcoModding Lurker
 
Join Date: Mar 2011
Location: Australia
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Hmm getting about 11 volts from both those pins. Guess its not can then.
  Reply With Quote
Old 03-27-2012, 02:25 AM   #787 (permalink)
Bix
EcoModding Lurker
 
Join Date: Mar 2011
Location: Australia
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Hooked it up to a ELM scanner, none of the programs could detect the protocol...

I connected the K line to an oscilloscope and got a constant 12v out, no evidence of a digital signal on any of the pins on the connector. Do I have a dud OBD or what...
  Reply With Quote
Old 03-27-2012, 02:54 AM   #788 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 177

Sonata97 - '97 Hyundai Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Nissan Pulsar ST
Team Nissan
90 day: 36.09 mpg (US)

Lancer - '04 Mitsubishi Lancer
90 day: 31.11 mpg (US)

Lancer 2.0 - '09 Mitsubishi Lancer
90 day: 27.1 mpg (US)
Thanks: 9
Thanked 16 Times in 13 Posts
Quote:
I connected the K line to an oscilloscope and got a constant 12v out, no evidence of a digital signal on any of the pins on the connector. Do I have a dud OBD or what...
OK - that's strange, the ELM should at the least generate some signals on the K-Line in Auto mode.

The line does actually idle high too.. do you have enough resolution on your oscilloscope to see what might be minor changes?
What software did you use to command the ELM whilst the oscilloscope was attached?

(There won't be any change on those pins without a scan tool communicating).
__________________
  Reply With Quote
Old 03-27-2012, 03:20 AM   #789 (permalink)
Bix
EcoModding Lurker
 
Join Date: Mar 2011
Location: Australia
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
What software did you use to command the ELM whilst the oscilloscope was attached?
EasyOBDII. It read the port, read the scantool, done something with the bus but then got stalled trying to communicating giving an error of the car not being on. The car was on all times tested, and the engine was turned on for a few tests as well, with the same outcome.

Quote:
do you have enough resolution on your oscilloscope to see what might be minor changes?
50 MHz, should be plenty.

Quote:
(There won't be any change on those pins without a scan tool communicating).
Oh ok, I assumed it would send something even without it being initialised.

I tried the scantool on a holden Astra 2004, worked like a charm so its definitely not something wrong with the scantool.
  Reply With Quote
Old 04-03-2012, 07:56 PM   #790 (permalink)
EcoModding Lurker
 
Join Date: Dec 2008
Location: San Diego
Posts: 40

Patina - '80 Vespa P 125x
90 day: 67.27 mpg (US)

nonya - '00 honda insight
Gen-1 Insights
90 day: 67.62 mpg (US)
Thanks: 6
Thanked 3 Times in 3 Posts
to whom may have an answer for me:
I have a mpguino and previously had it connected. It worked for like six months or so then crapped out like three years ago. I thought it was the wiring so I found new places and ran new wires to the correct places and still dice when I try and turn it on. My situation is that I know that DCB is wayyy backlogged and dont want to bug him so if some on could help me in the form of telling me where to buy the connectors to try and diagnose the guino myself, or...... this feed is so damn long I cant imagine sorting through the whole thing at this point. thanks

  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 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 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com