Automated mechanisms help
This presentation is the property of its rightful owner.
Sponsored Links
1 / 11

Automated Mechanisms Help PowerPoint PPT Presentation


  • 66 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

Automated Mechanisms Help

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Automated mechanisms help

Automated Mechanisms Help


Potentiometers

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]


Potentiometers1

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.


Potentiometers2

Potentiometers

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


Using the robotc natural language library

Using the ROBOTC Natural Language Library

  • The Natural Language is an additional Platform Type in ROBOTC:


Robot motion

ROBOT Motion

  • Commands that cause the entire robot to perform a behavior


Setup

Setup

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


Movement

Movement

  • Commands that allow you to control individual motors


Special

Special

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


Until

Until

  • Commands that allow you to create behaviors where the robot acts “until” a certain event

    • Button Press

    • Line Tracker Value

    • Potentiometer Value


Automated mechanisms help

Wait

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


  • Login