Futterama
Member
Hello forum,
I wish to built a capacitive fuel gauge for a small fuel tank. I think the capacitance will be in the 20-40pF range.
How do I measure this capacitance with a PIC?
I have read a bit about using an opamp (LM324) to create a square wave oscillating circuit and I would then use the PIC to measure the frequency.
But will this be possible with a capacity in this range? I mean, the frequency should not end up being too high as I will have trouble measuring this with the PIC.
The idea for the fuel gauge can be found here:
KP0000
My fuel tank is just a lot smaller and can only achieve a surface area of approx. 3 square inches (20cm2) for the variable capacitor.
I hope you can give me some hints
Thanks.
Regards,
Futterama
I wish to built a capacitive fuel gauge for a small fuel tank. I think the capacitance will be in the 20-40pF range.
How do I measure this capacitance with a PIC?
I have read a bit about using an opamp (LM324) to create a square wave oscillating circuit and I would then use the PIC to measure the frequency.
But will this be possible with a capacity in this range? I mean, the frequency should not end up being too high as I will have trouble measuring this with the PIC.
The idea for the fuel gauge can be found here:
KP0000
My fuel tank is just a lot smaller and can only achieve a surface area of approx. 3 square inches (20cm2) for the variable capacitor.
I hope you can give me some hints
Thanks.
Regards,
Futterama