At 1:08 AM -0700 6/25/98, Nuno Pedrosa wrote: > Hi there! > > WITHOUT going way OT like in that injection discussion, I would like > to know if someone has used some kind of sensor to measure fuel flow. > The idea is to measure the instantaneous fuel consuption. Problem is > that it's a small flow. If cars spent more fuel, it would be a lot > easier! 8) > Why am I here? > Well, I want to build a small car-computer, based on PIC. I really > would like to include fuel consuption indication on its features. You might try using a diaphragm to measure the fuel. Create a small chamber with a inflow port and an outflow port. Divide the chamber in half with the diaphragm. One side would contain gas and the two ports, the other side would be sealed and contain air and a non-contact switch (If the diaphragm breaks, would not want to spark a fire). Close the output port and allow the fuel pump to fill the gas side of the chamber expanding the diaphragm. Close the input port and open the output port. When enough fuel has been used to relax the diaphragm, you count that as one unit. Then your fuel flow is the the number of units times the volume of the diaphragm as related to time. The PIC would use one output pin to control the inflow and outflow ports, and one input pin connected to the switch on the diaphragm. -Chuck- __________________________________________________________________________ Chuck Rice