As is seasonally traditional, we recently had a dying tree in our house the tree had no roots, the base of the trunk sat in a vesel of water, and if the water is not kept topped up the tree dies before the end of festivities.
So I decided to instrument the plastic vessel to confirm water level,
I placed with a couple of strips of copper tape where they are unobtrusive wired up an NE555 astable to measure the capacitance, (R1=2M2 , R2=100k ) I get 12kHz to 18kHz out depending on the water level...
So far so good.
Now I need to convert that to a voltage so I can feed it to some comparator.
This is what I came up with. +5v -+-------------+-------. | 100nF | | PNP +-->|--+ === ------ 4.7nF | | /e \ in --||-----+-->|--+--+-- +-------+-- out
5Vpk-pk | | | r1 r2 === 1uF | | | 0v ----------------+--------+-------+--R1 offset - 68K R2 gain - 47K
+5 is from a 7805, diodes are 1N4148This seems to work pretty well giving me a couple of volts of range.
but am I doing anything dumb there?
before I take this off breadboard (anctually MDF with staples) and make a permanent circuit on perf board I might increase the capaitors and reduce the resistors to get a lower impedance..