View Single Post
Old 02-24-2013, 02:09 PM   #49 (permalink)
AndrzejM
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
So I've checked EEPROM in my MPGuino and it's working fine. I was able to fill it with any value I wanted from first to the very last byte. All settings are stored in EEPROM correctly pulses per mile or us per galon etc. But saving tank data to EEPROM doesn't work. After power disconnection, no matter how long I'm waiting first after the last pulse, all tank/trip data are gone. I'm trying to find why is that but it will take a while since I need to go step by step with the code.

I'm working with Arduino UNO, Atmega328-P 16MHz
__________________


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