Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 5.28 KB

Session01.md

File metadata and controls

78 lines (56 loc) · 5.28 KB

Open Source Samples for Service Robotics

License: MIT

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

Session01 parts and tools

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. 2 short cables and servos

  • Using the wire strippers/cutters, cut the plastic connector off of one of the short connection cables. cut short cable connector

  • Cut the Pin3 wire completely off the remaining connector and save it to use as a ground jumper wire. ground wire cutting 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. ground wire end stripping

  • Using your fingers, twist the wire ends so that the strands hold together. jumper cable preparation ground wire preparation

  • Using the 2mm screwdriver, loosen the screw-clamps on the USB terminal block marked 'S', '-', and '+'. USB terminal block preparation USB terminal block preparation end view

  • Insert one end of the prepared jumper wire into the USB terminal block's screw clamp marked "-" then tighten with the screw driver. USB terminal block pull-test 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. USB terminal block wiring guide 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. connect servo controller to USB terminal block

  • 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. plug controller into USB hub

  • 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. plug cable into servo plug servo into controller 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. observe servo red light flash

  • 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") gB_DeviceManager Com Port