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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-04-2012, 05:40 AM   #371 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: india
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
thanx jellybean I assembled & checked (without vehicle) on my desk & things were working showing km/l do i still need to change the crystal? I already installed .86 version
on starting it shows MPGUINO v 0.86 now I will check on my car shoul I change the crystal or check with 16 mhz one?
thanx

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-04-2012, 06:04 AM   #372 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: india
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
how to change crystal? simple desoldering & soldering or any change after crystal change?
  Reply With Quote
Old 05-04-2012, 07:45 AM   #373 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
You dont have to change crystal, change code.
http://opengauge.googlecode.com/svn/...no/mpguino.cpp
cpp file has section where you comment 20mhz part out and 16mhz part in. Only few lines needs changing.

change this part...
Quote:
//use with 20mhz
#define cyclesperhour 4500
#define dispadj 800
#define dispadj2 1250
#define looptime 1250000ul/loopsPerSecond //1/2 second
#define myubbr (20000000/16/9600-1)
#define injhold (parms[injectorSettleTimeIdx]*5)/4

#define outhi(port,pin) PORT##port |= ( 1 << P##port##pin )
#define outlo(port,pin) PORT##port &= ~( 1 << P##port##pin )
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))

//use with 16mhz, not tested
//#define cyclesperhour 3600
//#define dispadj 1000
//#define dispadj2 1250
//#define looptime 1000000ul/loopsPerSecond //1/2 second
//#define myubbr (16000000/16/9600-1)
//#define injhold parms[injectorSettleTimeIdx]
...to this:
Quote:
//use with 20mhz
//#define cyclesperhour 4500
//#define dispadj 800
//#define dispadj2 1250
//#define looptime 1250000ul/loopsPerSecond //1/2 second
//#define myubbr (20000000/16/9600-1)
//#define injhold (parms[injectorSettleTimeIdx]*5)/4

#define outhi(port,pin) PORT##port |= ( 1 << P##port##pin )
#define outlo(port,pin) PORT##port &= ~( 1 << P##port##pin )
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))

//use with 16mhz, not tested
#define cyclesperhour 3600
#define dispadj 1000
#define dispadj2 1250
#define looptime 1000000ul/loopsPerSecond //1/2 second
#define myubbr (16000000/16/9600-1)
#define injhold parms[injectorSettleTimeIdx]

Other option is, that you use older version - it is arduino compatible withiout changes:
http://opengauge.googlecode.com/svn/...no/mpguino.pde

Meelis

Last edited by meelis11; 05-04-2012 at 07:53 AM.. Reason: typos fixed, code part pasted in
  Reply With Quote
Old 05-04-2012, 12:54 PM   #374 (permalink)
EcoModdingRealist
 
SiVX's Avatar
 
Join Date: Mar 2012
Location: Front Royal, VA
Posts: 70

The Blue Lagoon - '92 Honda Civic VX
Thanks: 11
Thanked 2 Times in 2 Posts
MPGuino received. Thanks JellyBeanDriver! It looks clean. Can't wait to get it installed. Its the Apple Blossom festival this weekend so its gonn have to wait until next week. However I think the community here will like my clever mounting idea. Pics to come soon.
__________________

[ACHV ALL]
  Reply With Quote
Old 05-04-2012, 08:12 PM   #375 (permalink)
EcoModding Apprentice
 
Join Date: Aug 2009
Location: terra firma
Posts: 138
Thanks: 4
Thanked 24 Times in 22 Posts
@meelis11 (and nanhi99), the "dispadj2 1250" is incorrect. For 16mhz, both dispadj and dispadj2 should be 1000.
  Reply With Quote
Old 05-05-2012, 01:58 AM   #376 (permalink)
EcoModding Lurker
 
3gd16's Avatar
 
Join Date: May 2011
Location: Puerto Rico
Posts: 30

Wagon - '93 Honda Accord Accord Ex Wagon
90 day: 25.41 mpg (US)
Thanks: 2
Thanked 0 Times in 0 Posts
Where can i get mines and how much shipped?
__________________
  Reply With Quote
Old 05-05-2012, 12:58 PM   #377 (permalink)
EcoModding Lurker
 
Join Date: Aug 2011
Location: india
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Hi I am now trying to built MPguino on seperate pcb please can you tell me as Iam unable to get 330 mfd & 50K can what other resistance & capacitor can be used?
like 47 k instead of 50k & 470 Mfd instead of 330 Mfd
  Reply With Quote
Old 05-05-2012, 01:43 PM   #378 (permalink)
EcoModding Lurker
 
JellyBeanDriver's Avatar
 
Join Date: Jun 2010
Location: So. Cal
Posts: 92
Thanks: 2
Thanked 15 Times in 13 Posts
Quote:
Originally Posted by nanhi99 View Post
Hi I am now trying to built MPguino on seperate pcb please can you tell me as Iam unable to get 330 mfd & 50K can what other resistance & capacitor can be used?
like 47 k instead of 50k & 470 Mfd instead of 330 Mfd
That would be fine, they're not critical.
__________________
1992 Geo Metro, 1.0L 5spd, 435,000 miles on the original engine and trans!
- knuckles/hubs/brakes/13" wheels from a 2000 Metro
- running 175 70R13
- averaging 51.7 MPG, 56.9MPG best tank.
- self built MPGuino
- http://www.dschmidt.com/MPGuinoJBD.html
  Reply With Quote
Old 05-14-2012, 03:25 AM   #379 (permalink)
EcoModding Lurker
 
Join Date: Mar 2012
Location: san antonio, TX
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by JellyBeanDriver View Post
Ordered one today thanks in advance
  Reply With Quote
Old 05-15-2012, 01:58 AM   #380 (permalink)
EcoModding Lurker
 
JellyBeanDriver's Avatar
 
Join Date: Jun 2010
Location: So. Cal
Posts: 92
Thanks: 2
Thanked 15 Times in 13 Posts
Quote:
Originally Posted by shockj2000 View Post
Ordered one today thanks in advance
Shipping out tomorrow, thanks!

__________________
1992 Geo Metro, 1.0L 5spd, 435,000 miles on the original engine and trans!
- knuckles/hubs/brakes/13" wheels from a 2000 Metro
- running 175 70R13
- averaging 51.7 MPG, 56.9MPG best tank.
- self built MPGuino
- http://www.dschmidt.com/MPGuinoJBD.html
  Reply With Quote
The Following User Says Thank You to JellyBeanDriver For This Useful Post:
shockj2000 (05-18-2012)
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 02:37 AM
For Sale Preassembled MPGUINO NEW $45. randall OpenGauge / MPGuino FE computer 1 10-24-2009 05:13 PM
MPGuino, Preassembled BRAND NEW Sean T. For Sale 4 10-22-2009 08:00 PM
Brand New MPGuino Preassembled Sean T. For Sale 1 06-17-2009 02:02 AM



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