Automated Mechanisms Help. Potentiometers Potentiometer Check –Analog Port 2 How they work –Analog sensor –Measures rotation of a shaft between 0 and.

Slides:



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

Automation and Robotics
VEX and Robot C Chris Patterson Presented by Modified by J. Andazola.
Developed in collaboration with Introduction to Programming.
VEX Robotics Platform and ROBOTC Software Introduction.
Photos and Sensor Instructions
VEX Robotics Platform and ROBOTC Software
Connecting VEX and ROBOTC
ROBOTC for VEX Online Professional Development
VEX Robotics Platform and ROBOTC Software
ROBOTC for VEX On-Site Professional Development
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Introduction to the VEX ® Robotics Platform and ROBOTC Software © 2012 Project Lead The Way, Inc.Principles of Engineering.
Programming Design ROBOTC Software Principles of Engineering
Robot C and Natural Language
AUTOMATION WITH ROBOTC Starting to write and troubleshoot computer code.
Photos and Sensor Instructions
ROBOTC for CORTEX.
Vex Robotics Program four: reversing and turning.
Programming - Motion Intro to Robotics. Motors and Sensors Setup The first thing we need to do is tell ROBOTC that we have motors on our robot. Choose.
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
Vex Robotics Program Two: Using two motors. Program two: using the motors In the last section, you learned how to turn on one motor. Now, you will take.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
ROBOTC for CORTEX Teacher Training. ROBOTC Overview Thinking about Programming.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Robot C and Natural Language. Create a folder Create a folder on your desktop to insert all your Robot C files, Here you will begin with your template.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
ROBOTC for VEX Online Professional Development By Jesse Flot.
ROBOTC for VEX On-Site Professional Development. Lab Procedures Logging onto CS2N.org – Log in with your user name and password VEX Robots/chargers –
Introduction to VEX® components
Programming Design ROBOTC Software. Behavior-Based Programming A behavior is anything your robot does –Turning on a single motor or servo Three main types.
Basic Programming: Until Commands. The Problem with Wait States Motor Speed is affected by battery power. –If the battery is fully charged, the motors.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Programming Design ROBOTC Software Principles Of Engineering
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
VEX® Robotics Platform and ROBOTC Software
VEX® Robotics Platform and ROBOTC Software
VEX Cortex Video Trainer using ROBOTC
ROBOTC for VEX Online Professional Development
ROBOTC for VEX Online Professional Development
Introduction to Programming
Electrical Engineer Responsibilities
ROBOTC for VEX Online Professional Development
VEX Robotics Platform and ROBOTC Software
ROBOTC for VEX On-Site Professional Development
Robotics Programming Using Shaft Encoders
ROBOTC for VEX Online Professional Development
Electrical Engineer Responsibilities
Automation and Robotics
Programming Design ROBOTC Software Computer Integrated Manufacturing
Electrical Engineer Responsibilities
RobotC Sensors.
RobotC Sensors.
Automation and Robotics
TECH 1 BAMS Technology Education
VEX® Robotics Platform and ROBOTC Software
Getting Started in RobotC
VEX® Robotics Platform and ROBOTC Software
Programming Design ROBOTC Software Principles Of Engineering
VEX® Robotics Platform and ROBOTC Software
Automation with RobotC
VEX® Robotics Platform and ROBOTC Software
Robotics Programming Using Shaft Encoders
Photos and Sensor Instructions
Automation with RobotC
Robotics Programming Using Shaft Encoders
Programming Design ROBOTC Software Principles of Engineering
Presentation transcript:

Automated Mechanisms Help

Potentiometers Potentiometer Check –Analog Port 2 How they work –Analog sensor –Measures rotation of a shaft between 0 and ~265 degrees –Cortex returns values 0 - ~4095 Look in the natural Language Library to see how to write code for use [ slides 40 & 45 until commands]

Potentiometers Other Properties –Internal mechanical stops prevent the potentiometer from turning a full revolution. Limitations –Caution: Excess torque against the internal mechanical stops (can be caused by hand or by a VEX motor) will cause them to wear away. The potentiometer will continue to function, but will have a “dead zone” where the mechanical stops were, where no new values are sent. –Switching the direction the potentiometer is facing will also switch the direction it “counts”. For example: counter-clockwise turns will count 0 to 4095 on one side; on the other counter-clockwise turns will count 4095 – 0.

Potentiometers  View the debugger window (under robot) and notice the value change as you turn the potentiometer.

Using the ROBOTC Natural Language Library The Natural Language is an additional Platform Type in ROBOTC:

ROBOT Motion Commands that cause the entire robot to perform a behavior

Setup Allows you to specify what type of robot configuration you have from pre- specified models (RECBOT, Swervebot)

Movement Commands that allow you to control individual motors

Special Commands that control the more unique VEX Hardware – LED’s

Until Commands that allow you to create behaviors where the robot acts “until” a certain event –Button Press –Line Tracker Value –Potentiometer Value

Wait Commands that wait for an elapsed amount of time in seconds or milliseconds