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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 09-02-2017, 06:56 PM   #141 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
Hi t vago thanks
As for (Cv) by the research I did on the internet I also did not see many references, it seems that much information is based on assumptions, which may not be the correct, but for lack of better, is what we have for guidance.
I think the calculation you use for (Cv) is this help with simplified cDA/cRR formula
When I asked it to be able to by a description in the project I presented above, the other two values easily found the description, the Cv although suspected I was not sure.

Thanks
Josť Rodrigues

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 09-05-2017, 07:06 AM   #142 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
Hi t vago
I found this pdf and I think it has very useful information for the coastdown.
https://avt.inl.gov/sites/default/fi...v/htp001r2.pdf

Josť Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (09-05-2017)
Old 09-05-2017, 06:25 PM   #143 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
After a close look at the pdf what you see is the "viscous drag" is not part of the test process.
On another website, another factor, which I do not know if it will be of interest, is "Driveline and powertrain mechanical resistance"
https://hyundaimpginfo.com/assets/co...Fact_Sheet.pdf

Josť Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (09-05-2017)
Old 10-17-2017, 01:36 AM   #144 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,765

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: 798
Thanked 681 Times in 437 Posts
Removed bug causing drag race function to prematurely cancel. Enhanced drag race function to allow it to auto-trigger whenever the vehicle is stopped, and then select the best 0-60 recorded time. Auto-triggering can be turned off via stored parameter.

Re-examined skybolt's JSON code, and came up with function to decode the acceleration test flag status. Also replaced sections dependent on cycle0() with main timer command flag that triggers every 1.6 seconds. Considering whether to replace min() and max() functions with equivalent SWEET64 bytecode.

Went through code and converted more sections to namespace.

You now enter the menu by short-pressing the center button. LCD backlight brightness has been moved to long-pressing the center button. CPU % utilization now uses long-press of both right and left buttons at the same time.

Working on simplifying trip variable load/save, and adding manual trip entry. Also working on adding matrix math to enable coastdown testing and automatic fuel parameter determination (gallons/uSec and fuel injector latency in microseconds).
__________________
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 (10-17-2017)
Old 10-17-2017, 02:20 PM   #145 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
Hi t vago
Good job, when are we going to have this new version to test.

Thanks
Josť Rodrigues
  Reply With Quote
Old 10-23-2017, 02:05 AM   #146 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,765

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: 798
Thanked 681 Times in 437 Posts
Not sure when, I've got to track down a bug in the keypress recognition section. It currently overrides button definitions that it's not supposed to, and that's kind of annoying to encounter when you're trying to test stuff that is keypress-related.

Looks like I got the parameter editing section pretty much separated from the settings section, so I should be able to figure out how to use the parameter editor to manually enter tank trip variables. It could not do that before, because it was pretty much tied to reading and writing only to EEPROM.
__________________
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 (10-23-2017)
Old 10-23-2017, 03:57 PM   #147 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
Hi t vago
I'm sorry it was not my intention to rush your brilliant work, I just thought it was already functional and so I asked it to be available.
But take time that is necessary, without haste.

Thanks
Josť Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (10-30-2017)
Old 01-20-2018, 02:07 PM   #148 (permalink)
EcoModding Lurker
 
Join Date: Dec 2017
Location: California
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
What parts of your code would I have to modify so it works with an Arduino Uno and the DFRobot DFR0009 LCD Shield? I can't post links yet but if you google the shield it brings you to a page with the pin allocation and some sample code using the LiquidCrystal library.

I played around with the code for awhile but couldn't make much progress. The two changes I tried were to add this code around line 7000:

Code:
const uint8_t lcdRegisterSelect =                      (1 << PORTB0); // on PORTB, 8
const uint8_t lcdEnable =                              (1 << PORTB1); // on PORTB, 9
const uint8_t lcdBit3 =                                (1 << PORTD7); // on PORTD, 7
const uint8_t lcdBit2 =                                (1 << PORTD6); // on PORTD, 6
const uint8_t lcdBit1 =                                (1 << PORTD5); // on PORTD, 5
const uint8_t lcdBit0 =                                (1 << PORTD4); // on PORTD, 4
const uint8_t lcdBrightness =                          (1 << DDB2); // on PORTB, 10
const uint8_t lcdContrast =                            (1 << DDD1); // on PORTD, 1
And this code around line 7139:

Code:
// set direction to output LCD data on selected port B pins
DDRB |= (lcdEnable | lcdRegisterSelect | lcdBrightness);

// set direction to output LCD data on selected port D pins
DDRD |= (lcdBit3 | lcdBit2 | lcdBit1 | lcdBit0 | lcdContrast);
I wasn't able to get the LCD to give me anything intelligible. Does it look like I'm on the right track or this a much more difficult change than I expected it to be? I was thinking it should be pretty simple to change the LCD input pins, but all my coding experience has been high-level and this port registry stuff is new to me.
  Reply With Quote
Old 01-23-2018, 09:03 AM   #149 (permalink)
EcoModding Lurker
 
Join Date: Sep 2010
Location: New Zealand
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Question A couple of questions.

Hi

I am looking at building one of these for myself and have a couple of questions.

Firstly, Is tere a a circuit diagram that includes the fix for the wake on engine start issue? Is the fix imoplemented in the code available on the front page of this thread (from what I can see I think it is but wat to make sure)? Is it also possible to have it with the 2 pin Adafruit LCD module?

Secondly, can the signal from one of the fuel injector lines on my car's control unit be used for the injector pulse detection?

Edit: added question about Adafruit LCD module.

Last edited by helpgeek; 01-23-2018 at 09:20 AM..
  Reply With Quote
Old 01-25-2018, 02:35 PM   #150 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 195
Thanks: 93
Thanked 68 Times in 63 Posts
Quote:
Originally Posted by Barreled View Post
I wasn't able to get the LCD to give me anything intelligible. Does it look like I'm on the right track or this a much more difficult change than I expected it to be? I was thinking it should be pretty simple to change the LCD input pins, but all my coding experience has been high-level and this port registry stuff is new to me.
Your LCD uses pins different from those programmed in MPGuino, the t vago is who can help.

Josť Rodrigues

  Reply With Quote
Reply  Post New Thread


Thread Tools




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