The hardware mods are very minor, add a 1 pin connector, 5.1 Volt zener diode & resistor as per the other 2 inputs. Cut the trace between pins 4 & 5 run a jumper from from the disconnected pin (depending on circuit board it could be either 4 or 5) to the junction of the resistor & zener diode. Run a jumper from the other end of the resistor to the added connector. Connect the 2 flow transducers to the inputs for pins 4 & 5.
The "Devils in the Details" in this case it's the code, as some one pointed out for quick readout you need to count the time between pulses from the flow transducers, and use this to figure short term fuel consumption. For long term calculations you may want to keep track of the number of pulses. The MPGuino code already does this for the vehicle speed. I figure I'll get the hardware going then see what can be done for software.
I'm more of a hardware person than software, I can appreciate nice clean code, and I try very hard to write it when I do so.
Bill
Quote:
Originally Posted by meelis11
With some modifications in mpguino hardware and software it should be possible to use mpguino for this purpose too. No need to invent bicycle (mpguino) again.
It already has VSS input logic similar like we want here - it counts VSS pulses.
So we need to modify injector logic to measure pulses instead of pulse length. MPGuino uses two input pins (and two interrupts) for injector measure - one for pulse start and other for pulse end detecting. Currenty arduino pin 2 and 3 are connected together - here we need to separate them in schematic again.
|