Hello,
I need to measure the voltage of a 9V battery (that drives an electrovalve) with the analog pin of a microcontroller that works with a logic of 0V for LOW and 3.3V for HIGH. The microcontroller is powered by another 3.7V battery. It is imperative that the circuit to measure this voltage does not drain any current from the 9V battery. I had planned to do it with a mosfet transistor (see img01.jpg) but I can not find transistors with a minimum Vgs (th) of more than 6V. How could I do it? Thank you.

I need to measure the voltage of a 9V battery (that drives an electrovalve) with the analog pin of a microcontroller that works with a logic of 0V for LOW and 3.3V for HIGH. The microcontroller is powered by another 3.7V battery. It is imperative that the circuit to measure this voltage does not drain any current from the 9V battery. I had planned to do it with a mosfet transistor (see img01.jpg) but I can not find transistors with a minimum Vgs (th) of more than 6V. How could I do it? Thank you.


