View Single Post
Old 04-11-2012, 11:35 PM   #1 (permalink)
Ecky
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: New Zealand
Posts: 5,014

ND Miata - '15 Mazda MX-5 Special Package
90 day: 40.51 mpg (US)
Thanks: 2,869
Thanked 2,513 Times in 1,553 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