Microsoft Applied Robotics Research Library
Open Source Samples for Service Robotics
gestureBot Construction Guide
Session 1: Set Up the Servo Controller Electronics
In this first session we will begin the process of 3D-printing robot plastic parts starting with the base frame which will be used in Session 2. Then, we will connect the servo controller to the powered USB3 Hub and a single servo motor.
Parts:
- (2) servos and their included 130mm cables
- USB Terminal Block
- USB3 Hub with Power Supply
- Servo Controller
Tools:
- wire strippers/cutters
- 2mm screwdriver
Procedure:
First, start 3D-printing the parts required for the next session:
Second, connect the controller and Terminal Block to the USB Hub:
-
From two servo packages, remove the short connection cables and servos then set one servo aside.
-
Using the wire strippers/cutters, cut the plastic connector off of one of the short connection cables.
-
Cut the Pin3 wire completely off the remaining connector and save it to use as a ground jumper wire. Tip: Double check you are cutting the correct wire!
-
Using the wire stripper's stranded 22-gauge slot, remove approximately 3mm of the insulation from each end of the ground jumper wire and the remaining two ends of the connector cable.
-
Using your fingers, twist the wire ends so that the strands hold together.
-
Using the 2mm screwdriver, loosen the screw-clamps on the USB terminal block marked 'S', '-', and '+'.
-
Insert one end of the prepared jumper wire into the USB terminal block's screw clamp marked "-" then tighten with the screw driver. Tip: Make sure the wire is correctly connected by firmly pulling on it and visually checking that it is not slipping out
-
Connect the wires from the short cable to the USB Terminal Block:
-
Insert both the loose end of the prepared wire clamped into '-' and the cable wire connected to pin 1 into the wire clamp marked 'S' then tighten with the screwdriver.
-
Insert the cable wire connected to pin 2 on the connector into the wire clamp marked "+" (for positive voltage) and tighten with the screwdriver. Tip: the jumper wire ties the negative side of the power provided by USB to chassis ground which reduces electromagnetic noise that may interfere with communications between the controller and the servos.
-
Connect the USB Terminal Block to the Servo Controller with any one of the four three-pin connectors on the controller.
-
Plug the USB Terminal Block into the USB Hub using the port closest to the hub's link cable. Using the short USB-to-mini cable, connect the servo controller to any of the USB Hub's ports.
-
Connect the servo to the servo controller with the remaining 130mm cable. The cable connector must snap into place on either connector on the servo. The other end of the cable can be inserted into any of the three remaining 3-pin connectors on the servo controller PC board. Tip: Look closely at the cable connector ends and the receptacles to make sure the pin orientation is correct. If you push hard enough, it is possible to mistakenly insert them backwards. When inserted correctly, they will "snap" into place.
Third, power it up!
-
Plug the USB Hub's power supply into an AC receptacle and insert its connector into the USB Hub. Observe a LED inside the servo flash red momentarily and a green LED on the controller turn on when power is applied.
-
Plug the USB Hub into your PC, then use Windows to open Device Manager and note which serial port number the servo controller is assigned to (for example: "COM4")