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.
Circuit 2
Servos are ideal for embedded electronics applications
because they do one thing very well that motors cannot –
they can move to a position accurately. By varying the
pulse width of the output voltage to a servo, you can move
a servo to a specific position. For example, a pulse of 1.5
milliseconds will move the servo 90 degrees. In this circuit,
you’ll learn how to use PWM (pulse width modulation)
to control and rotate a servo.
A Single Servo
PARTS:
Wire
8
X
CIRCUIT #8
8
Servo
1
X
RedBoard
No junction dot means no connection
GND
SIG
V+
W
R
B
5 volt
GND
(Ground)
PIN 9
Page 49
Содержание RedBoard
Страница 13: ...Page 11...