Вы находитесь на странице: 1из 3

Modkit Crimp Cards Servo Card

Parts:

(1) 2.2K Ohm Resistor (1) Modkit Crimp Card ™ (2) Push Buttons (1) Mini Servo
(1) 2.2K Ohm
Resistor
(1) Modkit Crimp Card ™
(2) Push Buttons
(1) Mini Servo
(1) Black, (1) Red, (1) Orange,
(1) Blue, (1) Green Hookup Wires
(5+) Short Crimp
Tubes
Build:
1. Start by adding the buttons and servo to
the card. For the servo, make sure you
put the connector and wires in rst.
2.
Cut and strip wires in the lengths below.
Strip a longer amount on one end of each
long wire, so that they can be plugged
into your Arduino.
3
inches
1½ inches
3
inches

Build (continued):

3. Attach one short black jumper wire, the resistor and the green and blue connector wires to the button pins as shown. Some of the button pins can be bent to help hold them in the card.

4. Next wrap the servo’s connector wire around it (counter-clockwise works best) and use a rubberband or some tape to secure it.

5. Now use a short crimp tube to connect the 2.2k ohm resistor to the remaining short black wire and the long black wire.

Plug the orange and red connector wires into the matching colors attached to the servo.

6. Use some tape to secure the connector wires to the board (to keep them from touching each other and creating a short).

Use some tape to secure the connector wires to the board (to keep them from touching

Example Modkit Sketches:

This Modkit Sketch will make the servo move from left to right 5 times. Make sure the orange servo wire is connected to the digital PIN 5, and the red and black wires are connected to the 5V and GND pins on your Arduino.

The blue wire should be connected to PIN 8 and the green PIN 12, but we won’t need the buttons for this sketch.

This second sketch will use the buttons to change the position of the servo. Because our buttons are set to true until pressed, we want to test for if the button pin is not true.

of the servo. Because our buttons are set to true until pressed, we want to test