Presentation is loading. Please wait.

Presentation is loading. Please wait.

Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 21-22, 2016.

Similar presentations


Presentation on theme: "Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 21-22, 2016."— Presentation transcript:

1 Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 21-22, 2016

2 Overview  Quick and simplified exposure to what your student team will experience  Engineering Design choices  Building decisions  Limited schedule & materials  We hope that this will make you a better coach and mentor! Page 2  Multiple 3 Minute Matches  Frustrations  Working as a team

3 Caveats This guide has a suggested procedure for building your robot. You may vary from this procedure so long as you:  Do not endanger yourself or anyone else  Do not permanently attach anything to the Returnable Kit parts  Do not attach any duct or electrical tape to the Returnable Kit parts  Do not damage the room or furniture in any way  Clean up after yourself Page 3

4 Be courteous to our hosts!  Please DO NOT scratch the tables, other furniture or floors, or snag any carpet or furniture fabric  Please use the Drill Block when drilling  Keep a ceiling tile protector between your work and the furniture or floor Page 4

5 Platform (1) Construct/Attach:  Plywood base  Motors  Skid Make sure the platform is stable and can roll in various directions. Page 5

6 Platform (2)  Attach Cortex Page 6

7 Wheels  Attach hubs to wheels  Attach hubs to motor shafts  Attach motor to platform with pipe strap – on ends of motors Page 7

8 Connect Motors to Cortex (1)  BEST requires the use of motor ports 2-9  Motor Ports 1 & 10 – Built-in motor controller. Not allowed by BEST.  Motor Ports 2-9 – Require external Motor Controller  Balance motors between ports 1-5 and 6-10  Motor Ports 1-5 share same circuit overload protection  Motor Ports 6-10 share same circuit overload protection  Use Screw Terminal Motor Interface cables to connect to wires attached to motor tabs Page 8

9 Connect Motors to Cortex (2)  Cortex Motor Port  Motor Controller  Screw Terminal Block  Motor wires with Quick Connects  Motor Tabs Page 9

10 Create Program, While Loop, & Arcade Function  easyC: File -> New Standalone Project –> Joystick Project -> OK  Program Flow -> While Loop  Joystick -> Arcade - 2 motor into While Loop Forward/Reverse Channel = 3 Rotate Channel = 4 Left Motor, Right Motor: (look where you plugged these in to the Cortex; our example shows motor ports 2 and 9) Page 10  Add Deadband for both Channel 3 and Channel 4 to eliminate motor squeal  JoystickAnalogDeadband -> between “Variables” and “While”

11 Test Drive 1. Go to Build and Download menu. Compile your program. Fix any errors. 2. Connect USB cable between laptop and Cortex. Download your program to Cortex: Build and Download -> Build and Download. 3. Tether joystick and Cortex with the USB cable. 4. Turn on Cortex first, then joystick. Wait for VEXNet LED to turn solid green. 5. Test each wheel motor forward and backward. If either wheel moves in the wrong direction, double click Arcade2 icon, change value of Invert Direction for appropriate motor, and try again. 6. Untether the Joystick and Cortex. Turn them off. Insert the 2 VEXNet keys and turn Cortex and joystick back on. 7. Drive the robot without the tether. Page 11

12 Arm  Build and attach A- frame to hold arm  Make and attach an arm that is the right size to:  Reach to the ground  Be pulled down by the winch Page 12

13 Winch and Motor  Build and attach winch  Mount and attach winch motor  Wire winch motor to Cortex  Edit your program to include winch motor  Test  Add spool and string to winch and test again Page 13

14 Claw and Servo  Disconnect the servo from Cortex.  Design and assemble claw, including servo. Make sure it can move properly.  Assemble “door” so that its starting position coincides with the servo’s “zero” position.  Reconnect the servo to the Cortex. Turn Cortex on and test claw. Page 14

15 Servo Programming  Connect servo to Cortex with a Servo Function  In your program, add a JoystickToServo, and use Channel 5 or 6  (Servos don’t need a deadband)  Turn on Cortex and Joystick. The Servo will rotate to its “zero” position. Make a note of it. Page 15

16 Mount the Claw  Attach the claw to the end of the arm.  Make sure it reaches to the ground and can open and close.  You may need to add a servo extension between the servo controller and the servo. Page 16

17 The Competition  Two robot teams per 3 minute match - multiple matches.  Game Field:  Bounded by PVC  Small & big balls  Two buckets (one per team)  Score by placing balls in your bucket.  Small balls = 1 point each  Big balls = 2 points each Page 17

18 Example 2014 Mini Robots Page 18


Download ppt "Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 21-22, 2016."

Similar presentations


Ads by Google