Well, if you use an comparator (the LM393) -.- the output will swing low when Vin is > 10.5VDCso now help me
maybe I don't understand something
but let say the Vin=10V
then on PIN2 I will get 5V - right?
and on PIN1 I will get 10V ,no?
what am I missing?
You basically just need Vref @10.5VDC. This Vref can be obtained using resistors, and connected to the non inverting input. The inverting input is where you connect Vmeasure, and if the voltage being measured is above Vref, then the output of the comparator swings low (0 volts)this I know and understand,
this is what I don't understand
phase1:
battery is 12V -
PIN1 I have 0.9V?
PIN2 I have 6V ?
correct?
phase2:
battery is 10V
PIN1 -0.00005 V
PIN2 -5V
I can see I'm doing something wrong ... but what?
Yes well then you need to regulate Vref.o.k.
but again the Vref which is connected to PIN1(non invert input) and
Vmeasure connected to PIN2(Invert input) came from the same source
so when the source goes down-->V1 goes down-->V2 goes down
so there will be no compering , or the compering will be wrong
this is what I understand - correct me
Precision voltage ref source IC would suffice.I know this and this was my question
how can I do this? using just one power source?
how the compare works I know
Or the zener diode would do the trick too.Hello,
Did you not look at the image Dodgydave showed you?
![]()
Adjust the potentiometer so that it reacts on the wanted voltage.
Bertus
You have the right idea. But I haven't pulled an calculator out to verify the answers.is my logic an calculation is correct?
Yes. Use OHMs law logic though.I can't use any value
I need it to make the correct voltage divider , no?
Yes. Not mA but uA. Min lose battery power.so the potentiometer value I ahve calculate is good ,no?
also the value of R1- if I take it as 50K
I will get Imax=12/50=240uA
minimum lose of battery power