diy mpg gauge - Page 3 - Fuelly Forums

Click here to see important news regarding the aCar App

Reply
 
Thread Tools Display Modes
 
Old 07-10-2007, 09:04 PM   #21
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
more analog

and if you are wondering what tach and dwell circuits might look like:


from: http://www.4qdtec.com/Automob/TachDwell.html
Attached Thumbnails
Click image for larger version

Name:	TachDwell.gif
Views:	1291
Size:	10.0 KB
ID:	585  
__________________

__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-15-2007, 01:27 PM   #22
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
status

I'm realizing that this isn't quite a comprehensive DIY article yet, I'll have to clean it up when I get something working.

Status, instant mpg isn't nearly as good as a short term average, so I'm shying away from the analog/tach dwell approach.

I was going to persue obdII/ISO after assembling a real trivial circuit. BUT the scangauge stopped working on the saturn (AGAIN?!?) so I need a non obd solution for that car as the scangauge is back in the metro.

So currently I'm trying to load up Visual C++ 6.0 on an old win 98 laptop that has a line-in jack and will try and modify some simple windows based oscilloscope source I found to keep track of how long the injectors have been open and how many clicks we've travelled. It may miss a few beats under windows, but it should be close enough (and provide a reasonable platform for keeping other useful apps on, i.e. some maps and whatnot)
__________________

__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-15-2007, 03:04 PM   #23
|V3|2D
 
thisisntjared's Avatar
 
Join Date: Mar 2006
Posts: 1,186
Country: United States
Send a message via AIM to thisisntjared
Quote:
Originally Posted by skewbe View Post
Status, instant mpg isn't nearly as good as a short term average, so I'm shying away from the analog/tach dwell approach.
i agree, as long as it is accurate.

keep us updated on the progress
__________________
don't waste your time or time will waste you
thisisntjared is offline   Reply With Quote
Old 07-15-2007, 06:02 PM   #24
Registered Member
 
MetroMPG's Avatar
 
Join Date: Dec 2005
Posts: 4,223
Country: United States
Forgive my ignorance, but would a Basic Stamp be a good platform for a DIY FE gauge? Anyone know about these?
MetroMPG is offline   Reply With Quote
Old 07-15-2007, 06:27 PM   #25
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
A more hardcore embedded person would do it with a handful of counters and a PIC (i.e. basic stamp) and have a standalone device. But the problem becomes the fact that they have to put more complicated circuts together and purchase a special programmer to load the BASIC (or C++ or assembler or whatever) program onto the chip and learn how to operate the programmer, or someone has to sell chips to the "Do It yourselfers".

I see a lot of utility in having a full fledged computer handy though, play mp3 files, talk to your lan from your driveway, run maps/whatever. All my portable computers can run on 12 volts directly (no accident). I've even got a ramline 510 touchscreen (used to be in a cop car) that needs to find a second life which would be ideal for this. But the ramline is a PITA to develop on (as are embedded chips), which may be my real motivation for this approach
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-15-2007, 06:50 PM   #26
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
Ooh yah, and a with a well positioned display you can plug in a $20 web cam that is pointing backwards and shave off those mirrors
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-15-2007, 09:51 PM   #27
Registered Member
 
sonyhome's Avatar
 
Join Date: Jul 2007
Posts: 150
Country: United States
LOL!

So back to an OBD solution then, instead of tapping the injector's duty cycle directly?

Too bad for my '93 OBD-1...

This ALDLcable store sells cables using these schematics except it's voltage adaptation uses a cig. lighter, instead of hacking the DTR line (pin 4 of the serial port):



They sell a $10 OBD2-Serial cable:
OBD2-serial cable

They also list a bunch of freeware used to monitor OBD data.

Quote:
Useful links for diagnostic and tuning software:

TTS Datamaster - http://www.ttspowersystems.com/DataM...downloads.html
WinALDL - http://winaldl.joby.se/
EFILive - http://store.efilive.com/download.aspx#downloads3
TunerPro - http://www.tunerpro.net/
TunerCat - http://www.tunercat.com/
FreeScan - http://andywhittaker.com/ECU/FreeSca...0/Default.aspx
CarBytes - http://store.efilive.com/download.aspx#utilties
Moates Free GMECM - http://www.moates.net/gmecm/software.html
ALDL_LOG - http://www.lotus-carlton.fsnet.co.uk/aldl_basics.htm
Pontiac-interface.de - http://www.pontiac-interface.de/
ALDMON for 1227727 and 1227730 - pweb.de.uu.net/pr-meyer.h/aldl.htm
EASE Diagnostics - http://www.easesim.com/
Diacom Plus - http://www.rinda.com/auto/auto.htm
PCMComm 16188051 - http://www.geocities.com/MotorCity/S...24/95cam2.html
ElanScan - http://members.lycos.co.uk/mcnica01/M100_ALDL.html
LT1-Edit - http://www.carputing.com/
GM 6.5 Turbo Diesel Scan- http://www.enghmotors.com/basic/default.aspx

Driver software for our USB cables:

VCP Drivers - http://www.ftdichip.com/Drivers/VCP.htm

OBDII software for our ELM327 based OBD2 allinone scan tool:

OBD2allinone - http://www.obd2allinone.com/sc/pages.asp?pageid=60
Othe OBD-1 links:

http://cable.invisibill.net (schematics, used on datamaster, freescan, winaldl)
__________________

sonyhome is offline   Reply With Quote
Old 07-16-2007, 02:08 AM   #28
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
Quote:
Originally Posted by sonyhome View Post
LOL!

So back to an OBD solution then, instead of tapping the injector's duty cycle directly?

Too bad for my '93 OBD-1...
I'm NOT currently planning on doing OBD, it won't help me as my saturn is not happy with OBD MPG attempts, for whatever reason, and I'd like to get something out of my efforts.

I'm planning on the audio approach on a laptop for ease of implementation and more universal application. Any any car with electronic FI should work. One just need a laptop with a Line-In to run the mpg program on and a simple circuit to limit the voltage going in.
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-20-2007, 11:28 PM   #29
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
1998 geo metro TBI injector pulse analysis:

44100/8 bit/mono recording using a diode clamp interface and a 10k resistor on a 133mhz laptop with integral sound card via line in left channel . Car in neutral in driveway. Probe connected to yellow wire between fuel injector resistor and fuel injector.

3 samples, 1 low rpm, 1 accalerating to higher rpm, 1 high rpm. Images stretched horizontally for easier duty cycle visualization/comparison.


steadyish @ ~1200
period 1714 bytes
pulse width 119 bytes
duty cycle 0.0694



just starting to ramp up on the way to 2000rpm in neutral
period 1273 bytes
pulse width 137 bytes
duty cycle 0.1076



steadyish @ ~2000rpm
period 833 bytes
pulse width 73 bytes
duty cycle 0.0876
(duty cycle increased for higher rpm and throttle setting.

sanity checks:
(3 pulses/2 revolutions)*2000 rpm=3000 injector pulses/minute = 50 pulses/second
44100/833 = 52.94 pulses/second. Enh, close enough for a single wave analysis.

accelerating had the largest duty cycle (most time spent squirting fuel)

hi rpm has a proportionally larger duty cycle than low rpm.

833 byte sized samples @ 2000 rpm equates to a potential 99.75% accuracy at 4000rpm

Note: this signal doesn't look very clamped to me, maybe 10k is too much or my diodes fried. Agc is having fun with the signal too.
Attached Thumbnails
Click image for larger version

Name:	injlo.GIF
Views:	1271
Size:	4.8 KB
ID:	634   Click image for larger version

Name:	injramp.GIF
Views:	1264
Size:	4.8 KB
ID:	635   Click image for larger version

Name:	injhi.GIF
Views:	1298
Size:	4.9 KB
ID:	636  
__________________
Standard Disclaimer
skewbe is offline   Reply With Quote
Old 07-21-2007, 04:59 AM   #30
Registered Member
 
skewbe's Avatar
 
Join Date: Jan 2007
Posts: 771
Country: United States
Here's the actual recording

for the above images. It was a raw wav, so I could pipe it through a program for development, but it is here converted to mpeg 3 compression for space considerations. Recorded with windows sound recorder and subsequently compressed with sound recorder.

if you run it in windows media player, set the visualizations to "scope" by:
views->visualizations->bars and waves->scope

OOPS, this is the recording of the wrong channel!! The other side records a bit cleaner. I sure hope there isn't this much crosstalk when the other channel is plugged into the VSS.
Attached Files
File Type: zip inj.zip (57.6 KB, 142 views)
__________________

__________________
Standard Disclaimer
skewbe 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 01:03 AM
epa estimates cseverens Fuelly Web Support and Community News 2 06-09-2010 03:48 AM
Keeping my distance in traffic khurt General Fuel Topics 8 09-07-2008 03:23 AM
Electrical power and cars. DracoFelis Automotive News, Articles and Products 2 09-16-2006 01:31 PM
"active" aero grille slats on 06 civic concept MetroMPG General Fuel Topics 21 01-03-2006 12:02 PM

» Fuelly Android Apps
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 12:07 AM.


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