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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-10-2017, 11:46 AM   #101 (permalink)
deviant
 
Join Date: Oct 2016
Location: Seattle, WA
Posts: 50

s2k - '02 Honda s2000
Thanks: 8
Thanked 28 Times in 23 Posts
Adafruit shield working

I have a demo MPiGuino sled running with the Adafruit LCD/button shield. Much nicer having only two wires (in addition to power and ground) to contend with. I changed the two zener diodes to 2.1v to avoid frying the 3.3v Pro Mini and will be testing it in-vehicle today. Because the Adafruit buttons do not generate a hardware interrupt there is no 'wake on button press' so I will verify wake on start.



T_Vago: Does ODO/Scratchpad add a known value to current or tank mileage? Asked another way, can I input mid-tank values from one MPGuino to another, so that I can switch Arduinos mid-tank, maintaining my current tank distance and tank fuel used?

  Reply With Quote
The Following User Says Thank You to skybolt For This Useful Post:
t vago (04-10-2017)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-10-2017, 03:25 PM   #102 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,711

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 24.7 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: 749
Thanked 644 Times in 414 Posts
Quote:
Originally Posted by skybolt View Post
I have a demo MPiGuino sled running with the Adafruit LCD/button shield. Much nicer having only two wires (in addition to power and ground) to contend with. I changed the two zener diodes to 2.1v to avoid frying the 3.3v Pro Mini and will be testing it in-vehicle today. Because the Adafruit buttons do not generate a hardware interrupt there is no 'wake on button press' so I will verify wake on start.
Kewl! Let us know how it goes.



Quote:
Originally Posted by skybolt View Post
T_Vago: Does ODO/Scratchpad add a known value to current or tank mileage? Asked another way, can I input mid-tank values from one MPGuino to another, so that I can switch Arduinos mid-tank, maintaining my current tank distance and tank fuel used?
Not at this time. Guess I could add that as a compilable option, though, certainly, it would help with my own production/testbed MPGuino. Let me work on that.
__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote
Old 04-11-2017, 12:46 PM   #103 (permalink)
deviant
 
Join Date: Oct 2016
Location: Seattle, WA
Posts: 50

s2k - '02 Honda s2000
Thanks: 8
Thanked 28 Times in 23 Posts
Obeservation: Adafruit LCD does NOT like being powered from the Pi while getting data from the Arduino, even with common ground. Works fine until power from the Pi is interrupted and re-introduced (like getting back in the car and powering up the Pi). This results in garbled output to the LCD, which can only be fixed by powering down the Arduino and powering backup. The real fix is to supply voltage from the 5v regulator stepping down car current for the Arduino, which is capable of supplying current to the LCD. But, if there's a "oh no I just got powered up, let's see if I can re-initialize myself" function on the LCD, you should add it to the bottom of the list. (It's possible the Pi can be forced to supply too much current to the LCD though it's 5v pin, cooking the Pi's regulator. If this is the case then the LCD must be powered via a separate regulator and then this is a non-issue).
  Reply With Quote
Old 04-11-2017, 03:56 PM   #104 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,711

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 24.7 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: 749
Thanked 644 Times in 414 Posts
Well, there's not a "oh no I just got powered up, let's see if I can re-initialize myself" possibility, as such. There is currently no way to tell whether the LCD got de-synched... Although I just thought of a possibility which might work.

In the meantime, you can force an LCD reset by cycling completely through the LCD brightness settings. Every time that "brightness 0" or "brightness off" is selected, MPGuino also forces an LCD hardware reset. I put that in a while back because every once in a great while, my own MPGuino display would get goobered up for no apparent reason.

__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote
Reply  Post New Thread


Thread Tools




Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com