« Reading various sensors with the BS2 | Main | Communicating between the Stamp and an authoring tool »

October 10, 2004

Reading a variable resistor with the Basic Stamp

Here is a diagram of the circuit you will need to build to use the BS2 command RCTIME to read any variable resistor (such as a potentiometer, photoresistor, bend sensor, force sensing resistor, etc).

rcCircuit.gif

The following Basic Stamp file demonstrates the use of RCTIME to read a variable resistor.

resistor.bs2

Posted by Perry at October 10, 2004 11:37 AM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?