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-30-2008, 11:09 PM   #21 (permalink)
nut
 
Coyote X's Avatar
 
Join Date: Dec 2007
Location: Southen West Virginia
Posts: 654

Metro XFi - '93 Geo Metro XFi Convertible
90 day: 62.17 mpg (US)

DR650SE - '07 Suzuki DR650SE
90 day: 55.26 mpg (US)
Thanks: 0
Thanked 37 Times in 26 Posts
Send a message via MSN to Coyote X
If this was a computer based system I would say build up some libraries and just call the functions as you need them. But for embedded stuff I always liked to minimize the function calls and stick with the standard libraries for whatever ide is being used.

Having a huge number of functions might in theory make the code more modular but it also makes it take longer to run and takes up more memory. So I say make a main loop do the extreme basics like update the display only and let the interrupts do the bulk of the work.

My vote is for the absolute basic features for the first revision and once that actually works then go wild with adding stuff on to it

__________________


  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-01-2008, 10:25 AM   #22 (permalink)
FuelSipper
 
Join Date: Mar 2008
Location: Dallas, TX
Posts: 99

HondaHokie - '95 Honda Accord DX 4 door
90 day: 26.91 mpg (US)
Thanks: 0
Thanked 8 Times in 3 Posts
Quote:
Originally Posted by Coyote X View Post
My vote is for the absolute basic features for the first revision and once that actually works then go wild with adding stuff on to it
I agree. The 1.0 version should have minimal features to get it working. We can always work on the bells and whistles after we have a functional device.
  Reply With Quote
Old 05-01-2008, 10:50 AM   #23 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 21,139

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 52.8 mpg (US)

Winter beater Metro - '00 Chevrolet Metro
90 day: 73.57 mpg (US)
Thanks: 2,930
Thanked 5,775 Times in 2,989 Posts
Quote:
Originally Posted by dcb View Post
re database, yah just a page (or even a post) with the parameters by make/model/year will be fine for starters. If by some miracle we get hundreds/thousands of data points then it might need a better tool.
Fair enough.

As for the library consideration - that's officially over my head.
__________________
Latest mods test: 15 mods = 15% MPG improvement: A-B test, 2007 Honda Civic 1.8L, 5-speed
Ecodriving test:
Manual vs. automatic transmission MPG showdown: Nissan Micra 1.6L



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 05-01-2008, 07:09 PM   #24 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 157
Thanked 266 Times in 209 Posts
Here's the layout, a little more finished. I tried 4 digits for tank miles and 2 for gallons, but it just looks better lined up I think. And it will be a little simpler to have a function that formats numbers as all NNN.NN.

INstant and CUrrent Miles/Gallon on top
MIles and GAllons for the TanK on the bottom



Enough messing around with the display
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-01-2008, 09:06 PM   #25 (permalink)
EcoModding Apprentice
 
awillard69's Avatar
 
Join Date: Feb 2008
Location: Streamwood, IL
Posts: 105

Dakota - '00 Dodge Dakota Club Cab, Sport
90 day: 18.57 mpg (US)

Jeep - '01 Jeep Wrangler TJ Sport
90 day: 18.46 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
Looks good. But, I don't think you need that many decimal digits. Anything beyond NNN.N may be too inaccurate to matter and take up space. All the numbers are going to be based on calculations, so rounding and precision will make them useless.
__________________

  Reply With Quote
Old 05-01-2008, 09:55 PM   #26 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 157
Thanked 266 Times in 209 Posts
I understand and considered it, but I am shooting for that degree of precision. a 100th of a gallon is a noticable amount (about 1/6 of a cup), at least it is noticable at the high end of the mpg spectrum. I could go a whole mile on that . Also, there are many vss tics in a 10th of a mile (way more than 10), so I think the data environment supports at least 2 digits after the decimal point.

Besides, I don't know what else to put in the space at the moment I'll be posting the source shortly.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-01-2008, 10:27 PM   #27 (permalink)
Giant Moving Eco-Wall
 
DifferentPointofView's Avatar
 
Join Date: Dec 2007
Location: The Dale, IL (or A-Dale)
Posts: 1,120

The Jeep! - '95 Jeep Grand Cherokee ZJ Laredo
90 day: 23.75 mpg (US)

The Caliber - '07 Dodge Caliber R/T
90 day: 30.6 mpg (US)

The 'Scort - '98 Ford Escort LX
Thanks: 0
Thanked 7 Times in 6 Posts
this stuff is sounding good! tell me when you have a prototype ready to run, cause I wanna test it out!

__________________


Yea.. I drive a Jeep and I'm on a fuel economy site, but you just wouldn't understand... "It's a Jeep thing!" *Jeep Wave*

Did I Use Too Many Abbreviations? Here's The Abbreviations List
  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
opengauge development: gunio technical considerations dcb OpenGauge / MPGuino FE computer 88 06-26-2008 10:14 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com