Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.

Slides:



Advertisements
Similar presentations
Engineering Roles We will be forming groups of 3 students
Advertisements

Vex Robotics Introduction to Sensors. introduction to sensors Sensors assist robots in seeing and feeling the physical world through which they travel.
Photos and Sensor Instructions
Connecting VEX and ROBOTC
Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Touch Sensor This lesson will explain how to hook a standard micro switch into the Vex system to function.
VEX Robotics Platform and ROBOTC Software
Program ultrasonic range sensor in autonomous mode
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Available at: – Operate the Tumbler using a Jumper Pin Operate the Tumbler using the jumper pin.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
VEX Parts – Batteries, Logic, and Controls
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
Vex Robotics Programming Options. To start you off and give you a safe "home base" to return to while you explore, a few key programs are already included.
Introduction to Vexnet
VEX ARM® Cortex®- based Microcontroller. The VEX ARM® Cortex®-based Microcontroller coordinates the flow of all information and power on the robot. All.
Photos and Sensor Instructions
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
LESSON 04 Starter Key words: Programmable, environment, design, manufacturing and application Modelling VEX Tumbler solutions In this lesson you are.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Engineering Notebook - Part 4 Tumbler Research Section Overview of Build Lesson 1 Basic Vocabulary Motors / Batteries Name: Per #:
Project Overview Introduction Clawbot Build Design Modification
Introduction to Vexnet
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Project Overview Introduction Clawbot Build Design Modification
Project Overview Introduction to Factory Automation Numerical Control
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Project Overview Introduction & Product Analysis
VEX IQ Curriculum It’s Your Future Lesson 11 Lesson Materials:
Project Overview Structural part Introduction Laser cutting & forming
Using the Bumper switch
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Project Overview Introduction Clawbot Build Design Modification
Lesson Materials: Lesson hand-outs as desired Student Matching Exercise for Unit Student Matching Exercise Answer Key for Lesson Pencils or pens Internet.
Project Overview Introduction Frame Build Motion Power Control Sensors
Electrical Engineer Responsibilities
VEX Robotics Platform and ROBOTC Software
LESSON 04. LESSON 04 LESSON 04 STARTER Modelling VEX Tumbler solutions In this lesson you are going to adapt and improve your virtual CAD VEX Tumbler.
Introduction to Handshaking Communication with SSC-32U
Project Overview Introduction Frame Build Motion Power Control Sensors
Project Overview Introduction Clawbot Build Design Modification
Project Overview Introduction Clawbot Build Design Modification
Project Overview Introduction Clawbot Build Design Modification
RAILWAY TRACK SNAP NOTIFICATION
Electrical Engineer Responsibilities
Using the Bumper switch
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Motion STARTER Parts list Quick task: Discuss in pairs all the parts shown. Agree the function each of these parts for the Tumbler motion, and write your.
Electrical Engineer Responsibilities
Project Overview Introduction Clawbot Build Design Modification
Automation and Robotics
An Introduction to VEX IQ Programming with Modkit
An Introduction to VEX IQ Programming with Modkit
VEXnet User's Guide.
Photos and Sensor Instructions
1.11: Robot Controller.
1.15: Dual Joystick Control (Tank)
Project Overview Introduction to Factory Automation Numerical Control
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation

LESSON 05

LESSON 05 STARTER Cortex Microcontroller Parts list Quick task: Discuss in pairs the cortex shown. Propose the function of the cortex for the Tumbler control, and write your description in your parts list.

CREATING CONTROL Learning objective: Learn how robotics are controlled and how this supports modern manufacture and industry. Work with a control programme to learn about how programming works. The VEX Cortex Microcontroller coordinates the flow of all information and power on the robot. All other electronic system components (motors, sensors, etc.) interface with the Cortex Microcontroller. The Microcontroller is the brain of every VEX robot. A robot is a very complex system of parts that must work together in order to achieve a desired goal. Electronic control provided by a programmable controller like the VEX Cortex Microcontroller allows the robot to coordinate the operation of the different components and achieve its goals.

How robots are controlled The VEX Sensor Subsystem provides information about the robot’s environment. It uses this data to make informed decisions about how the robot should behave. The actual behaviour that is activated when a sensor is triggered depends on which port the sensor is plugged into on the Microcontroller and the Code being executed. The code in this project is developed using Easy C, which establishes what happens in response to the signals moving in and out of the cortex. Micro Controller SensorsMotors A robot brain like a micro controller sends out and receives information in the form of signals (as voltage). Information is gathered in by sensors from the environment around the robot, and fed into the cortex, with this information, the cortex can then affect the motors by changing their output accordingly. In this way, robots have a level of intelligence, though limited by the functionality of the sensors and what can be achieved through changing signals to the motors. Worksheet for lesson 5 = CREATING CONTROL

A look at the cortex in detail Label your cortex worksheet accurately to create a reference document. UART I2C Smart Sensor Port: Will connect to multiple new smart sensors in the future. UART Fast Serial Ports: Connects to the VEX LCD Display (19,200 baud) and will have future support to Mbaud VEXNET Key Built-in VEXnet Technology: Wireless driving, wireless debugging, and wireless downloading Analog/Digital Digital/Analog Input Ports: (8) high-res Analog Inputs, (12) fast Digital I/Os that can be used as interrupts. Lights These signal information to the viewer including when connections are made to the controller, when battery is low, and when software needs updating. Fitting to metal A minimum of 2, maximum of 4 connections are required to fit a cortex to the metal frame of your robot. Motor Motor Ports: (8) standard 3-wire Motor or Servo ports. (2) 2-wire Motor ports. Config & Rx Rx1 and Rx2 Ports: Also support for two 75MHz crystal transmitters and receivers Power Battery Ports: Connect 7.2V power sources, such as the Battery Holder or the VEX 7.2V Robot Battery. Also connect a 9V Backup Battery to protect against communication losses CREATING CONTROL

Motor controllers Motor controllers are essential for controlling the motors that give you robot functionality. Positions 1 and 10 on the cortex already have motor controllers built into them. You can therefore connect motors to these to create movement. If motors are connected to ports 2-9, motor controllers are needed to ensure control is achieved. Connections (red and black) can be swapped on the two wire end of the motor controller to reverse the direction of the motor, though this is easy to programme in easyC. CREATING CONTROL

Use the Step by Step build guide – CONTROL Follow the instructions on page one of the build guide. Use the tools provided by your teacher and remember to check all the time that you are being accurate and working as a team! Key to getting it right… Tighten the cortex to the top of the chassis. Fit the wires in the correct place in the cortex, and neaten up the wires and motor controllers using cable ties to the chassis. Place a washer on the shaft before fitting the wheels. CREATING CONTROL

THE FINISHED TUMBLER The finished Tumbler without battery and sensors. [please note TD logo plaque not included) Cleaning up your build Once you have finished the Tumbler build, use cable ties to pull all the loose wires to the frame as neat as you can.

Quick Demonstration/quick behaviours Using the following guide, let’s have a look at how sensors can give you instant added behaviour. Try the following behaviour using your default code cortex (from the box) Adding limit switches Limit Switch Inputs: The Default Code on the Cortex allows jumpers or switches to be installed in the Analog Ports to limit certain motor directions. These are useful for stopping a motor when a moving arm hits the bottom of its safe movement. A limit switch plugged in to Analog 1 will stop Motor 6 from turning counter clockwise when activated. A limit switch plugged in to Analog 2 will stop Motor 6 from turning clockwise when activated. CREATING CONTROL

Connecting sensors and built in behaviours You can do quite a lot with a limit switch and a bump switch. Here are the pre programmed behaviours you can utilise. Quick bumper switch behaviours Quick limit switch behaviours CREATING CONTROL

Jumpers Jumpers are used to make changes to the default code on your cortex. They are plugged into the digital SP port of the microcontroller and automatically trigger behaviours in conjunction with the limit switch and bump switch. Connecting sensors and built in behaviours Normally sensors connect to the Analog/Digital port bank on the VEX Microcontroller. Some sensors must use an Interrupt Port on the Microcontroller using the Jumper. Different behaviours of the Default Code are activated depending on which port you plug the sensors into. The table right shows you behaviours that activate when Bumper Switch or Limit Switch Sensors are plugged into the indicated ports AND a jumper is placed in the SP port. CREATING CONTROL

Quick Sensor introduction: Tumbler obstacle detector Using ports you can create this primary behaviour for the Tumbler. Obstacle detection Sensor You must enable Autonomous Mode in order for these ports to work. Place a Jumper Clip in Analog/Digital Port 13 to enable Autonomous Mode operation. The robot should be set up in a 2-motor configuration for autonomous mode operation. The left motor should be plugged into Motor Port 3, and the right motor should be plugged into Motor Port 2. Attach a wheel to each motor for this demonstration to see the movement changes clearly. Plug Bumper or Limit Switch Sensors into Ports 11 and 12 to use this behaviour. You should use both ports (one sensor per port), because they perform different functions, both of which are needed for correct performance. If using Limit Switches, remember that these are fragile so use them carefully (without robust knocks). In Autonomous Mode both motors will drive forward. When the bumper switch on input port 11 is pushed in, the robot will interpret this as an indication that it has run into an immovable obstacle on the left side, and will turn to the right until the switch is no longer pushed in. The bumper switch on input port 12 does the same thing, but monitors the right side and makes the robot turn left when it is pushed. Suggested use: Autonomous Mode Obstacle Detector CREATING CONTROL

LESSON 04 PLENARY As a class, let us consider the following questions? A. What does the jumper do? B. Describe what sensors do to the cortex, and subsequently onto the motors. C. Why is a bump switch better for collision programming than the limit switch? D. How would you describe the term “behaviour” in the context of a robot?

SUMMARY Today you have:  Learnt about control when applied to a wide range of contexts, mainly robotics.  Observed how to connect simple control systems together and how they can be modified.  Developed knowledge of key terms and terminology used when describing control systems in industry. Learning objective: Learn how robotics are controlled and how this supports modern manufacture and industry. Work with a control programme to learn about how programming works.