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

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-01-2008, 12:09 AM   #21 (permalink)
nut
 
Coyote X's Avatar
 
Join Date: Dec 2007
Location: Southen West Virginia
Posts: 621

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

DR650SE - '07 DR650SE
90 day: 55.26 mpg (US)

Moonbeam - '94 Astro Conversion
90 day: 22.31 mpg (US)
Thanks: 0
Thanked 8 Times in 7 Posts
Send a message via ICQ to Coyote X Send a message via AIM to Coyote X Send a message via MSN to Coyote X Send a message via Yahoo to Coyote X Send a message via Skype™ 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


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________

My Convertible Metro XFI Plug in Hybrid Project build log
  Reply With Quote
Old 05-01-2008, 11:25 AM   #22 (permalink)
FuelSipper
 
Join Date: Mar 2008
Location: Dallas, TX
Posts: 99

HondaHokie - '95 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, 11:50 AM   #23 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 11,914

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 107.11 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 83.36 mpg (US)
Thanks: 239
Thanked 847 Times in 471 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 project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


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, 08:09 PM   #24 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,024

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 153
Thanked 256 Times in 202 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, 10:06 PM   #25 (permalink)
EcoModding Apprentice
 
awillard69's Avatar
 
Join Date: Feb 2008
Location: Streamwood, IL
Posts: 105

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

Jeep - '01 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, 10:55 PM   #26 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,024

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 153
Thanked 256 Times in 202 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, 11: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 Grand Cherokee ZJ Laredo
90 day: 23.75 mpg (US)

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

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


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________


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 11:14 PM




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