----
The second part of the circuit picks up the signal from the LED in the opto coupler using the photo-transistor inside the opto coupler. This is configured as an emitter follower that feeds a transistor inverting amplifier. This then flips the voltage. The amplifier supply is provided by a 3.6v zener diode and a normal diode making the voltage 3.2v on the supply through a resistor to the collector of the power transistor. The output will measure 3.2v when the input is 113volts. It will measure 2.7v when the input is 116volts and it will measure 0v when the input is between 128 and 135volts. The gauge shows empty when it is supplied with 2.7v and full at 0v. So this will tell me empty at 116v and that is about 20% remaining and that is as low as I would want to go with Lead Acid batteries. The input circuit is adjustable, so when I get Lithium batteries then I can pop the circuit out of the marker pen case, adjust it then pop it back in.
Tomorrow I hope to get the circuits fitted to the car along with a 1000 micro Farad capacitor to the throttle switch so the the capacitor holds the voltage that is present when the throttle is released only. So this is off-load and should be fairly stable. The gauge itself takes a couple of minutes to stabilize when the readings change anyway. I will monitor the gauge with the zapi programmer tester function showing the instantaneous voltage so I can check it when I stop and get an idea of how it reads for the different voltages. The gauge behaviour wasn't exactly linear. You may feel that the last bit of fuel goes quicker, but it doesn't, just the gauge goes down quicker due to the non-linearity of the gauge. It is not drastic and I am confident the gauge will give me a good indication. At the same time I have not had to add another gauge, but using a redundant one instead. This keeps it all neat looking. As an added bonus, when the gauge gets down a fair way, then the fuel low warning light comes on too, how's that! All the components I have bought for both gauges have come to just over £20 and that is less than half the price of an ugly add-on gauge and not including some kind of pod to put it into as well. I like to have my instruments look like they have always been in the car and not look like a dodgy add-on. I've seen quite a few examples of this on-line. I am not going to label anybody specifically.
No comments:
Post a Comment