Flower »
8. Wiring
Required Tools
| Image | Tool |
|---|---|
![]() |
Wire Cutters |
![]() |
Wire Strippers |
![]() |
Pen |
![]() |
#4 Standard Screwdriver |
![]() |
#1 Phillips Screwdriver |
![]() |
Computer |
Required Parts
| Image | Part |
|---|---|
![]() |
Masking Tape |
![]() |
24" Servo Extenders (x7) |
![]() |
Zip Ties |
![]() |
AC Power Adapter and Power Cable |
![]() |
Ethernet Cable |
- Turn off the Qwerk.
- Align the 24” black, red, and yellow servo extender wires with the black, red, and yellow servo wires and connect a servo extender to each of the seven servos.
- Bend the flower at its joint. Notice that the petal hanging parallel to the bent joint will be Servo 1, and the petal opposite will be Servo 4. However, do not write these labels on the petals.
- Label the seven servo extenders and three IR sensor wires with a small piece of masking tape and a pen. Let the servo extender from the petal hanging parallel to the bent joint be Servo 1 and the IR sensor on the same petal be IR 1. Continue labeling the servo extenders and IR sensor wires in a clockwise fashion. Let the servo on the second petal be Servo 2. Let the servo on the third petal be Servo 3 and the IR sensor on the third petal be IR 2 and so on around the flower.
- Gather the servo wires, IR wires, and speaker wires at the base of the hexagon and secure them to the 3” aluminum tube with a zip tie. Check to make sure the zip tie hasn’t tightened the wires too much. Make adjustments if necessary.
- Make sure the IR wires have enough slack and trim the zip tie with the wire cutters.
- Fold two or three wires so that the connection to the servo extenders is against the 3” aluminum tube, and secure the wires with a zip tie.
- Repeat Step 7 for the remaining HS-81 servo wires and three IR sensor wires. Secure only a few new wires with each zip tie. Trim the zip ties with wire cutters.
- Gather all the wires on the same side of the elbow joint as the HS-422 servo’s wires at the bottom of the 3” aluminum tube and secure them together with a zip tie.
- Lower the head of the flower and make sure that the HS-422 servo’s wires are not pinched in the joint as the joint bends. Secure the HS-422’s wires to the bundle with a zip tie and trim the zip tie with wire cutters.
- Tighten zip ties down the length of the bundle, leaving the last few inches free so that they can be plugged into the Qwerk. Trim the zip ties with the wire cutters.
- Secure the bundle to the top of the 6” aluminum tube with a zip tie. Leave enough wire around the side of the elbow joint so the joint can bend and unbend without pulling the wires and causing the wires to rub against the joint. Trim the zip tie with the wire cutters.
- Secure the bundle down the length of the 6” aluminum tube with zip ties. Trim the zip ties with the wire cutters.
- Insert the bare ends of the speaker wires into the Audio Out terminal next to the power outlet on the Qwerk. Tighten the screws that hold the wires in place with a #4 standard screwdriver. Tug the wires to make sure they are fastened securely.
- Plug one end of the Ethernet cable in to your Qwerk. Plug the other end of the cable in to your router. Or you can use a supported wireless device instead of Ethernet.
- Plug in the power cable.
- Remove the screw from the x servo horn on Servo 1.
- Pull Servo 1 apart from the x servo horn.
- Locate the row of pins labeled RC-Servos on the Qwerk. Align the servo wires with the pins as follows: black to ground (-), red to power (+), and yellow to signal (S) and plug wires from Servo 1 into Port 0 on the Qwerk.
- Turn on the Qwerk and wait for it to boot and connect to the Internet. Watch for three lit LEDs and one flashing LED to indicate a successful Internet connection. View a complete description of the LED’s meanings.
- Click this link: Robot Universal Remote (RUR) to open the software application that will allow you to control your flower.
- Click the “Connect” button.
- Click the appropriate radio button to connect directly to your robot or to connect to your robot using the relay. For more information on connecting to your robot in direct connect or relay mode, see the Qwerk help documentation on Establishing a Connection.
If you choose to connect directly to your robot,
Type the robot’s IP address or hostname and click “Connect.” Then, click “Finish.” You are now ready to test your robot’s servos.
If you choose to connect to your robot using the relay,
Enter your registered TeRK user ID and your password. Click “Login” and then click “Next.”
Select your robot from the list and click “Connect.” Then, click “Finish.” You are now ready to test your robot’s servos. - Click on the green servo Port 0, which corresponds to the port where you have plugged in Servo 1 on the Qwerk, to add a servo control panel to the displayed Qwerk configuration.
- Type 235 in the Position textbox and click Submit. Servo 1 should spin when you do this.
- Without spinning Servo 1 out of position, reattach it to the x servo horn so that it is situated perpendicular to the stem, as shown in the photo above.
- Move the slider bar in the servo control panel from 0 to 255 in order to test Servo 1’s range of motion. If Servo 1 can move from 0 to 255 without any difficulty, then retype 235 in the Position textbox again and click Submit.
- Turn off the Qwerk and unplug Servo 1 from Port 0.
- Secure Servo 1 to the x servo horn with the screw you removed in Step 17. Make sure you have turned off the Qwerk first. Otherwise, you might damage your servo.
- Repeat Steps 17-29, substituting each servo for Servo 1 and plugging each servo into Port 0 for testing.
- Locate the row of pins labeled RC-SERVOS on the Qwerk. Align the servo wires with the pins as follows: black to ground (-); red to power (+); and yellow to signal. Then, plug the wires from Servo 7 into Port 0 on the Qwerk, plug the wires from Servo 1 into Port 1, and so on.
- After you have plugged in all the servos, set each petal’s position to 0 using the Robot Universal Remote. Your Flower should resemble the photo above. The three petals with IR sensors should be slightly inside the petals without IR sensors. If a flower petal hits another when the petals close, you should remove that petal’s screw and servo again (Steps 17-18). Then, hold the servo perpendicular to the stem, slightly tilt the servo down, and reattach it to the x servo horn. This servo will sit at an angle to the stem rather than rigidly perpendicular to it. Secure the servo again to the x servo horn with the screw. You might need to readjust several petals this way so the petals can all close together without hitting each other.
- Cut the connector off IR 1’s servo extender with the wire cutters.
- Separate two inches of the black, red, and yellow servo extender wires.
- Cut 1/4" of insulation from the end of each servo extender wire with the wire strippers.
- Locate the row of terminals labeled ANALOG INPUTS on the Qwerk. Insert the black wire into the first GND terminal, the yellow wire into Port 0, and the red wire into the first 5V power terminal. Tighten the screws with a #4 standard screwdriver to hold the wires in place. Tug gently on each wire to make sure it is secure.
- Repeat Steps 33-36 to connect IRs 2 and 3. Insert IR 2 into Signal 1 and IR 3 into Signal 2.
- Tighten zip ties to make neat bundles of servo wires and IR sensor wires.



















Want to add a comment? Login or become a TeRK member now!