diy mpg gauge - Page 14 - Fuelly Forums

Click here to see important news regarding the aCar App

Reply
 
Thread Tools Display Modes
 
Old 02-11-2009, 04:44 PM   #131
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
There was a sound file published with the software. I know because I used it.
__________________

__________________

sonyhome is offline   Reply With Quote
Old 02-11-2009, 05:07 PM   #132
Registered Member
 
Join Date: Feb 2009
Posts: 5
Country: United States
Thank you for the quick response.
I could be missing something, but the only sound file I can find in this thread is a 1-channel sound file (injector only, no VSS).
Please correct me if I'm wrong..
__________________

bnapalm is offline   Reply With Quote
Old 02-25-2009, 12:04 PM   #133
Registered Member
 
Join Date: Jun 2008
Posts: 7
Country: United States
Hello people. I too have been reading this tread for about a year and just now decided to get my butt in gear.

Though your circuits work fine, the engineer in me chuckles and cringes at the same time. Just a technicality, but the opposing diodes are called a "clip" not a "clamp". Personally I used a Zener diode in reverse bias with an optoisolator because it is adjustable and gives a much cleaner signal than a regular diode in forward bias. Also, when your diodes fail --or when one of those wires shorts out -- you'll be getting the full 50 volt spikes into your laptop. Or your injectors might be shorted to ground when you're trying to impress the girl in the convertable. So be careful.

I am impressed with the Java program, too. I don't know anything about the language, but this project will give me a good excuse to learn it. Some crafty iPhone or G-phone owner could turn this into an App, then have a bluetooth module send the two signals as auido to the phone wirelessly! Now that would be cool.

And a little advice on finding the Vss: it's got to be somewhere on the back of your speedometer. Probably not feeding into the ECU, though, as is the case on my '91 Corolla.

All I need to find now is a laptop!
EvilToothpaste is offline   Reply With Quote
Old 02-25-2009, 12:21 PM   #134
Registered Member
 
Join Date: Jun 2008
Posts: 7
Country: United States
Quote:
Originally Posted by itjstagame View Post
I was worried since the only diodes I could find at Rad Shack said 50v, but they clamp it to .7V.
You probably should be worried about that 50V because one of the diodes is reverse-biased and injectors create huge spikes in excess of 50V. Usually a diode is rated by its maximum reverse voltage before breakdown.
EvilToothpaste is offline   Reply With Quote
Old 02-25-2009, 12:44 PM   #135
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
I'd be interrested in your ideas for a cleaner setup.

The audio input however could probably handle the 50V spike, don't you think? It's not eating any amps at all (dunno it's standard impedance though).

Couldn't you add a cheapo resistor bridge?

Else we could use a cheap Op-Amp but it would require an extra power source wire.
__________________

sonyhome is offline   Reply With Quote
Old 02-25-2009, 04:57 PM   #136
Registered Member
 
Join Date: Jun 2008
Posts: 7
Country: United States
I'll draw a schematic sometime, but it is just as simple as the setup you have already: just replace the two diodes with one zener reverse biased (backwards) then use a few resisters to divide the voltage to whatever you want. I guess you don't really need a cleaner signal, though, as long as there is only one rising and one falling edge per injector cycle.

As for 50v into a laptop, I guess I don't know if it would be bad or not. I'm going to try to avoid it because I'm a big pussy.

I'm going to try wiring this thing up on someone elses laptop tonight ... wish me luck! I'll take pictures of the mess I make.
EvilToothpaste is offline   Reply With Quote
Old 02-26-2009, 07:19 AM   #137
Registered Member
 
Join Date: Jun 2008
Posts: 7
Country: United States
Java program

So I got it all hooked up last night. I recind what I said about the Vss not being on the ECU; it is there on my toyota and it made things really easy to wire up.

I got really good signals into both left and right channels. There is a "drive to work" image of the signals attached below. Injectors on top (using the zener) and Vss in the botom of the image (using the opposing diodes the OP used).

What I could not figure out were the "injThreshold" and "vssThreshold". What is meant by "value above the noise"? And why are some of the values negative? If you look at my image from CoolEdit, none of the samples are negative on an 8-bit recording.

The gage said I was always using .0055 gallons of gas at every instant, whether the car was running or not. The miles were working, I think, but they were not quite right; I'll have to mess with the fudge factor.

I'll make the attached file in just a minute....
Attached Thumbnails
Click image for larger version

Name:	DRIVET~1.jpg
Views:	289
Size:	97.4 KB
ID:	1325  
EvilToothpaste is offline   Reply With Quote
Old 02-26-2009, 11:00 AM   #138
Registered Member
 
Join Date: Feb 2009
Posts: 5
Country: United States
Hello, EvilToothpaste! Nice to hear I am not the only one left researching this project I am actually using this idea as my course project at university (big thanks to skewbe for the idea/java realisation). The difference is that I am coding this in C++ (I really don't like java.. no reason, I just plain don't like it), currently on linux, but if everything works as planned, it will be easy to port to windows or a mac.

EvilToothpaste, seems to me that you know electronics (which I don't). Would be really nice if you drew a schematic for your diode/resistor setup Also, since nobody answered my previous question, would you be so kind as to share your recorded sound file with me? Even better if you could also provide the information (like how much fuel you spent on that trip and what distance you covered), so I could work on my software before I hook a laptop to my car. My laptop doesn't have a line-in, and neither does my mother's. So I need to buy an external sound card, but, well, I am broke right now

Thank you in advance
bnapalm is offline   Reply With Quote
Old 02-26-2009, 11:16 AM   #139
Registered Member
 
theholycow's Avatar
 
Join Date: Apr 2008
Posts: 6,624
Country: United States
Send a message via ICQ to theholycow Send a message via AIM to theholycow Send a message via MSN to theholycow Send a message via Yahoo to theholycow
What model of laptop comes with audio but no line-in or mic-in?
__________________
This sig may return, some day.
theholycow is offline   Reply With Quote
Old 02-26-2009, 01:44 PM   #140
Registered Member
 
Join Date: Feb 2009
Posts: 5
Country: United States
theholycow: it does have mic-in, but that would only give me one channel. so either just speed/distance, or just fuel consumption, but not both..
__________________

bnapalm is offline   Reply With Quote
Reply


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

» Fuelly Android Apps
No Threads to Display.
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 06:19 AM.


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