Hi,Shardan wrote: ↑19 Nov 2017, 16:04 Nearly any small N-FET should work (BS270, BSS138, 2N7000, 2N7002.....)
Just one point:
These FETs are somewhat sensitive to electrostatic discharge.
So a serial resistor between gate and sensor and a small ceramic capacitor 10nF .. 47nF between gate and ground
gives at least some protection against static voltage.
Remember, this makes the sensor a bit slow (3..5 Seconds).
Standard NPN transistors won't work reliable with such simple circuit, it needs
more electronics around to make that work.
The reason: Standard Transistors are driven by current, FET's are driven by (nearly pure) voltage.
For a standard transistor it needs a low resistance of water on the sensor, about 10..100KOhm.
It needs a big sensor and a lot of water, some drops of pure water won't do.
I don't understand what you mean exactly
it is clear that there should be a small capacitor between gate and ground
you mean gate --- resistor 10k --- water --- +
but it doesn't work. esp vdd goes to 3,0V only and consumes 120mA instead of 70mA.
any ideas how to get the MOSFET powering up the ESP properly. via the VDD pin..
thanks
karl