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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 10-13-2013, 08:49 AM   #191 (permalink)
EcoModding Apprentice
 
Join Date: Jun 2010
Location: Virginia
Posts: 114
Thanks: 33
Thanked 56 Times in 38 Posts
The day ended up being 375 miles total with no glitches. I'm pleased; thanks for the good work t vago!

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

Other popular topics in this forum...

   
Old 10-14-2013, 09:59 AM   #192 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
First part of my trip behind me. I'm in Prague and MPGuino works flawlessly. I just need to get used to it because it's different from previous version I was using. I'm just not familiar with all the button combinations and all the letters describing values yet.

It's not calibrated yet so I can't tell anything about it's accuracy but I've entered all numbers from the previous setup so there shouldn't be a big difference anyway. For a moment I was thinking that new code gas the same problem as 0.86 version described here:Metric version bug, but after figuring out how to properly reset current view (that took me a while ) it turned out that everything seems to be working just fine.

More to come after fill up and calibrating new setup.

Anyway good job t_vago!
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
The Following User Says Thank You to AndrzejM For This Useful Post:
t vago (10-14-2013)
Old 10-14-2013, 10:31 AM   #193 (permalink)
Scandinavian creature
 
Join Date: Jun 2012
Location: Finland
Posts: 146

Golf ball - '94 Volkswagen Golf III
90 day: 28.46 mpg (US)
Thanks: 4
Thanked 27 Times in 22 Posts
Would'nt it be best that the text would scroll in the settings? Then there would be enough room to write it clearly instead of 16 char limit.
__________________

Brrrmm
Now selling preassembled MPGuino's!
http://www.mthtek.net/mpguino/
  Reply With Quote
The Following User Says Thank You to Quezacotl For This Useful Post:
t vago (10-14-2013)
Old 10-14-2013, 11:07 AM   #194 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
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 Ardent View Post
The day ended up being 375 miles total with no glitches. I'm pleased; thanks for the good work t vago!
It's good to hear that the code worked correctly this time. Looks like it was a mistake to move the injector interrupt code onto a single pin.

Quote:
Originally Posted by AndrzejM View Post
First part of my trip behind me. I'm in Prague and MPGuino works flawlessly. I just need to get used to it because it's different from previous version I was using. I'm just not familiar with all the button combinations and all the letters describing values yet.
Yah, I got to work on documentation. Maybe I can convince the powers-that-be here to give me a Wiki page for the new-and-improved MPGuino.

The metric bug you described in the 0.86 code was indeed due to modifying the original code to work with 20 MHz processors, and not updating every single time-dependent line of code. That was one of the first things I overhauled, and I tested the bejeezus out of it to make sure it'd work correctly on 16 MHz and 20 MHz processors.

Quote:
Originally Posted by AndrzejM View Post
More to come after fill up and calibrating new setup.

Anyway good job t_vago!
Thank you! Looking forward to more of your feedback!

Quote:
Originally Posted by Quezacotl View Post
Would'nt it be best that the text would scroll in the settings? Then there would be enough room to write it clearly instead of 16 char limit.
That might could be a good idea, too. It wouldn't take too much effort to set up.
  Reply With Quote
Old 10-14-2013, 11:20 AM   #195 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Quote:
Originally Posted by t vago View Post
Yah, I got to work on documentation. Maybe I can convince the powers-that-be here to give me a Wiki page for the new-and-improved MPGuino.
That would be great.

Quote:
Originally Posted by t vago View Post
The metric bug you described in the 0.86 code was indeed due to modifying the original code to work with 20 MHz processors, and not updating every single time-dependent line of code. That was one of the first things I overhauled, and I tested the bejeezus out of it to make sure it'd work correctly on 16 MHz and 20 MHz processors.
And it works as it should! Good job!

And driving here I got this idea that I could use your code for measuring pressure to get temerature reading from the engine. I was working on that with "canadian" code but haven't finished that yet. So I need to start again with 1.86tav code Could you provide the diagram how you actually connected MPGuino to the MAP sensor? Thanks
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
The Following User Says Thank You to AndrzejM For This Useful Post:
t vago (10-16-2013)
Old 10-16-2013, 12:30 AM   #196 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
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 AndrzejM View Post
And driving here I got this idea that I could use your code for measuring pressure to get temerature reading from the engine. I was working on that with "canadian" code but haven't finished that yet. So I need to start again with 1.86tav code Could you provide the diagram how you actually connected MPGuino to the MAP sensor? Thanks
The diagram has been folded into the code itself.

Also modified the code to make it easier to display things like the A-B display and the coastdown display, and added Arduino Mega 2560 support (which needs to be tested). The display modifications are slightly buggy right now, but should be fixed soon.

Last edited by t vago; 05-11-2014 at 04:27 PM.. Reason: current MPGuino code version is at first post of this thread
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
josemapiro (10-16-2013)
Old 10-16-2013, 05:09 AM   #197 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Great job! As always

Thanks
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
Old 10-16-2013, 02:36 PM   #198 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
I was been testing the arduino mega and buttons legacy are working, but the injector readings does not give me any information, even tested if it worked? The information of the speed pin, did not get to test because had the car stopped in the garage.
The pins of the LCD to the Arduino Mega, is that they could be changed to free the PWM pins. I'm using the ports A
Code:
const uint8_t lcdData = 		(1 << 5); // on PORTA
const uint8_t lcdEnable = 		(1 << 4); // on PORTA
const uint8_t lcdBit3 = 		(1 << 0); // on PORTA
const uint8_t lcdBit2 = 		(1 << 1); // on PORTA
const uint8_t lcdBit1 = 		(1 << 2); // on PORTA
const uint8_t lcdBit0 = 		(1 << 3); // on PORTA
Another fantastic work, as always.

Thank you
José Rodrigues
  Reply With Quote
Old 10-16-2013, 03:11 PM   #199 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
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 josemapiro View Post
I was been testing the arduino mega and buttons legacy are working, but the injector readings does not give me any information, even tested if it worked? The information of the speed pin, did not get to test because had the car stopped in the garage.
If the legacy buttons are working now, then the VSS signal should work, as well.

What pins do you have your injector signal connected to? I currently have the pins mapped to:
Code:
  Arduino Mega2560
	injector sense open  PE4 (INT4)
	injector sense close PE5 (INT5)


Quote:
Originally Posted by josemapiro View Post
The pins of the LCD to the Arduino Mega, is that they could be changed to free the PWM pins. I'm using the ports A
Code:
const uint8_t lcdData = 		(1 << 5); // on PORTA
const uint8_t lcdEnable = 		(1 << 4); // on PORTA
const uint8_t lcdBit3 = 		(1 << 0); // on PORTA
const uint8_t lcdBit2 = 		(1 << 1); // on PORTA
const uint8_t lcdBit1 = 		(1 << 2); // on PORTA
const uint8_t lcdBit0 = 		(1 << 3); // on PORTA
Another fantastic work, as always.
Thank you!

So these two statements are still correct?

Code:
const uint8_t lcdBrightness = 		(1 << 1); // on PORTB
const uint8_t lcdContrast = 		(1 << 6); // on PORTD

Last edited by t vago; 10-16-2013 at 03:39 PM..
  Reply With Quote
Old 10-16-2013, 03:42 PM   #200 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Quote:
Originally Posted by t vago View Post
If the legacy buttons are working now, then the VSS signal should work, as well.

What pins do you have your injector signal connected to? I currently have the pins mapped to:
Code:
  Arduino Mega2560
	injector sense open  PE4 (INT4)
	injector sense close PE5 (INT5)
Yes I moved the pins PE4 and PE5 but not getting any information in MPGuino.

Quote:
So these two statements are still correct?

Code:
const uint8_t lcdBrightness = 		(1 << 1); // on PORTB
const uint8_t lcdContrast = 		(1 << 6); // on PORTD
Use different pins, the OC0A OC1A in the arduino mega is on pins PB5 and PB7.
Code:
const uint8_t lcdBrightness = 		(1 << 5); // on PORTB
const uint8_t lcdContrast = 		(1 << 7); // on PORTB
Thank you
José Rodrigues

  Reply With Quote
Reply  Post New Thread






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