Using PIC AD as Ohmmiter (doubt is the formula to calculate)

Status
Not open for further replies.

nagkiller

Full Member level 4
Joined
Jul 9, 2009
Messages
238
Helped
37
Reputation
74
Reaction score
37
Trophy points
1,308
Location
Brazil
Visit site
Activity points
2,706
Using PIC AD as Ohm meter (doubt is the formula to calculate)

Hello to all!
How do I find the value of x in the equation below??
Vout = (R2/R1 + R2) * Vcc
1.50 = (10000 / (x +10000)) * 5
Value of x = 23333.33333....
I am using ccs pic, voltage divider in ad converter to find value of a particular resistor.
Doubt is the formula to calculate!!!

Thanks
 
Last edited:

Re: Using PIC AD as Ohm meter (doubt is the formula to calculate)

x = (((5 * 10000) / 1.5) - 10000)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…