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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-11-2012, 11:35 PM   #1 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: New Zealand
Posts: 5,005

ND Miata - '15 Mazda MX-5 Special Package
90 day: 42.54 mpg (US)
Thanks: 2,866
Thanked 2,501 Times in 1,547 Posts
0.86 code running on 16mhz crystal - help

I'm currently playing with the 0.86 version of the code on my arduino-based MPGuino. There's a section commented out:

Quote:
//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]

Which I used. I've noticed something very strange though - my instant mileage appears to be calculated correctly but my trip mileage seems to be 1.25x my instant mileage - for instance cruising along at 36mpg will give me an average trip mileage of 45. What variables do I need to change to correct this?

I haven't checked tank mileage against instant yet. What other factors might be affected?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-12-2012, 11:36 PM   #2 (permalink)
EcoModding Apprentice
 
Join Date: Aug 2009
Location: terra firma
Posts: 138
Thanks: 4
Thanked 24 Times in 22 Posts
dispadj2 should be 1000, not 1250.
  Reply With Quote
Old 04-13-2012, 05:48 PM   #3 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: New Zealand
Posts: 5,005

ND Miata - '15 Mazda MX-5 Special Package
90 day: 42.54 mpg (US)
Thanks: 2,866
Thanked 2,501 Times in 1,547 Posts
Quote:
Originally Posted by nickdigger View Post
dispadj2 should be 1000, not 1250.
Thanks! Everything seems in order now.

  Reply With Quote
Reply  Post New Thread


Thread Tools




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