Hi, I am working on a sensor to measure water level in a metallic container and for this is I am using capacitance measurement. I used an timer output from my stm32f107 and I am measuring the frequency compared to the level. The issue that I am facing right now, is the change to the frequency that the sensor give and I am suspecting: - Drift of the oscillator vs temperature (the crystal or accompanying components). - changes in water dielectric due to temperature and pressure.
Anyone worked on such sensor? what would be the best route to solve this issue. Thanks, ODSK
Drift of the oscillator vs temperature (the crystal or accompanying components) the influence of the burden caps is neglible and your crystals data sheet should show very little temperature dependency.
I have never done this myself, but seem to recall that those I have heard of/seen have a temperature sensor attached to the level probe.
Erik