View Single Post
  #5   Spotlight this post!  
Unread 07-01-2012, 22:31
G33K's Avatar
G33K G33K is offline
Professional Baller
AKA: Ethan Anderson
FRC #0100 (The Wildhats)
Team Role: Electrical
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Redwood City, CA
Posts: 16
G33K is on a distinguished road
Re: Using a Flex Sensor

I believe most flex sensors, if not all, act as variable resistors giving analog values. In this way, you'd wire the flex sensor into one of the analog inputs on the Arduino. The Arduino has an analog-to-digital converter on-board and you can program it to "write" those values through the USB port via serial interface. If for some reason you are unable to or don't want to use the 0-1023 numerical values the Arduino reads from the analog ports, you can always map them to different values or really do whatever you want with them.