Thursday, March 26, 2009

Flex Sensor and a Servo

My next project begins with a flex sensor. A strip of material that when flexed varies the resistance of the sensor. At a straight or 180 deg "flex" it gives a resistance of 9k Ohms, roughly. It can give up to 18k Ohms at about 90 deg or fully flexed. Now to interface the sensor to my AVR's A/D converter and measure that resistance.

Now to add a basic hobby servo to the system, a Futaba S3003 Servo. It has three wires Red, White, and Black meaning Voltage supply, Signal, and Ground, respectively. A while back I had developed some basic C code to control a servo and now is the time to test it.

What I want to do is control the servo via the flex sensor. Basically, the flex of the sensor controls the position of the servo motor. Hmmm, interesting applications with this concept. Here are a couple of pictures from my circuit in the works.


Some Flex:


More Flex:




No comments:

Post a Comment