PARTS:
IC
1
X
330Ω
Resistor
8
X
LED
8
X
In this circuit, we will use a flex sensor to measure,
well, flex! A flex sensor uses carbon on a strip of
plastic to act like a variable resistor, but instead of
changing the resistance by turning a knob, you
change it by flexing (bending) the component. We
use a "voltage divider" again to detect this change in
resistance. The sensor bends in one direction and the
more it bends, the higher the resistance gets; it has a
range from about 10K ohm to 35K ohm. In this
circuit we will use the amount of bend of the flex
sensor to control the position of a servo.
Flex Sensor
PARTS:
CIRCUIT #9
9
Potentiometer
1
X
Servo
1
X
Flex Sensor
1
X
10KΩ
Resistor
1
X
Wire
11
X
IOREF
RES
ET
RESET
7-15V
SCL
SDA
AREF
GND
13
12
~11
~10
~9
8
7
~6
~5
4
~3
2
1
0
TX
RX
13
3.3V
5V
GND
GND
VIN
A0
A1
A2
A3
A4
A5
POWER
ANALOG IN
DIGIT
AL (PWM~)
ON
ISP
TX
RX
LEARN. SHARE. HACK.
RedBoard
Resistor (10K ohm)
Flex Sensor
(Brown-Black-Orange)
GND
SIG
V+
W
R
B
5 volt
(Ground)
GND
PIN 9
PIN A0
Page 53
Summary of Contents for RedBoard
Page 13: ...Page 11...