![]() |
Analog MPG meter.
1 Attachment(s)
Here's a block diagram of a pretty simple concept for an mpg meter. The concept is based on the soundcard mpg monitor program- divide the fuel injector pulsewidth into the mileage and use a scaling factor to get mpg.
I've built and tested the prototype circuits for the duty cycle to voltage converter, the frequency to voltage converter, and the signal processors, which are simple comparators. So far, so good; I get voltages proportional to duty cycle and frequency of signals generated on my workbench. I have a schematic for a simple PWM/analog division circuit that I plan to prototype in the medium future. The whole circuit should be easy to implement with a quad opamp chip, a 555 timer, and a voltage regulator chip plus a handful of discrete components. If anyone's interested, I'll post schematics of the circuits as I build and test them. It would be nice to be able to read mpg on a simple tachometer style meter without having to lug my notebook computer around...:eek: |
Hi Jim, have you had a chance to check out the mpguino? It could be assembled bare bones for less than $7 sans LCD and programming support, and only has a handful of components, and can drive an rpm type gauge with just some more code.
I've been entertaining adding a tach like mpg display to it for a while now. You can think of the mpguino as a really tiny laptop :) |
Sure, I've been following the mpguino thread for a while. I just wanted to do an analog design as a design excercise. I didn't realize a guino cold be that cheap- I was under the impression that it would be somewhere over $60 or so...
But I haven't checked back there in a while, either. |
Where and how do you plug in a lead to pick up the fuel injector drive voltage?
|
Quote:
|
re: guino costs. The chip itself is like $4, add a couple zener diodes and a regulator/caps/resistors. There is a schematic in this thread. You can leave off the LCD and Buttons but it will be tricky to calibrate.
http://ecomodder.com/forum/showthrea...html#post32427 |
Quote:
|
I used a tap splice connector. It's a plastic doo hickey that you clip over the wire to be tapped into, and insert the tapout wire into a little hole. Then you crimp it down with a pair of pliers and you're done. I did this at the wires to injector number one.
|
There's been some interest in an analog gauge lately here so I thought I'd put an example together. I've only run it on the bench, but it is a couple lines of code to spit out the current mpg (or whatever) on pwm pin 11.
I found a donor meter: http://opengauge.org/diympggauge/analog/pic1.JPG Took it apart, pried off the label plate: http://opengauge.org/diympggauge/analog/pic2.JPG Scanned in the plate and doctored it up in paintbrush: http://opengauge.org/diympggauge/analog/analog.GIF Printed out the new label and carefully cut it out (used plate as template): http://opengauge.org/diympggauge/analog/pic3.JPG Glued the new label to the original label plate w/rubber glue, and glued the plate back with rubber glue. Hooked it up with a 4.7k resistor to pin 11 and ground. slapped a test program together and played with maxv till I found a good value for full scale deflection. (had to swap meter leads when needle tried to move backwards) http://opengauge.org/diympggauge/analog/pic5.JPG Code:
void setup(){ http://opengauge.org/diympggauge/analog/pic4.JPG Making the new labeling was the hardest part :D |
Once calibrated, you could easily use just the meter to show instant MPG. I think I will do that on one of mine.
|
All times are GMT -4. The time now is 05:33 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com