Great, thanks you two!
Well, I've learned my 1 thing for today. I guess I can take the rest of the day off.
But before I do that, let's see if we can finish off jetpr's question.
Assuming now that R1 can always be 10K (or 2.5K), we can forget about the guessing part and just calculate R2 with the same formula.
Vin = 7.5 <-- max Input to voltage divider
Vout = 5 <-- max Output voltage to pic
R1 = 10000
R2 = R1/(1-(Vout/Vin))-R1
R2 = 10000/(1-(5/7.5))-10000
R2 = 20000 ohms
Hmmm, Nice round numbers too.
<br>
Bookmarks