Section 1

Preview this deck

Optical Shaft Encoder

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (19)

Section 1

(19 cards)

Optical Shaft Encoder

Front

measures angle of revolution similar to a servo, but raises an arm by degrees rather than time (i.e. raise arm 30o, not 500 msec clockwise).

Back

function definitions

Front

define the code that belongs to the function Lines of code that make up a function

Back

The digital sensors

Front

12 ports bumper switch, limit switch, optical shaft encoder, ultrasonic range finder

Back

>

Front

greater than

Back

Basic behavior

Front

break down simple behaviors complex>simple>basic

Back

variables and functions

Front

-variable is stored in a robot memory -INTSpeed; (initialize variable in place of a value) -global: read or changed from any task (outside) -local: can be read or changed from within (after Task main) -

Back

simple behavior

Front

describe actions and prompt each action to start small and easy tasks. Example turn on left motor complex>simple>basic

Back

flow charts

Front

Use symbols and connecting lines to diagram the progressions through a complicated process

Back

else statement

Front

if if condition isn't true (doesn't run) this will multiple if-else statements: write one after/imbedded under another

Back

while loops

Front

A control structure that allows a piece of code to repeated as long as a certain condition remains true 3 parts)-- "while" > "condition" > "command repeated" as soon as condition is false, it will stop loop can't do a function in a loop; must be a timer

Back

!=

Front

is not equal to

Back

Ultrasonic Range Finder

Front

- Digital sensor returns distance values between 0 and 255 inches or the equivalent centimeters or millimeters - Ultrasonic Range Finder detects objects in a "cone" field of view - Sensor detects object distance from the center of the sensor - Sensor distance calculations based on sound waves - Objects that may not be detectable include soft objects that absorb sound, sharp objects that deflect sound, etc.

Back

<

Front

less than

Back

Potentiometer

Front

A sensor used to measure the angular position of the axle or shaft passing through its center.

Back

open loops

Front

DON'T SEND FEEDBACK to system, but is always running

Back

complex behavior

Front

describe a task's overall goal complex>simple>basic

Back

analog sensors

Front

8 ports line follower light sensors potentiometer

Back

closed loop system

Front

A system that USES FEEDBACK from the output to control the input. repeats itself

Back

==

Front

1 == 0 False 1 == 1 True 0 == 1 False 0 == 0 True

Back