diy mpg gauge - Page 5 - Fuelly Forums

Android Users - Coming Soon! - Migrating from aCar 4.8 to 5.0

Reply
 
Thread Tools Display Modes
 
Old 07-24-2007, 11:05 AM   #41
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
Actually, I was thinking of a tone that peaks when you are accelerating most efficiently. If you give the computer throttle control it might be able to find the most efficient accelerator setting for you (for a given gear).
__________________

__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-24-2007, 12:06 PM   #42
Supporting Member
 
cfg83's Avatar
 
Join Date: Sep 2006
Posts: 1,779
Country: United States
skewbe -

Quote:
Originally Posted by skewbe View Post
Actually, I was thinking of a tone that peaks when you are accelerating most efficiently. If you give the computer throttle control it might be able to find the most efficient accelerator setting for you (for a given gear).
Ha ha! I was thinking that this would be a perfect 2600 article, and here you are talking in terms of "tones" for your solution.

Most excellent work!!!!! I think you should publish this in http://www.makezine.com

CarloSW2
__________________

__________________
Old School SW2 EPA ... New School Civic EPA :

What's your EPA MPG? http://www.fueleconomy.gov/feg/calculatorSelectYear.jsp
cfg83 is offline   Reply With Quote
Old 07-24-2007, 08:01 PM   #43
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
I got a request to provide a binary, so, just this once. If your signal looks like mine (vss cranked on the left channel, injector upside down and about the same height), it might work out of the box.

you will have to save this Mpg.zip file somewhere then run (trust me?!?)
java -jar Mpg.zip

from a command prompt in that directory, or put a shortcut together, whatever. Google is your friend. If you see error messages, start there, or give yoshi his $170 bucks
Attached Files
File Type: zip Mpg.zip (11.5 KB, 177 views)
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-24-2007, 11:06 PM   #44
Registered Member
 
philmcneal's Avatar
 
Join Date: Feb 2006
Posts: 333
Country: Canada
the power of open source, now you just need a odb/odbII to usb2 for newbies and downloadable exe and your set!
__________________
If your reading this, then good for you, your saving some gas because your here.
philmcneal is offline   Reply With Quote
Old 07-25-2007, 05:05 AM   #45
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
Not obd, not for newbies, not exe. It's for folks who can figure out how to compile a "hello world" program in a given language, who can put a simple circuit together and hook it up to the vss and an injector, and can make sense out of what they are seeing.

I'm not even going to try to compete in the support department with paid for products, this is Do It Yourself land (that means you too)
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-25-2007, 05:22 PM   #46
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
Hypermiling User Interface idea:

I think one of the useful things for hypermiling not done by SG2 that this software could do is compute MPG by speeds.

Here's the idea:

Create buckets of speeds, say:
0MPH, 1~5MPH, 5~40MPH, 40~65MPH, 65~100MPH.

For each bucket, compute
- GPH
- average time spent in that bucket
- distance travelled in that bucket
- MPG (when applicable)

Also compute overall MPG.

Now say you're driving in the city, with some highway.

At first you drive normally, and check your buckets, see time spent in each and what part of your driving contributes to your overall MPG.

Now start using hypermiling techniques that apply to specific buckets.

For example, if you see you spend most time on stop lights (the bucket 0MPH will tell you how much gas it costs you), then you know you must turn of your engine at lights to improve MPG.

If the profile shows it costs little gas though it may seem like a long time while you drive, you know you don't need to risk damaging your starter and look for another solution.

Say you spend your gas in the 5~40MPH buchet. Then you can try to focus on gliding.

If it's at highway speeds, then you can try to use drafting instead, and maybe gliding.

The time spent per bucket can also tell you something as you try different techniques, like gliding causes you to hit more red lights, so you need to be more aggressive.
__________________

sonyhome is offline   Reply With Quote
Old 07-25-2007, 05:26 PM   #47
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
OK a few other things:

- Do you have PICs of the setup, where you wire-in onto your car for collecting Vss and injector signals?

- For OBD-1, you can buy a scan cable, and you could use it to connect a serial cable, with an open source software AND collect the same info I suspect.

- For OBD-2, the scan cable has to hook up to a device ($) that processes and converts the info into data that can be passed to a USB/serial cable.
__________________

sonyhome is offline   Reply With Quote
Old 07-25-2007, 06:12 PM   #48
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
re buckets: Sure, you can do that, have a blast You will need to program a tiny bit. If you add trips for each bucket and at the bottom of processChunk, look at instant.mph() and call update on the appropriate trip(bucket), that will get you close.

re: pic, don't have one, mine was just a couple sewing pins soldered to the resistors and stuck into the appropriate wires. I do not have a permanent installation yet though am considering it. There is a number of folks that already have computers running linux or windows in their cars, for whatever reason.

re: obd, yah someone posted a whole bunch of obd stuff earlier in this thread. That road has been pretty well travelled, and I'm not going down it myself. This approach is universal to electronic fuel injection vehicles and operating systems, and that is worth something.
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-25-2007, 06:15 PM   #49
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
Agreed

I was just currious where you tapped the info and routed the wires.

It helps to have photos to actually commit to do it yourself. There is a sense of concretization, and understanding that the solution is complete
__________________

sonyhome is offline   Reply With Quote
Old 07-25-2007, 06:35 PM   #50
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
Looking at your "diode clamp" again, I have this to say:

I think:
- VSS trips the diodes (sharp horizontal cutoff)
- Injectors voltage is too low and does not trigger the clamp (no cutoff).

It seems to be a 0.4V swing, comparing to VSS cutoffs.

- R is only to limit current if the diode passes current (aka voltage from 0.6V to 13V). At 10KOhm, that is max 1.3mA draw. I dunno if that is noticed by the car's Vss/injector circuits. Likely not?
__________________

__________________

sonyhome is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not very precise mpg calculation larjerr Fuelly Web Support and Community News 4 08-20-2012 02:03 AM
epa estimates cseverens Fuelly Web Support and Community News 2 06-09-2010 04:48 AM
Keeping my distance in traffic khurt General Fuel Topics 8 09-07-2008 04:23 AM
Electrical power and cars. DracoFelis Automotive News, Articles and Products 2 09-16-2006 02:31 PM
"active" aero grille slats on 06 civic concept MetroMPG General Fuel Topics 21 01-03-2006 01:02 PM

Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.