Bolt Haptics : Hardware - PR 2 Bio Tac Wiring browse

PR2 Wiring Setup


Introduction

This tutorial will show you how to wire the PR2 for the DARPA BOLT project. There are several sensors needed for the project.

ASUS Vision-Xtion (x1)USB Microphones (x2)Syntouch BioTac Sensors (x2)
ASUS Vision-Xtion PRO
PR2 USB Microphones

Syntouch BioTac Sensor



For instructions on how to mount each of these sensors, please refer to the other wiki pages under Hardware. They will each outline how to get the sensor physically mounted onto the PR2. This page will outline how to wire up all of the components once they have been mounted. Please follow each step carefully as some steps deal with modifying the PR2 electrical wiring.

We recommend also watching this safety video if you have not worked with the PR2 before: http://pr2support.willowgarage.com/wiki/Safety/Video

As well as the other items on this page: http://pr2support.willowgarage.com/wiki/Safety

Necessary Components

General Supplies

  • Double Sided Velcro Strips (cable wrap Velcro) - We recommend these: link
    • These are the Velcro strips we are using to hold the USB and AWG cabling together
  • 1/2 Sticky, 1/2 Velcro Strips - we recommend these: link
    • These are used to mount items onto the PR2
  • Double Sided Sticky Tape
    • We recommend using something strong
  • 1/8" acrylic + laser cutter
    • This piece is used to mount the Multi-BioTac Board to the PR2's hand

For Syntouch BioTac Cables

  • 25’ of 10 strand, 28 AWG cabling (roughly 9 feet needed) – MD10R-25-ND: link
  • Header Socket - HKC10H-ND: link
    • You only need one, but we suggest buying 2 or 3 as backup because it is easy to make mistakes during the installation.
  • Header Receptacle - HPA10H-ND: link
    • Same as the header, you only need one, but buy 2 or 3

For PR2 Hub integration

  • 7-port Self Powered USB Hub: link
    • This hub will power each USB device the full 500mA and can connect directly into the PR2's 12V plug in the body.
  • High Speed USB 2.0 Cable: link
    • You do not need this exact cable, but if you do not have one, this is one example that can be purchased
  • 18 Gauge AWG Speaker Wire: link
    • You don't need this exact wire, but it does need to be 18 gauge. We recommend a black and wire combo. This wire is nice because it is spliced together for easier cable management.
  • Female Molex Headers - WM1021-ND link
    • You only need 1, but we recommend buying 5
  • Molex Crimp Pins - WM18518CT-ND link
    • Need 2, we recommend buying 10 (they are difficult to crimp!)


Mounting the 7-port USB Hub to the PR2

The PR2 only has one USB port on the outside of the head. To extend this, we installed a 7-port USB hub that is externally powered. This allows each port the full 500mA power supply that many devices need.

  1. (This step is optional.) Take the 7-port hub and remove the relatively sharp side plates (a band saw would be the best option). The plates are not needed because we will be mounting the hub with tape instead. To avoid metal shavings inside the hub itself, unscrew and remove the back/bottom pannel before sawing. Then afterward, wipe out the case with a damp then dry paper towel to remove all debris and moisture.

    Locations to remove extra pieces on hub.

  2. Take double sided tape and attach two long strips to the bottom of the hub.

    Double Sided Tape on Hub

  3. Place the hub on the left shoulder of the PR2 with the power ports facing the back of the PR2. Please refer to the image below for exact placement:

    Hub Attached to PR2 Shoulder


Internal Wiring in PR2 for USB Hub

In order to connect the HUB to the PR2, the back of the body needs to be opened. The 12V line and USB line needs to be connected to spline of the PR2. Please refer to this link for an in-depth description of the internal components of the head: http://pr2support.willowgarage.com/wiki/PR2%20Modularity/Specs#A12V_SYS_Bus_Expansion

You will notice that there are multiple points to insert the 12V line. We will be using the body power breakout board on top of the spine.

For our purposes, we will only be dealing with the 12V power line and USB Bus expansion board. Please be careful when performing this part of the tutorial. There are many high powered electric components. The robot must be powered down completely, unplugged from the wall and the DC breaker must be off. Furthermore, please be sure to be grounded with the wrist strap provided by Willow Garage.

  1. First make the power cables that will be connected to the PR2. Take 18 gauge red and black wire and strip the insulation off the ends. Then crimp the wires with the Molex Crimp Pins listed above. Finally insert the two ends into the Female Molex Headers. Please pay attention to which side ground is connected to

    Molex Power Connectors

  2. Next pop open the cover to the back of the PR2 body. Please follow the instructions in these slides from Willow Garage on how to remove the rear spine cover. The instructions cover how to remove both the front and the rear. Remove only the rear cover:
    http://www.scribd.com/doc/34939615/PR2-Top-and-Rear-Spine-Cover-Removal-and-Replacement

    Once the cover is removed, you should see something similar to this (back and side view):

    PR2 Rear Cover Removed. PR2 Rear Cover Removed.

  3. You should have noticed in the above picture, there is a small red square highlighted. This is where the high speed USB 2.0 cable needs to be attached. The excess cable is wrapped and zip-tied in bright yellow. Below is a closer picture with the cable attached:

    High Speed USB Connection.

  4. Now we will connect the power cord that was constructed in the first step. Find any open connection the system board to the left of where the USB cable was connected. An example of where we connected our power cable is shown below:

    Power Cable Slot

  5. Clean up the cables and route them out of the left side of the robot. The picture below has both cables securely attached and cleanly routed through the back. The red colored line shows how the USB cable is routed and the yellow shows how the power line is routed.

    All attached cables to PR2's Spine

    Also below is a picture of the USB and power cable zip tied and coming out of the side of the PR2:

    Wire Exit from PR2

  6. Close the back cover. Be careful to let the USB and power cables to come out of the allotted slot on the left side of the PR2. Pay attention to the right length of cabling needed to connect to the port. The USB cable should be looped inside the spine to avoid excess wire outside of the PR2. The power cable should be trimmed to the right length once outside of the PR2:

    Wire Exit from PR2 Side View

  7. Measure the appropriate length for the cable to reach the hub and cut the excess power cable. For reference, here is the length of wire we have from the PR2 to the hub:

    Hub Fully Wired Side View

  8. Then strip the two wires at the ends and connect it to the green connector that attaches to the hub for power. Please pay attention to which side is ground

    Cut and Strip Power Wires



    Green Power Connector

  9. Connect two cables to the hub. The final product should look like step 7.


Mounting the Cheetah

The Cheetah is mounted on the left shoulder of the PR2. It is attached to the 7-port hub by Velcro.

  1. Place Tape Velcro on the Cheetah:

    Placing Tape Velcro on the Cheetah

  2. Take a long strip and mount it to the hub. Be sure to measure the location of where the Cheetah will sit on the shoulder. Please ignore the small piece near the top of the hub. That is no longer needed.

    Place Velcro on Hub

  3. When you place the cheetah on the shoulder it should look like this:

    Cheetah Mounted


Multi-BioTac Board Mounting Plate (MBTB)

  1. Attached to the bottom of this page you will find a Solidworks part (.SLDPRT) and the associated print file (.DWG) Use the given files to cut the part out of 1/8" acrylic. The piece should look like the image below:

    Laser cut 1/8" acrylic

  2. Apply some double sided sticky tape to the Multi-BioTac Board:

    Multi-BioTac Board with Double Sided Tape.

  3. Attach the Multi-BioTac Board to the 1/8" acrylic mounting board:

    Multi-BioTac Board attached to mounting plate

  4. On the bottom of the acrylic mount, attach a piece of the half sticky/half Velcro tape.

     Multi-BioTac Board with Double Sided Tape.

  5. Put the opposite piece of Velcro on the PR2's aluminum wrist case:

    Multi-BioTac Board attached to PR2's wrist.

Cheetah to Multi-BioTac Board SPI Cable

The existing SPI cable is far to short to travel down the PR2's arm. The next steps will create an extension cord for the SPI connector.

  1. Hold one end of the SPI cable, blue stripe to your right. Orient the cable receptaclein such a way that the pin furthest on the right lines up with the blue stripe and is also in the row closest to the incoming cable. The receptacle’s notch needs to be facing the rest of the cable. Basically, the Cheetah’s red stripe needs to line up with the new cable’s blue stripe.

    How to align the AWG cable with the adapter

  2. Seat the cable inside of the receptacle:

    Put the cable into the adapter

  3. Place the receptacle cap on top of the cable. Squeeze down with your fingers initially and then use pliers to squeeze down harder:

    Put the cap onto the adapter

Routing the SPI and USB cables from Cheetah to the MBTB

Now that both the cheetah and the MBTB are mounted, we will route the cable. We will finish making the SPI cable after we measure the appropriate length.

  1. Connect your new half cable to the Cheetah SPI module. The tabs are incredibly handy for popping the cable off later on during disassembly:

    SPI cable connected to Cheetah

  2. Connect the USB micro power cable to the hub (6'). Then to hold the USB cable to the SPI cable, wrap the two cables together. This can be done using the double sided velcro straps that you should have purchased from here: link. The results should look similar to below. Be mindful that the USB cable is consistently on one size of the SPI cable.

    SPI cable connected to Cheetah

  3. Continue combining the USB and SPI cables down the robot’s arm, adding a new Velcro-wire-tie every 4 or so inches. Affix pieces of fluffy Velcro/Tape to the backside of the SPI cable (since it’s flat), and attach to pieces of pokey Velcro/Tape at these two new arm locations:

    Velcro on PR2's Body

  4. Now that you’ve reached the end of the arm, cut off your excess wire and attach the header to the SPI cable near the MBTB:

    SPI end to MBTB

  5. Next, cut very thin pieces of Velcro/tape to place in between the screw holes near the finger tip. Places the other side of the Velcro/tape on the BioTac Fingerboards. Also connect the micro USB cable to the MBTB:

    Cheetah to Hub

  6. Finally connect the Cheetah to the USB hub:

    Cheetah to Hub

  7. At this point everything should be fully wired. You can also connect the ASUS Xtion and USB ears to the USB hub at this time.


Attachments


Attach: Acrylic Laser Cut SolidWorks File
Attach: Acrylic Laser Cut DWG Print File