Page 193 - Making things move_ DIY mechanisms for inventors, hobbyists, and artists
P. 193
Chapter 6 Options for Creating and Controlling Motion 171
• Diagonal cutters (like SparkFun TOL-08794)
• Photocell (10KΩ – 100KΩ, Digi-Key PDV-P9007-ND used here) and resistor
(10KΩ, like SparkFun COM-08374 used here)
NOTE You can also use a 1K – 10K photocell (SparkFun SEN-09088). In
that case, you should use a 1K resistor (SparkFun COM-08980) to get the
best response.
Recipe:
1. Connect 5V power and ground from the Arduino to the power and ground
columns on one side of the breadboard. Use jumper wires to jump connect
these to power and ground on the other side of the board.
2. Clip off a set of three header pins from one side of the long row with the diagonal
cutters or just snap them off by hand. Choose three rows on the top of the
breadboard to hold the pins, and then plug the servo motor connector onto the
header (see Figure 6-33).
FIGURE 6-33 Standard hobby servo control circuit