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-12-2017, 06:21 PM   #91 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 175
Thanks: 80
Thanked 58 Times in 53 Posts
Hi t vago
After I made the change you indicated, the problem did not happen again.
I'll go back to activate deep sleep to see if it happens again or if it was some failure in arduino recording.

Quote:
Originally Posted by t vago View Post
How about... MPGuino + Android?

Adafruit Bluefruit LE Shield
This was very good to be able to access MPGuino through the android.

Thanks
Josť Rodrigues

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

Other popular topics in this forum...

   
Old 03-13-2017, 12:24 AM   #92 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,697

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 25.49 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: 740
Thanked 630 Times in 403 Posts
Quote:
Originally Posted by josemapiro View Post
Hi t vago
After I made the change you indicated, the problem did not happen again.
I'll go back to activate deep sleep to see if it happens again or if it was some failure in arduino recording.
You can try that. I will verify the configuration settings for the AtMega2560 for reduced power mode.

Quote:
Originally Posted by josemapiro View Post
This was very good to be able to access MPGuino through the android.
That's what I'm thinking, too. At least, it would be nice to be able to record a logfile with an Android.
__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote
Old 03-23-2017, 06:06 PM   #93 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 175
Thanks: 80
Thanked 58 Times in 53 Posts
Hi t vago
The problem still continues, it is not always but sometimes it just wakes up with the movement.

Quote:
Originally Posted by t vago View Post
That's what I'm thinking, too. At least, it would be nice to be able to record a logfile with an Android.
I think it should be possible to use the JSON output for this.

Thanks
Josť Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (03-23-2017)
Old 03-24-2017, 12:07 AM   #94 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,697

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 25.49 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: 740
Thanked 630 Times in 403 Posts
Quote:
Originally Posted by josemapiro View Post
Hi t vago
The problem still continues, it is not always but sometimes it just wakes up with the movement.
I finally figured out why this is so. This problem affects AtMega2560 boards only.

Basically, the problem lies with the pins used to capture the fuel injector signal. The interrupts, INT4 and INT5, associated with those pins are not fully supported by the wake-up module on the AtMega2560. To capture fuel injector pulses, MPGuino configures these two pins in such that, if sleep modes deeper than IDLE are selected, the AtMega2560 will never wake up from those interrupts.



Now, I could move the fuel injector pins from 3/2 (PE5/PE4) to 18/19 (PD3/PD2), and that would move the interrupts to INT3/INT2, which do allow MPGuino to wake up the AtMega2560 with fuel injector pulses. That's an easy and sure fix, but it would force you to change your fuel injector wiring to use these other two pins. That would certainly fix the problem.

Another option, which I am not as sure will work, is to make changes to the code to configure the INT4/INT5 interrupts to a setting that should cause the AtMega2560 to wake up, immediately before the AtMega2560 goes to sleep. Then, once the AtMega2560 is awake, re-configure the INT4/INT5 pins for use by MPGuino.

A third option would be to disallow sleep modes with the AtMega2560. That's not a good option at all.

Quote:
Originally Posted by josemapiro View Post
I think it should be possible to use the JSON output for this.
You could also record just the raw data, and have an Android app handle the display. It'd be the ultimate MPGuino display.
Attached Thumbnails
Click image for larger version

Name:	s201703230000.jpg
Views:	32
Size:	180.9 KB
ID:	21405  
__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote
Old 03-24-2017, 01:40 PM   #95 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 175
Thanks: 80
Thanked 58 Times in 53 Posts
Hi t vago
It is undoubtedly best to change the interrupts for INT3/INT2, changing the wiring is not a problem and thus correcting the limitation.
You may want to put a note that alerts to this change.

Quote:
Originally Posted by t vago View Post
You could also record just the raw data, and have an Android app handle the display. It'd be the ultimate MPGuino display.
Yes no doubt that it would be a good 2nd monitor for the MPGuino with more information, but it is always convenient to have one fixed in the car to avoid always placing the mobile phone or tablet that may be necessary to receive calls over bluetooth.

Thanks
Josť Rodrigues

  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (03-24-2017)
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