Julian rang....
"Can you tell me whether this fuel gauge I've got will work in my Mini"
I thought to myself "This is going to be horrible" ... it was.
Connecting the gauge to the tank sender, a 12V supply and hooking the tank float about with a bit of wire gave empty and full, and garbage in between.
I took some measurements of the resistance of the tank sender at Empty, 25%,50% and 100% full
R sender is in ohms...
Having got home with the gauge, I wired it up to a pot and took the same values
I lots these when I did this, but it was quite clear that bodging this up with some analogue electronics wasn't going to be easy.
What about a microcontroller? Hmmmm.
I tried connecting the tank connection of the gauge to a 2N7000 fet, via a 4.7 ohm resistor to round, and PWMing it.... yep, that works. I took note of the PWM values vs indications on the gauge.
A circuit was quickly conjured up...
To make it a bit smaller I chose a Pro-mini clone, and changed the 7805 for a Traco TSR-1-2405 switching regulator, to keep the heat down.
... and once that was done ...
All works great!
No comments:
Post a Comment