Robots are similar to humans if you consider that both use inputs and outputs to sense and react to the world.

Similar documents
Programming Design ROBOTC Software

Programming Design. ROBOTC Software

VEX Robotics Platform and ROBOTC Software. Introduction

Introduction to the VEX Robotics Platform and ROBOTC Software

Downloading a ROBOTC Sample Program

Week Lesson Assignment SD Technology Standards. SPA Handout. Handouts. Handouts/quiz. Video/handout. Handout. Video, handout.

I.1 Smart Machines. Unit Overview:

Automatic Headlights

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

Robotics Engineering DoDEA Career Technology Education Robot Programming

PoeBot Building Instructions CCISD. Upper Gripper. Lower Gripper/ Spatula. PoeBot Instructions PLTW. Clear Creek ISD

Line Detection. Duration Minutes. Di culty Intermediate. Learning Objectives Students will:

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

e d u c a t i o n Detect Dark Line Objectives Connect Teacher s Notes

understanding sensors

Robotics using Lego Mindstorms EV3 (Intermediate)

Vision Ques t. Vision Quest. Use the Vision Sensor to drive your robot in Vision Quest!

Introduction to Robotics Rubrics

Quantizer step: volts Input Voltage [V]

Ev3 Robotics Programming 101

Lab 1: Testing and Measurement on the r-one

Let There Be Light. Opening Files. Deleting National Technology and Science Press

MAKER: Development of Smart Mobile Robot System to Help Middle School Students Learn about Robot Perception

Familiarization with the Servo Robot System

Programming PIC Microchips

LEGO Mindstorms Class: Lesson 1

Flowcharts and Programs

Sten BOT Robot Kit 1 Stensat Group LLC, Copyright 2016

FABO ACADEMY X ELECTRONIC DESIGN

rb Trip Code Resolver Troubleshooting

FLL Programming Workshop Series

Agent-based/Robotics Programming Lab II

Categories of Robots and their Hardware Components. Click to add Text Martin Jagersand

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher

Vex Robotics Tutorial EECS 690: Robot Intelligence

Studuino Icon Programming Environment Guide

Direct Part Mark Bar Code according to InData Systems

RoboCup Sumo Workshop. Margaux Edwards July 2018

Programming 2 Servos. Learn to connect and write code to control two servos.

CNC Router Parts CNC Router Parts 2.2 kw Plug and Play Spindle / VFD System CRP800 Set Up Guide

RGB Line Follower. 1. Basic knowledge of RGB line follower

Ambir ImageScan Pro 930u. User Guide. High Speed Document Scanner with UltraSonic Misfeed Detection. Ver 1.2. p/n UG930u-1.

A New Simulator for Botball Robots

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

Table of Contents. Sample Pages - get the whole book at


TRWinProg 101by Chris Bowman October 10

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Lab Exercise 9: Stepper and Servo Motors

Module: Arduino as Signal Generator

DC Motor and Servo motor Control with ARM and Arduino. Created by:


Creating Retinotopic Mapping Stimuli - 1

User manuel. Hybrid stepper servo drive

Hexbug Spider Hacking Kit (no solder) by EMGRobotics.com

MAKEBLOCK MUSIC ROBOT KIT V2.0

You'll create a lamp that turns a light on and off when you touch a piece of conductive material

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Activity 1.5.5a Pegboard Toy Working Drawings

Using the SparkFun PicoBoard and Scratch

Lab 06: Ohm s Law and Servo Motor Control

Here Comes the Sun. The Challenge

Robot Programming Manual

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

C41 VARIABLE SPEED CONTROL Rev. 1.1

Technical Note. Applicable Product: Sigma FSP

العطاء رقم )7106/67( الخاص بشراء أجهز لقسم الهندسة الكهربائية على حساب البحث العلمي

Robot Sensors Introduction to Robotics Lecture Handout September 20, H. Harry Asada Massachusetts Institute of Technology

TETRIX PULSE Workshop Guide

Coding with Arduino to operate the prosthetic arm

How to download library ebooks to your Kindle

How Do You Make a Program Wait?

A User s Guide to the Robot Virtual Worlds App RVW APP. ROBOTC Graphical Programming. Virtual Programming Challenges to Foster Computational Thinking

Studuino Color Sensor Manual

Tarocco Closed Loop Motor Controller

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

the Board of Education

An Introduction to Programming using the NXT Robot:

Parts of a Lego RCX Robot

CIC ENGINEERING 345 CENTER STREET EAST PEORIA, IL PH FAX µmpis Control Software

Lesson 3: Arduino. Goals

COSC343: Artificial Intelligence

PID Control with Derivative Filtering and Integral Anti-Windup for a DC Servo

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis

Medb ot. Medbot. Learn about robot behaviors as you transport medicine in a hospital with Medbot!

Electronic Project Interdisciplinary Creation by Amy Barone and Cindy Bronen

Line-Follower Challenge

Designing with a Microcontroller (v6)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Sensors and Sensing Motors, Encoders and Motor Control

Lab book. Exploring Robotics (CORC3303)

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

LVTX-10 Series Ultrasonic Sensor Installation and Operation Guide

Thanks to Autocheck function, it is possible to perform a complete check-up of the robot thanks to a stepby-step

Capstone Python Project Features

Experimental Procedure

Job Sheet 3. Using the Machine Vision System OBJECTIVE PROCEDURE. Setup and connections

CALIBRATION MANUAL. Version Author: Robbie Dowling Lloyd Laney

LEARNING ACTIVITY PACKET MECHATRONICS INDEXING B72001-AA05UEN

Transcription:

Activity 3.1.1 Inputs and Outputs for CT Introduction Robots are similar to humans if you consider that both use inputs and outputs to sense and react to the world. Most humans use five senses to perceive the world. Based on the input of these senses, your brain makes decisions to activate a response. Through muscle activation, the response can take many forms, including speaking, moving your hand, or running. Robots behave similarly when the world is sensed through physical touch, ambient light intensity, or distance to a solid object. The robot processor translates these inputs and activates a response by triggering a motor or light emitter. In this activity you will use the ROBOTC software to monitor inputs and control outputs. This will allow you to test the behavior of components before writing a program and to use it as a troubleshooting tool for analyzing program performance. Equipment Computer with ROBOTC software POE VEX Testbed Communicating with Cortex, Power Cycling, and the PLTW Template Handout POE Activity 3.1.1 Inputs and Outputs VEX Page 1

Setup Motors and Sensor 1. Follow the instructions in the Communicating with Cortex and Power Cycling handout. 2. Create a folder and file for saving your work NAME of Folder: EXAMPLE: NAME of File: EXAMPLE: Last Name_FirstInitial Machine Control Lewis_B Machine Control Last Name_FirstInitial A3_1_0 Motors and Sensor Lewis_B A3_1_0 Motors and Sensors 3. Make sure the cables are plugged in according to the diagram below: POE Activity 3.1.1 Inputs and Outputs VEX Page 2

4. Set up the motors and sensors. a. Click Robot. b. Click Motors and Sensors Set up. c. Add the motors and sensors as shown below. d. Save Set-up the Motors Note: Be sure to select the correct motor type from the drop down menu. We have both VEX 269 and VEX 369 motors in the classroom so look at which motors you have on your Testbed and then choose that type when you setup the motors. POE Activity 3.1.1 Inputs and Outputs VEX Page 3

Set-up the Analog Sensors Set-up the Digital Sensors POE Activity 3.1.1 Inputs and Outputs VEX Page 4

5. View motor and sensor debugger windows. a. Click Robot. b. Click Compile and Download Program. Leave the Debug window open. c. Click Robot, Debug Windows, then Motors. d. If there is not a Sensor and Motors tab available at the bottom of the window, add them through the next steps. i. Click Robot->Debug Windows->then Sensors ii. Robot->Debug Windows->Motors. e. Increase the debugger window area at the bottom to view the motor and sensor values as shown below. Note that this window can be viewed any time by clicking Robot then Debugger. Motor and Sensor Debug Windows POE Activity 3.1.1 Inputs and Outputs VEX Page 5

Investigate Motor Outputs 1. Investigate the VEX motor (VEX 269 or 393) outputs. a. Click the Motors tab at the bottom on the window. b. Change the right motor value. i. Click Port 2 under the Power column. ii. Enter several values ranging from -127 to 127, then press Enter on the keyboard or click away from the value entry window. iii. Record your observations in your engineering notebook, including the threshold power setting for the motor to turn. c. Change the left motor value. i. Click Port 3 under the Power column. Motor ii. Enter several values ranging from -127 to 127, then press Enter on the keyboard or click away from the value entry window after each value is entered. iii. Record your observations in your engineering notebook, including the threshold power setting for the motor to turn. 2. Investigate the VEX servo motor. a. Change the servo motor value. i. Click Port 9 under the Power column. ii. Enter several values ranging from -127 to 127, then press Enter on the keyboard or click away from the value entry window. iii. Record your observations in your engineering notebook, including the servomotor physical range. iv. Calculate the angle change between whole number values in your engineering notebook. Use the protractor above to measure an angle or approximate it the best you can. Servo POE Activity 3.1.1 Inputs and Outputs VEX Page 6

3. Investigate the VEX flashlight. a. Change the flashlight value. i. Slide the physical switch on the flashlight to the on position. ii. iii. iv. Click Port 1 under the Power column. Enter several values ranging from -127 to 127, then press Enter on the keyboard or click away from the value entry window. This allows the value to be updated. Note that the flashlight needs a negative value in the debugger window. Turn flashlight off. v. Record your observations in your engineering notebook. Flashlight POE Activity 3.1.1 Inputs and Outputs VEX Page 7

Investigate Analog Sensors In the Program Debug pop-up, ensure that inputs and outputs are being refreshed continuously. If not, choose Continuous from the Refresh drop-down menu. Continuous Option 1. Investigate the VEX line follower. a. Observe the line follower sensor. i. View the value shown beside the linefollower (in1) label. ii. Change the line follower immediate environment and observe the effect on the linefollower value. Use a dark and light color within 1/4-1/8 in. to see the change in the sensor value. iii. Record your observations in your engineering notebook. Line Follower 2. Investigate the VEX potentiometer. a. Observe the potentiometer. i. View the value shown beside the potentiometer (in2) label. ii. Change the potentiometer setting and observe the effect on the potentiometer value. Rotate the potentiometer to change the sensor input. Do not force the potentiometer beyond the CW and CCW physical stops. iii. Record your observations in your engineering notebook. iv. If available, use a protractor to measure the angle range for the potentiometer. Potentiometer POE Activity 3.1.1 Inputs and Outputs VEX Page 8

Investigate Digital Sensors 1. Investigate the VEX limit switch. a. Observe the limit switch sensor. i. View the value shown beside the limitswitch (dgtl1) label. ii. Change the limit switch environment and observe the effect on the limitswitch value. Your finger can be used to activate the limit switch. iii. Record your observations in your engineering notebook. Limit Switch 2. Investigate the VEX bump switch. a. Observe the bumper switch sensor. i. View the value shown beside the bumpswitch (dgtl2) label. ii. Change the bumper switch environment and observe the effect on the bumpswitch value. Your finger can be used to activate the bumper switch. iii. Record your observations in your engineering notebook. Bump Switch 3. Investigate the VEX optical encoder (quadrature encoder). a. Observe the optical encoder sensor. i. View the value shown beside the quad (dgtl3) label. ii. Change the optical encoder environment and observe the effect on the quad value. Rotate the optical encoder. Note that there is no CW or CCW physical stop therefore it can be turned indefinitely in a direction. iii. Record your observations in your engineering notebook. Quad Encoder POE Activity 3.1.1 Inputs and Outputs VEX Page 9

4. Investigate the VEX ultrasonic sensor. a. Observe the ultrasonic sensor. i. View the value shown beside the sonar (dgtl5) label. ii. iii. Change the ultrasonic environment with a solid object in front of the ultrasonic sensor. Observe the effect on the sonar value. Record your observations in your engineering notebook. Ultrasonic 5. Investigate the VEX light sensor. a. Observe the light sensor. i. View the value shown beside the lightsensor (in3) label. ii. iii. Change the light sensor s immediate environment by activating the flashlight and shine it on the light sensor. Use your hand to shield the light to the sensor to change the sensor input. Observe the effect on the lightsensor value. Record your observations in your engineering notebook. Light Sensor POE Activity 3.1.1 Inputs and Outputs VEX Page 10