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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 02-23-2017, 07:53 PM   #81 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Hi t vago

Quote:
Originally Posted by t vago View Post
You can change the park (vehicle stopped, engine off) timeout in the settings from 2 seconds to however many seconds you want (up to 255 seconds).

The park timeout was meant to be short because the park timeout causes auto-saving to occur, and after the auto-save occurred, the user could then actually switch off the MPGuino (say, with using a switched ignition voltage source rather than a battery voltage source).

I am puzzled, though - apart from showing that the auto-save occurred, the park timeout screen should be exactly the same as the normal screen. The only time the screen changes is when the idle or EOC timeouts occur, or when the inactivity timeout is reached. You say the park timeout screen changes? Can you show me with a YouTube vid?
Already solved, it was like you said, just increase the time in (BtnPress) to have more time.

Quote:
Originally Posted by t vago View Post
The coastdown test code uses these stored parameters.

Code:
	FrArea*1000 ft^2 or m^2 - vehicle frontal area
	rho*1000 - air density at the time of the coastdown test
	Cd SamplePd (s) - the period between actual coastdown samples
How do I get to the value of the front area of the vehicle, multiply the width by height, or do I have to do otherwise, the front of the vehicle is more or less right but where is the glass has a slope and this leaves me with doubts.
I'm sorry but in this part I'm really in the dark.

Thanks
José Rodrigues

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-26-2017, 08:09 AM   #82 (permalink)
EcoModding Lurker
 
Join Date: Jun 2015
Location: EU
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Hi!

I'm getting bunch of compilation errors with the new code.
Am I doing something wrong?

******


Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Mini, ATmega328"

Build options changed, rebuilding all

mpguino_194_20170210_ninom:1026: error: 'PINK3' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void __vector_5()':
mpguino_194_20170210_ninom:1017: error: 'PINK' was not declared in this scope
mpguino_194_20170210_ninom.ino:5636:6: note: in expansion of macro 'PINx'
mpguino_194_20170210_ninom.ino: In function 'void initADC(uint8_t)':
mpguino_194_20170210_ninom:6003: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void shutdownADC()':
mpguino_194_20170210_ninom:6035: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void TWI::init()':
mpguino_194_20170210_ninom:6457: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void TWI::shutdown()':
mpguino_194_20170210_ninom:6485: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void doGoDeepSleep()':
mpguino_194_20170210_ninom:11299: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom.ino: In function 'void initGuino()':
mpguino_194_20170210_ninom:1005: error: 'INT5' was not declared in this scope
mpguino_194_20170210_ninom.ino:12853:19: note: in expansion of macro 'FI_EN_INT_O'
mpguino_194_20170210_ninom:1006: error: 'INT4' was not declared in this scope
mpguino_194_20170210_ninom.ino:12853:40: note: in expansion of macro 'FI_EN_INT_C'
mpguino_194_20170210_ninom:1007: error: 'EICRB' was not declared in this scope
mpguino_194_20170210_ninom.ino:12855:2: note: in expansion of macro 'EICRx'
mpguino_194_20170210_ninom:1008: error: 'ISC51' was not declared in this scope
mpguino_194_20170210_ninom.ino:12855:18: note: in expansion of macro 'FI_ISC_OH'
mpguino_194_20170210_ninom:1009: error: 'ISC50' was not declared in this scope
mpguino_194_20170210_ninom.ino:12855:37: note: in expansion of macro 'FI_ISC_OL'
mpguino_194_20170210_ninom:1010: error: 'ISC41' was not declared in this scope
mpguino_194_20170210_ninom.ino:12855:56: note: in expansion of macro 'FI_ISC_CH'
mpguino_194_20170210_ninom:1011: error: 'ISC40' was not declared in this scope
mpguino_194_20170210_ninom.ino:12855:75: note: in expansion of macro 'FI_ISC_CL'
mpguino_194_20170210_ninom:1012: error: 'INTF5' was not declared in this scope
mpguino_194_20170210_ninom.ino:12858:17: note: in expansion of macro 'FI_FL_INT_O'
mpguino_194_20170210_ninom:1013: error: 'INTF4' was not declared in this scope
mpguino_194_20170210_ninom.ino:12858:38: note: in expansion of macro 'FI_FL_INT_C'
mpguino_194_20170210_ninom.ino: In function 'int main()':
mpguino_194_20170210_ninom:13443: error: 'PRR0' was not declared in this scope
mpguino_194_20170210_ninom:13476: error: 'DIDR2' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRR1' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRTIM5' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRTIM4' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRTIM3' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRUSART3' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRUSART2' was not declared in this scope
mpguino_194_20170210_ninom:13491: error: 'PRUSART1' was not declared in this scope
mpguino_194_20170210_ninom:1017: error: 'PINK' was not declared in this scope
mpguino_194_20170210_ninom.ino:13616:18: note: in expansion of macro 'PINx'
'PINK3' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
__________________
Sorry, new users are not permitted to post links in their signatures.
  Reply With Quote
Old 02-26-2017, 09:58 AM   #83 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 830
Thanked 708 Times in 456 Posts
Quote:
Originally Posted by ntoobe View Post
Hi!

I'm getting bunch of compilation errors with the new code.
Am I doing something wrong?

******


Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Mini, ATmega328"

Build options changed, rebuilding all

mpguino_194_20170210_ninom:1026: error: 'PINK3' was not declared in this scope
....
Looks like your Arduino IDE is configured for a generic AtMega328, but your copy of MPGuino is configured for an AtMega2560. They're two very different chips. Go verify what hardware you're compiling for.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
ntoobe (02-28-2017)
Old 02-26-2017, 01:33 PM   #84 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Hi t vago
Here is a video where it shows the failure to wake up, as you can see the car is working I go up the revs and do not wake up, just because the car walking a little is waking up.
The strange thing is that it does not always happen.
http://www.youtube.com/embed/n40OHdaDLfk

Thanks
José Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (02-26-2017)
Old 02-26-2017, 08:14 PM   #85 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 830
Thanked 708 Times in 456 Posts
Quote:
Originally Posted by josemapiro View Post
Hi t vago
Here is a video where it shows the failure to wake up, as you can see the car is working I go up the revs and do not wake up, just because the car walking a little is waking up.
The strange thing is that it does not always happen.
http://www.youtube.com/embed/n40OHdaDLfk

Thanks
José Rodrigues
I'm having a hell of a time trying to reproduce this bug from here.

Can you disable deep sleep / re-enable the software clock display? Let's see if the MPGuino has similar trouble "waking up" with the software clock instead of deep sleep.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
josemapiro (03-01-2017)
Old 02-28-2017, 07:31 PM   #86 (permalink)
EcoModding Lurker
 
Join Date: Jun 2015
Location: EU
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Quote:
Originally Posted by t vago View Post
Looks like your Arduino IDE is configured for a generic AtMega328, but your copy of MPGuino is configured for an AtMega2560. They're two very different chips. Go verify what hardware you're compiling for.
You are right, I didn't go through configuration inside code properly.
ATMega2560 is default now after you download the code.
__________________
Sorry, new users are not permitted to post links in their signatures.
  Reply With Quote
The Following User Says Thank You to ntoobe For This Useful Post:
t vago (02-28-2017)
Old 02-28-2017, 10:29 PM   #87 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 830
Thanked 708 Times in 456 Posts
Quote:
Originally Posted by ntoobe View Post
You are right, I didn't go through configuration inside code properly.
ATMega2560 is default now after you download the code.
Oooops, sorry about that.
  Reply With Quote
Old 03-01-2017, 09:20 AM   #88 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Hi t vago
I have already done what you indicated, now just wait to see what the result, anyway the problem seems to happen more when the car is more time stopped.

Thanks
José Rodrigues

Last edited by josemapiro; 03-12-2017 at 07:26 PM..
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (03-01-2017)
Old 03-05-2017, 09:26 PM   #89 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 830
Thanked 708 Times in 456 Posts
How about... MPGuino + Android?

Adafruit Bluefruit LE Shield
  Reply With Quote
Old 03-05-2017, 10:24 PM   #90 (permalink)
Master EcoModder
 
teoman's Avatar
 
Join Date: Jan 2017
Location: Istanbul
Posts: 1,245

A3 - '12 Audi A3
Thanks: 65
Thanked 225 Times in 186 Posts
I would not go that route. If you must put up a webserver (raspberry pi or even an esp8266). Then you can view it from any device that connects to its wifi.

  Reply With Quote
Reply  Post New Thread


Tags
mpguino, peak and hold





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