squarebot 4.0 building instructions using the vex cortex

31
SQUAREBOT 4.0 1 © 2011 Carnegie Mellon Robotics Academy / For use with VEX ® Robotics Systems ROBOTC SQUAREBOT 4.0 BUILDING INSTRUCTIONS SQUAREBOT 4.0 BUILDING INSTRUCTIONS USING THE VEX CORTEX

Upload: ngonhan

Post on 11-Jan-2017

257 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 1© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

USING THE VEX CORTEX

Page 2: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 2© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

1 Collect parts and tools from the lists below:

Materials Quantity

Screw, 8-32 x 1/4” Long 31

Screw, 8-32 x 1/2” Long ** 16

Screw, 8-32 x 3/8” Long 15

Screw, 8-32 x 3/4” Long 1

Motor Screw, Long [1/2”] 4

Nut, 8-32 Keps** 49

Shaft, 4” long*† 2

Shaft, 3” long 4

Shaft, 2” long 2

Shaft Collar 20

Shaft Spacer Thin (4.6mm) 12

Shaft Spacer Thick (8mm) 1

Bearing, Flat 16

Bearing Pop Rivets 20

Standoff, 3” Long 4

Standoff, 2” Long 2

Standoff, 1” Long 2

Gear, 60 tooth 4

Gear, 36 tooth 4

Gear, 12 tooth 2

Chassis Rail, 16 hole 4

Chassis Bumper, 15 hole 2

C-Channel, 1x2x1x15 hole 2

C-Channel, 1x2x1x25 hole 1

Plate, 5 x 15 hole 1

Small Low Friction VEX Wheel 4

VEX Cortex Microcontroller* 1

LCD Display* 1

VEX Motor w/ Clutch 3

Optical Shaft Encoder* 2

Ultrasonic Rangefinder* 1

Potentiometer* 1

Bumper Sensor* 1

Limit Switch* 1

Analog Accelerometer* 1

Light Sensor*

Backup Battery Holder* 1

* Not included in Protobot Robot Kit

** Total includes parts from the Sensor Kits

† The Protobot Robot Kit contains only one

Tools Quantity

Zip Tie, 4” Long 4

Battery Strap* 1

Rubber Bands 2

Allen Wrench 3/32” 1

Allen Wrench 5/64” 1

Open End Wrench 1/4” 1

Pliers* 1

Hacksaw* 1

Page 3: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 3© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Modifications2

A

B

x1

CAUTION - Bending VEX MetalThe following step involves permanent alterations to the materials in the VEX Kit. Make sure you have permission before continuing.

ALL APPLICABLE SAFETY PROCEDURES MUST BE OBSERVED WHILE PERFORMING THIS STEP. IF YOU ARE UNSURE ABOUT HOW TO USE THE TOOLS OR PERFORM THIS PROCEDURE SAFELY, DO NOT ATTEMPT THIS STEP ALONE. SEEK QUALIFIED ASSISTANCE BEFORE PROCEEDING.

Page 4: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 4© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Modifications (continued)2

A

B

CAUTION - Cutting ToolsThe following step involves cutting tools and permanent alterations to the materials in the VEX Kit. Make sure you have permission before continuing.

ALL APPLICABLE SAFETY PROCEDURES MUST BE OBSERVED WHILE PERFORMING THIS STEP. IF YOU ARE UNSURE ABOUT HOW TO USE THE TOOLS OR PERFORM THIS PROCEDURE SAFELY, DO NOT ATTEMPT THIS STEP ALONE. SEEK QUALIFIED ASSISTANCE BEFORE PROCEEDING.

x1

Page 5: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 5© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Base Frame Construction3

x6 x8x4

1/2” 6-32

x2

Building Tip - Using Pop Rivets

x2

Page 6: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 6© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Drivetrain Construction 4

x2 x4 x2 x2 x2

Building Tip - Using Shaft Collars

x12

3”4” 2”

Page 7: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 7© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

4 Drivetrain Construction (continued)

x6 x12x2

Page 8: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 8© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

4 Drivetrain Construction (continued)

1/4”1/2”

x20x2 x16x4x2 x2

Page 9: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 9© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

4 Drivetrain Construction (continued)

x4x4x4

Page 10: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 10© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

4 Drivetrain Construction (continued)

x4 x4x2

3/8”

x1

Page 11: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 11© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

4 Drivetrain Construction (continued)

x2 x1

Page 12: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 12© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

5 Arm Mount Construction

x1x1

3”

x2

1/4”

x2

Page 13: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 13© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

5 Arm Mount Construction (continued)

x4 x8

1/4”

x4x1x1

1/2”

x1x1

Page 14: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 14© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

5 Arm Mount Construction (continued)

3”

x2

1/4”3/8”

x2 x5x1 x1 x1 x1 x5

Page 15: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 15© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

5 Arm Mount Construction (continued)

x1 x2x2

1/2”

x1 x2

1/2” 6-32

Page 16: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 16© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

6 Arm Assembly

x1x2 x1 x4x6

1/2”

x6

Page 17: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 17© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Arm Assembly (continued)6

x4x2

1/4”

x4

Page 18: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 18© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

x1 x1x2 x1 x2 x1 x2

2” 3” 3/4” 1/4”

x4

Arm Assembly (continued)6

Page 19: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 19© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Arm Assembly (continued)6

Page 20: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 20© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

x4 x2

3/8”

Attaching the Arm7

Page 21: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 21© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

x4 x2

3/8”

Attaching the Limit Switch8

Page 22: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 22© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Motors9

Building Tip: 2-Wire MotorsIf you are using the 2-wire VEX motors, you will need to plug your motors into MOTOR Ports 1 & 10, or use the VEX Motor Controller 29’s to adapt the 2-wire motors to the 3-wire MOTOR Ports (2 - 9).

Right Motor to MOTOR PORT 2

Left Motor to MOTOR PORT 3

Page 23: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 23© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

10 Wiring the Encoders

Top wire toDIGITAL PORT 2

Top wire to DIGITAL PORT 3

Bottom wire toDIGITAL PORT 4

Bottom wire to DIGITAL PORT 1

Building Tip: Encoder WiresIn the step above, the top encoder wire is the wire closer to the mounting holes.

Top

Bottom

Page 24: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 24© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Ultrasonic Rangefinder11

INPUT to DIGITAL PORT 8

OUTPUT toDIGITAL PORT 9

Page 25: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 25© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Bump Switch12

DIGITAL PORT 11

Page 26: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 26© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Limit Switch13

DIGITAL PORT 6

Page 27: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 27© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Light Sensor14

ANALOG PORT 4

Page 28: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 28© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Potentiometer15

ANALOG PORT 3

Page 29: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 29© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the VEX LCD 16

RX/TXUART 2

Page 30: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 30© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Analog Accelerometer17

Middle wire to ANALOG PORT 7

Top wire to ANALOG PORT 6

Bottom wire toANALOG PORT 8

Page 31: squarebot 4.0 building instructions using the vex cortex

SQUAREBOT 4.0 • 31© 2011 Carnegie Mellon Robotics Academy / For use with VEX® Robotics Systems

ROBOTC

SQUAREBOT 4.0 BUILDING INSTRUCTIONS

Wiring the Arm Motor18

MOTOR PORT 6

Building Tip: 2-Wire MotorsIf you are using the 2-wire VEX motors, you will need to plug your motors into MOTOR Ports 1 & 10, or use the VEX Motor Controller 29’s to adapt the 2-wire motors to the 3-wire MOTOR Ports (2 - 9).