Introduction to�VEX® Robotics Platform (VEX V5)
PLTW Engineering
Computer Integrated Manufacturing�Activity 1.2.2 Inputs and Outputs (VEX V5)
Copyright 2021. Project Lead The Way, Inc.
1
VEX V5 Testbed for Learning Programming
Copyright 2021. Project Lead The Way, Inc.
2
VEX Structure Subsystem
VEX Structure Subsystem forms a robot base
Contains square holes on a standardized ½-inch grid
Allows VEX components to be assembled in various configurations
Copyright 2021. Project Lead The Way, Inc.
3
VEX Structure Subsystem
Metal components are directly attached using �8-32 screws and nuts
Nylock nut has a plastic insert to prevent unscrewing
KEPS nut has a ring of “teeth” on one side to grip the piece being installed
Regular nut has no locking feature
Nylock
Nut
KEPS
Nut
Regular
Nut
8-32 screws
Copyright 2021. Project Lead The Way, Inc.
4
VEX Motion Subsystem
Components that make a robot move
Gears
Wheels
Motor
Servo
Motor
Servo
Gears
Wheels
Copyright 2021. Project Lead The Way, Inc.
5
VEX Motion Subsystem
VEX V5 Smart Motor
Connects to any Smart Port 1–21
Copyright 2021. Project Lead The Way, Inc.
6
VEX Motion Subsystem
VEX Servo
Similar appearance to a motor
Significantly different operation
Motor spins continuously at a power value
Servo rotates to a position between 0 to 100 degrees
Copyright 2021. Project Lead The Way, Inc.
7
VEX Sensors Subsystem
Provides inputs that sense the environment
Analog or Digital Sensors (depending on use):
Optical Distance
Analog Sensor:
Potentiometer
Digital Sensors:
Bumper �Switch
Limit �Switch
Copyright 2021. Project Lead The Way, Inc.
8
Potentiometer
How It Works
Analog sensor
Measures rotation of a shaft �between 0 and ~265 degrees
Returns a value range with maximum of 4095
Caution
Internal mechanical stops prevent potentiometer from turning a full revolution
Excess torque against internal mechanical stops cause them to wear away
Copyright 2021. Project Lead The Way, Inc.
9
V5 Distance Sensor
Uses a pulse of laser light to �measure distance from front �of sensor to an object
Can detect an object and determine relative size. Approximate size of an object is reported as small, medium, or large.
Can calculate a robot’s approach speed. Approach speed measures the speed of the robot/sensor as it moves toward the object.
V5 Distance Sensor’s measurement range is 20 millimeters to 2,000 millimeters.
Copyright 2021. Project Lead The Way, Inc.
10
VEX V5 Brain
21 Smart Ports
8 3-Wire Ports
Stores 8 Programs
Smart
Ports
3-Wire
Ports
Copyright 2021. Project Lead The Way, Inc.
11
VEX V5 Brain – Smart Ports
Auto recognition of any V5 sensor
Auto recognition of any V5 motor
Smart
Ports
Copyright 2021. Project Lead The Way, Inc.
12
VEX V5 Brain – 3-Wire Ports
Four settings for each port
Analog Input: Brain displays the analog value
Digital Input: Brain displays the digital value
Digital Out High: Brain generates a “high” (1) signal to send to the device
Digital Out Low: Brain generates a “low” (0) signal to send to the device
3-Wire
Ports
Copyright 2021. Project Lead The Way, Inc.
13