View Single Post
Old 02-08-2017, 01:12 AM   #68 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,766

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 26.72 mpg (US)

Fiat Dakota - '00 Dodge Dakota SLT RWD Quad Cab
90 day: 16.67 mpg (US)

The Red Sled - '01 Dodge Durango SLT 4WD
90 day: 16.96 mpg (US)
Thanks: 799
Thanked 681 Times in 437 Posts
Finally got the bugs out of the interface to the Adafruit RGB LCD module. Now there is a 5-button/LCD solution for MPGuino that uses only two pins instead of 10.



Short demonstration of new idle timeout, EOC timeout, and park timeout. I think the Meelis code does something similar.

Idle timeout is engaged when MPGuino senses an idle condition, and activates an Idle screen after the idle timeout period elapses. The default setting is 15 seconds, but may be changed via stored parameter "Idle Timeout (s)"

EOC timeout is engaged when MPGuino senses an EOC condition, and activates a separate EOC screen after the EOC timeout period elapses. The default setting is 2 seconds, but may be changed via stored parameter "EOC Timeout (s)".

Both Idle and EOC timeouts can be temporarily overridden by pressing a button - this temporarily restores whatever screen was being displayed normally for a button-press timeout period. The normal screen is also displayed when the engine is running and the vehicle is moving, or if both the vehicle and engine are stopped. The default setting is 5 seconds, but may be changed via stored parameter "BtnPress T/O (s)".

The park timeout engages when MPGuino senses both the engine and the vehicle are stopped, and when the park timeout period elapses, the Current and Tank Trips are both saved to EEPROM (if configured). After this, the driver may safely remove power from the MPGuino. The default setting is 5 seconds, but may be changed via stored parameter "Park Timeout (s)".

After the park timeout period elapses, the traditional inactivity timeout engages. When the inactivity timeout elapses, MPGuino either enters deep sleep mode, or it shows a clock display. Either may be configured at compile-time. The default setting is 120 seconds, but may be changed via stored parameter "OFF Timeout (s)".

__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
josemapiro (02-08-2017)