Society of Robots - Robot Forum
General Misc => Misc => Topic started by: genesis on June 05, 2009, 08:38:35 AM
-
I'm sure this is obvious to everyone else, but on the equation to determine the appropriate resistor for the photoresistor circuit, how is that the Vin is dropped from the equation. All the rest of the math makes perfect sense, but I don't understand why it is ok to drop the Vin.
The model equation is:
voltage difference = absolute_value((R*Vin)/(R+Rp_dark) - (R*Vin)/(R+Rp_bright))
and to find the local maximum ribs uses
F(x)=x/(x+Rd) - x/(x+Rb) - where x = resistance of second resistor, Rd = Rp_dark, Rb = Rp_bright
Notice the Vin is dropped from the f(x) function.
Any insight would be greatly appreciated. Thanks.
-
Presumably because the 'answer' is F(x) ie a function of the resistance since thats what 'x' is defined as. What voltage you apply is up to you.
-
Surely, someone must know.
-
Where did you find these equations?
-
The equations are on http://www.societyofrobots.com/schematics_photoresistor.shtml (http://www.societyofrobots.com/schematics_photoresistor.shtml) (about a quarter of the way down the page).
-
Figured it out.