12-20-2016, 04:57 PM
|
#11 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Hopefully all will be well, I do wonder why infinity MPG is coming up at 0.49MPG - is that a display issue, or a calculation issue. If it's the latter, it might skew the tank/current values.
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
12-23-2016, 07:53 AM
|
#12 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Hi there -
I've done some road testing of the latest code. MPH now displays well, thank you, but I can confirm three bugs.
One is probably eeprom write related. The other two relate to display (rather than calculation) of MPG:
(1) the system clock does not retain the changed time;
(2) in instrument view, when travelling (i.e. above 0mph) running at 0% injector duty cycle (EoffC or DFCO) mpg is displayed as 000 rather than ---; and
(3) in "large" instant MPG display (my favourite mode) in EoC or DFCO conditions MPG is displayed as 0.49mpg rather than ---mpg.
When conditions are right for bugs (2) and (3), I.e. EoC or DFCO, the calculation of MPG appears unaffected as ,despite showing 000mpg or 0.49mpg on the instrument or instant displays, the "Current" mpg figure increases as expected.
I've had a passenger film the MPGuino, and can upload examples of these to YouTube if that assists the above descriptions.
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
12-27-2016, 12:18 PM
|
#13 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
|
Quote:
Originally Posted by sallen
Hi there -
I've done some road testing of the latest code. MPH now displays well, thank you, but I can confirm three bugs.
One is probably eeprom write related. The other two relate to display (rather than calculation) of MPG:
(1) the system clock does not retain the changed time;
(2) in instrument view, when travelling (i.e. above 0mph) running at 0% injector duty cycle (EoffC or DFCO) mpg is displayed as 000 rather than ---; and
(3) in "large" instant MPG display (my favourite mode) in EoC or DFCO conditions MPG is displayed as 0.49mpg rather than ---mpg.
When conditions are right for bugs (2) and (3), I.e. EoC or DFCO, the calculation of MPG appears unaffected as ,despite showing 000mpg or 0.49mpg on the instrument or instant displays, the "Current" mpg figure increases as expected.
I've had a passenger film the MPGuino, and can upload examples of these to YouTube if that assists the above descriptions.
|
(2) and (3) possibly relate to the "useDebugReadings" configuration setting. Go to the "program measurement and debugging tools" section at the top of the code, and ensure this #define is commented out.
I have not been able to duplicate (1). What source did you use for battery power for your MPGuino?
|
|
|
12-27-2016, 01:23 PM
|
#14 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Hi there - The useDebugReadings #define is commented out.
I am using constant 12v (sourced from car radio circuit) for power. It's not a reset problem, it's that I change the time and it reverts when I exit changing the time.
What buttons do I press to change the time (I've searched online extensively but no answer). I've been using:
(1) go to system time screen
(2) L + R button
(3) use l r and centre to change digits
(4) L + R back out
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
12-27-2016, 02:30 PM
|
#15 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
|
Quote:
Originally Posted by sallen
(1) go to system time screen
(2) L + R button
(3) use l r and centre to change digits
(4) L + R back out
|
Long-press the center button to store the time. L+R cancels time-change mode.
|
|
|
12-27-2016, 05:46 PM
|
#16 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Thanks - looks like user error on the time change! - I will give that method a shot.
I've made 2 clips of the MPGuino installed:
The first shows the instant view 0.49MPG issue when the engine enters DFCO.
https://youtu.be/XAxqpquV14c
The second (which is a bit shaky) shows the instrument view - note how when the engine goes into DFCO the injector duty cycle is 0.00 G/h and mpg is shown as 0.00 despite the MPH reading being in the 30's.
https://youtu.be/xep54nJjERY
In both the above situations, the "old" code showed "- - - MPG".
Hope this helps,
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
12-28-2016, 02:35 AM
|
#17 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
|
Quote:
Originally Posted by sallen
I've made 2 clips of the MPGuino installed:
The first shows the instant view 0.49MPG issue when the engine enters DFCO.
https://youtu.be/XAxqpquV14c
The second (which is a bit shaky) shows the instrument view - note how when the engine goes into DFCO the injector duty cycle is 0.00 G/h and mpg is shown as 0.00 despite the MPH reading being in the 30's.
https://youtu.be/xep54nJjERY
In both the above situations, the "old" code showed "- - - MPG".
Hope this helps,
|
This helped a lot.
I re-wrote the "useDebugReadings" signal simulator, and was able to reproduce both of the bugs you've reported. I haved fixed both bugs, as well as a bug in the distance-to-empty display. The updated code has the code fixes, as well as many other updates.
Last edited by t vago; 12-28-2016 at 04:30 PM..
Reason: Removed old code
|
|
|
12-28-2016, 09:05 AM
|
#18 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Thanks very much,
It seems the latest version now has a bug in displaying the settings/setup menu. No other menus are affected. It duplicates line 2 of the display on line 1.
I've uploaded a video of the behaviour where I switch into the settings, cycle through a few and then switch out to demonstrate:
It's kinda trying to display properly - you may be able to see when I switch to the settings menu it very faintly flickers "contrast" on the top line behind the duplicted text.
To rule out LCD display (hardware) issues - I uploaded the previous version and the Settings displayed fine.
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
12-28-2016, 03:40 PM
|
#19 (permalink)
|
MPGuino Supporter
Join Date: Oct 2010
Location: Hungary
Posts: 1,808
iNXS - '10 Opel Zafira 111 Anniversary Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
|
Quote:
Originally Posted by sallen
Thanks very much,
It seems the latest version now has a bug in displaying the settings/setup menu. No other menus are affected. It duplicates line 2 of the display on line 1.
It's kinda trying to display properly - you may be able to see when I switch to the settings menu it very faintly flickers "contrast" on the top line behind the duplicted text.
To rule out LCD display (hardware) issues - I uploaded the previous version and the Settings displayed fine.
|
Looks like an issue with the buffered LCD #include . Comment out the "useLegacyLCDbuffered" #include, and it'll work just fine.
Update: found the actual bug itself. Here's the updated code.
Last edited by t vago; 12-30-2016 at 03:28 PM..
Reason: removed old code
|
|
|
12-28-2016, 05:44 PM
|
#20 (permalink)
|
EcoModding Lurker
Join Date: Jul 2009
Location: London UK
Posts: 88
Thanks: 0
Thanked 9 Times in 7 Posts
|
Thanks again - Settings work like a charm - have input the VSS and mL/min and hope it will be good to go for my next drive.
One final Q the main MPGuino thread says your version "supports both metric and imperial units" - I might be thinking my instant is off because it's giveing me (higher than I expect) US MPG, when I'm used to UK mpg.
I looked through the code (I'm no arduino expert) and didn't see anything to define or chose between US and UK mpg. Is there a figure I can change to the size of a UK gallon, to get UK MPG?
__________________
Will you recoup money spent on mods in fuel saved? see my spreadsheets here
|
|
|
|