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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 07-23-2012, 08:32 AM   #1021 (permalink)
EcoModding Lurker
 
Join Date: Jun 2012
Location: Geelong West Australia
Posts: 13

Prius 5 - '20 Toyota Prius Standard
90 day: 63.6 mpg (US)
Thanks: 8
Thanked 1 Time in 1 Post
thanks Meelis
I have ordered them.
just a query i see an X appear on the screen between 2 digits sometimes is that supposed to be indicating something?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-29-2012, 03:24 AM   #1022 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Quote:
Originally Posted by touring21 View Post
thanks Meelis
I have ordered them.
just a query i see an X appear on the screen between 2 digits sometimes is that supposed to be indicating something?
Somehow I did not saw this post before...anyway, that X indicates decelleration fuel cutoff or in other words - injectors are closed and fuel is not injected (same applies with engine off coast)

Meelis
__________________
http://mpguino.wiseman.ee/eng - get assembled mpguino from here!
  Reply With Quote
Old 11-11-2012, 02:00 PM   #1023 (permalink)
EcoModding Lurker
 
Join Date: Sep 2012
Location: Hungary
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Arduino 328

I have a problem, and I'm unable to find any solution. I ordered an Arduino with 328 chip, upladed the latest cpp code with the latest arduino software from the website. It works fine, But when I stop the car, th L/KM goes 999999 and the average value starts to rise (in US mode the GPH also decrease).
  Reply With Quote
Old 11-12-2012, 05:17 AM   #1024 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Switch to the screen where vehicle speed and rpms are shown and then turn off the car. Let us know if you'll have any readings there after engine will be turned off and car is standing still.
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
Old 11-13-2012, 01:35 AM   #1025 (permalink)
EcoModding Lurker
 
Join Date: Sep 2012
Location: Hungary
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thnks for the quick reply!

If I stop the engine, everything goes 0, but when the engine is running the l/km instantly goes 999999 and the tank value starts to rise. It seems when the speed 0, the program won't stop to update the tank data, it continues to add the infinity to the tank avarege. I have found this "update" part of the code, edited to jump over the update if vss is 0. It's working now.

I don't think all the codes have this bug, mybe the 328 and new arduino IDE causes the problem?

I have two other things:
-my arduino has 16 mhz chrystal, if I change the code for 16 mhz the tank and current values will be different even after an instant tank reset. If I leave it 20 mhz, i'm unable to calibrate vss, if the speed ok, the distance wrong, if the distance ok the speed has more than 10% error.
-after calibrating the vss well, it indicates very vell under 60 km/h, but when I go to highway, the speed indication not rises above 70-80 km/h, and it's jumping around. I tuned the vss delay with no success.

I have found falcon four's code, it looks good with 16 mhz, but it also has the problem when speed is 0 and the engine is running, I coud repair it wit a small edit in the code. Falcon four removed all metric calculation from the code, for now it's too complicated to me to edit back all metric indication. I'm living in Europe, Hungary.
  Reply With Quote
Old 11-13-2012, 03:30 AM   #1026 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Quote:
Originally Posted by takarp View Post
Thnks for the quick reply!

If I stop the engine, everything goes 0, but when the engine is running the l/km instantly goes 999999 and the tank value starts to rise. It seems when the speed 0, the program won't stop to update the tank data, it continues to add the infinity to the tank avarege.
Man! That's perfectly normal. As you know fuel consumption is a function of distance and fuel used. If you are using fuel and you're not moving the fuel usage in l/km goes to infinity. And the other way around when you are moving and not using fuel (your engine is off for example) your fuel efficency goes to infinity (0 l/km), regardles the speed.

It's just dividing by zero math.

So your MPGuino works perfectly normal and it should be that way! Don't change the code!


Quote:
I have two other things:
-my arduino has 16 mhz chrystal, if I change the code for 16 mhz the tank and current values will be different even after an instant tank reset. If I leave it 20 mhz, i'm unable to calibrate vss, if the speed ok, the distance wrong, if the distance ok the speed has more than 10% error.
-after calibrating the vss well, it indicates very vell under 60 km/h, but when I go to highway, the speed indication not rises above 70-80 km/h, and it's jumping around. I tuned the vss delay with no success.
There is a part of the code that is adjusting MPGuino to work with different crystals. See below:

Code:
//use with 20mhz
#define cyclesperhour 4500
#define dispadj 800
#define dispadj2 1250
#define looptime 1250000ul/loopsPerSecond //1/2 second
#define myubbr (20000000/16/9600-1)
#define injhold (parms[injectorSettleTimeIdx]*5)/4

#define outhi(port,pin) PORT##port |= ( 1 << P##port##pin )
#define outlo(port,pin) PORT##port &= ~( 1 << P##port##pin )
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))

//use with 16mhz, not tested
//#define cyclesperhour 3600
//#define dispadj 1000
//#define dispadj2 1250
//#define looptime 1000000ul/loopsPerSecond //1/2 second
//#define myubbr (16000000/16/9600-1)
//#define injhold parms[injectorSettleTimeIdx]

Hope this helps
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
Old 11-13-2012, 05:02 AM   #1027 (permalink)
EcoModding Lurker
 
Join Date: Sep 2012
Location: Hungary
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe you misunderstood me. I know it is normal, when I stop the l/km goes 999999, but the avarege is also changes.

How can the calibration done? When I stop at a traffic light my tank average is rising!

Are you using the 0.86 r202 version cpp file from code.google.com, or you have any better metric version?

What do you think about the vss problem over 60 km/h?

Thanks,

Last edited by takarp; 11-13-2012 at 05:09 AM..
  Reply With Quote
Old 11-13-2012, 05:25 AM   #1028 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Quote:
Originally Posted by takarp View Post
Maybe you misunderstood me. I know it is normal, when I stop the l/km goes 999999, but the avarege is also changes.
Average has to change when you stop, the shorter the trip the bigger change you'll see. That's normal.

Quote:
How can the calibration done? When I stop at a traffic light my tank average is rising!
You don't need anything more than this: Mpguino calibration - EcoModder

Quote:
Are you using the 0.86 r202 version cpp file from code.google.com, or you have any better metric version?
I was using v81metric (canadian) and v86 both worked just fine. For now I'm planning to connect MPGuino to my Berta diesel and it requires some changes.

Quote:
What do you think about the vss problem over 60 km/h?
I think that's the problem of VSS signal. You may try to use shielded cable for VSS signal, or you may need to amplify the signal.
Take a look here: http://ecomodder.com/forum/showthrea...tml#post334154
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
Old 11-13-2012, 06:29 AM   #1029 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Quote:
Originally Posted by takarp View Post
Maybe you misunderstood me. I know it is normal, when I stop the l/km goes 999999, but the avarege is also changes.

How can the calibration done? When I stop at a traffic light my tank average is rising!

Are you using the 0.86 r202 version cpp file from code.google.com, or you have any better metric version?

What do you think about the vss problem over 60 km/h?

Thanks,
Hi,
If you stop at traffic light and keep engine idling, tank average rising is normal - fuel is used but you are standing still. If you turn engine off, tank average should not rise - if it rises, then you have a problem.

VSS thing - maybe you have same thing like I had
http://ecomodder.com/forum/showthrea...5-a-21984.html

Meelis
__________________
http://mpguino.wiseman.ee/eng - get assembled mpguino from here!
  Reply With Quote
Old 11-13-2012, 07:37 AM   #1030 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Latvia
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by takarp View Post
when I stop the l/km goes 999999, but the avarege is also changes.
you can change "return 999999000;" to "return 000000000;"
That way MPGunio wont display 99999 but 00000 when stoped, but average will continue to rise as that's how it should be.

  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
My kingdom for a giant, heated workspace MetroMPG The Lounge 14 12-12-2010 10:08 AM
Motorcycle manufacturers beginning to release MPG info MetroMPG Motorcycles / Scooters 1 04-03-2008 06:23 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