1 of 34

Jonathan Scrivner

scrivnerj@apps.anderson1.org

864.884.3635

@jscrivner6

Transition For

Gateway | Automation & Robotics

Project Lead the Way| Refreshers

2 of 34

3 of 34

By its nature, the study of robotics inherently incorporates all four pillars of STEM.

The VEX EDR platform was designed from the ground up to encourage creativity in problem solving...with VEX, there is almost always more than one way to accomplish the same goal.

V5 is designed specifically for education and competition, leveraging years of customer feedback, we’ve created a faster, smarter, and more powerful control system that is perfect for any learning environment.

4 of 34

Transition For

Gateway | Automation & Robotics

5 of 34

The V5 Brain

  • Touch Screen
  • Bluetooth Pairing
  • Onscreen device diagnostics
  • 8 user programs
  • 21 smart ports
  • 8 legacy ports (compatible with 3-wire components)

6 of 34

The V5 Battery

  • Long battery life
  • Consistent power output regardless of charge level
  • Design with plans to share batteries across class periods
  • LED charge level indicators

Pro Tip…Make a habit of never using batteries with charge below “2 green dots”

Very Pro Tip…the battery clips are delicate. Be careful not to pry too hard when removing batteries.

7 of 34

The V5 SmartMotor

  • Built In encoders
  • Interchangeable gear cartridges (torque, standard, or turbo)
  • 4x more powerful than 393 (cortex) motors

8 of 34

The V5 Sensors

  • Optical Sensor
  • Distance Sensor

One of the key elements for a robot is the ability to receive feedback from the environment.

The V5 Sensors bring the quality and abundance of feedback to a whole new level for educational and competition robots.

9 of 34

The V5 Optical Sensor

is a combination of the following sensors:

  • Ambient light sensor
  • Color sensor
  • Proximity sensor

https://tinyurl.com/2khzd9yw

10 of 34

The V5 Distance Sensor

This sensor uses a pulse of classroom-safe laser light to measure the distance from the front of the sensor to an object.

https://tinyurl.com/2qfk78jf

11 of 34

Programming V5

12 of 34

https://codev5.vex.com/

13 of 34

Device Setup

Assign Motors and Sensors to ports on the Brain

If you assign a device to a port but do not connect it, the robot will display an error and will not run the program.

Tutorials!!

14 of 34

Motor Commands

Use some of the blocks seen here to control the motor. You can command motor behaviors as well as set motor properties with the motion blocks.

15 of 34

When programming the V5 SmartMotor…

  • Test motor spinning orientation and speeds before connecting to mechanical components
  • Use on screen device diagnostics to preview behaviors

16 of 34

Download and Run

Download your program to the Brain.

Tutorials!!

17 of 34

Control Features and Conditional Logic

Control Features and Logic are NOT CODE

They CONTROL Code in your program

Conditional Logic is True/False, Yes/No, On/Off, 1/0

Computers can only answer one question at a time

18 of 34

Loops

Program your motor to spin for 3 seconds and stop for 1 second 5 times using a repeat block

**can you make the same interval occur “forever”?

19 of 34

Environmental Feedback

20 of 34

Bumper

Bumper is a digital sensor

It is either “pressed” or not

Use them with conditional logic and control structures

21 of 34

Digital Sensors

The 3-wire limit switch and bumper switch can be connected to the brain using the legacy ports.

These 2 sensors return a digital value when pressed or released.

22 of 34

Optical

Sensor

The optical sensor is able to detect ambient light, reflective infrared light, color, proximity, and some simple gestures.

23 of 34

Distance Sensor

The distance sensor detects distance away from an object up to 2 meters away. It also is able to differentiate between small, medium, and large sized objects.

24 of 34

Program the following

2 Motors

Mr. Coffey needs a program that will run a motor at ¾ speed after the bump switch is pressed. Then, when the limit switch is pressed the motor stops and a second motor will run at ¼ speed in reverse for 5 seconds.

25 of 34

Possible

Solution

26 of 34

Program the following

4 Sensors

Mr. Coffey needs a program that will run both motors from full speed down to ¼ speed, using 4 sensors. The motors will run for 5 seconds each time and then stop. Motors will run only after a sensor is activated. The program must repeat without restarting.

27 of 34

Possible

Solution

28 of 34

Program the following

Garbage Cans

Mr. Coffey needs a program that will run a motor at ¼ speed as long as the optical or distance sensor does not sense a garbage can (or finger). If the sensor is activated, the 1st motor stops and the second motor starts. The motor must simulate the picking up and putting down of a garbage can. The 1st motor must then start again after a slight delay. Then, when the sensor is activated again, the 1st motor will stop and start the pick-up process again. Thus, an automatic garbage truck.

29 of 34

Possible

Solution

30 of 34

Building with V5

31 of 34

Unique V5 Parts

32 of 34

V5 and PLTW

33 of 34

**Spinning Sign

**Toll Booth

Terry Traffic Tamer

**Tekrock’s Bridge

**Grandma’s Chair

**Robot Drag Race

**Freight Elevator

Road Trip

Stay on Course

**Pick and Place

Where

should

you

start?

Project 3.4 Automation Through Programming (VEX V5)

34 of 34

We want your feedback!