Hello everyone
I need technical help on how I can measure the voltage using the ESP8266 ADC and using a FET N. In this way, the ADC is reading 12V directly. I think there is another solution, but I'm stuck on this. If anyone has a tip on how to read the voltage correctly, I'll be happy.
Hi, what do you define as PWM+ and PWM- ? Do you define the duration of the PWM pulse by these two buttons?
When both Q1 and Q2 are off then there is no ground anywhere in the loop of the lamp. Thus, all pins of all the components are in 12V. This way there is no voltage divider and you feed the 12V to ADC which you may already have burnt and what you measure has no meaning.
Please also note that when they are conducting, your current from the 12V Vcc goes by (R1+R2 + (RQ1 | | RQ2) )/(R1+R2+R lamp + (RQ1 | | RQ2)) in the lamp path and by (R lamp + (RQ1 | | RQ2) )/(R1+R2+R lamp + (RQ1 | | RQ2) )in the R1,R2 path. The same pattern is followed when you calculate the voltage drops. So please note that with two mosfets you only get the parallel resistance close to the lower FET's resistance.
IMHO, initial sch was OK, if really 12V lamp and power supply, the resistor divider R5-R6 exists, i tried to describe it.
If I am wrong, at this time I am not able to see it. In the beggining I though the same thing as you but then I noticed that this is valid when the FETs are contacting. If the FETs are not contacting then there is no low voltage side and thus no current and no voltage drop.
Hello, good morning.
I'm very happy for helping me with this.
A great calculation.
Regarding the drawing, the bulb will go in place of R4, right?
I'll test this later, very happy.
Hello, good morning.
I'm very happy for helping me with this.
A great calculation.
Regarding the drawing, the bulb will go in place of R4, right?
I'll test this later, very happy.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?