Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Sparkfun: Flex Sensor"

From eLinux.org
Jump to: navigation, search
(Inputs and Outputs)
(Inputs and Outputs)
Line 7: Line 7:
  
 
== Inputs and Outputs ==
 
== Inputs and Outputs ==
As for inputs and outputs, the object is basically a resistor and thus should be read from the analog input pins. To work with the analog input, you must put 1k ohm resistor from analog ground to the analog input you choose then connect the sensor from the analog VDD to the analog input you choose. The input voltage can then be read by the processor to determine how far the flex sensor is being bent.
+
As for inputs and outputs, the sensor is basically a resistor and thus should be read from the analog input pins. To work with the analog input, you must put 1k ohm resistor from analog ground to the analog input you choose then connect the sensor from the analog VDD to the analog input you choose. The input voltage can then be read by the processor to determine how far the flex sensor is being bent.
  
 
== Bone Usage ==
 
== Bone Usage ==

Revision as of 19:04, 23 September 2012


Overview

The: product. The datasheet.


Inputs and Outputs

As for inputs and outputs, the sensor is basically a resistor and thus should be read from the analog input pins. To work with the analog input, you must put 1k ohm resistor from analog ground to the analog input you choose then connect the sensor from the analog VDD to the analog input you choose. The input voltage can then be read by the processor to determine how far the flex sensor is being bent.

Bone Usage

Reading and Interpreting Analog Input Data

Sample C Code