1/47
FML
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
(_____) <PRIZM.h> // include PRIZM library
#include
PRIZM(______); // instantiate a PRIZM object “myrobot” so we can use its functions
myrobot
myrobot.(__________); // initialize PRIZM
PrizmBegin()
myrobot.(__________); // turn Motors 1 and 2 on at 25% power
SetMotorPowers(25,25)
delay(__________); // wait here for 7 seconds while motors are spinning
7000
for(int x=1; (_____);(_____){ //Do this three times, increment x by + 1
x < 4 or X <= 3 , X++ or X= X+1
prizm.setMotorPowers(_____); // stop both motors with in brake mode (abrupt stop)
125, 125
prizm.setMotorPowers(_____); // make a left turn (point turn) at 50% power
-50, 50
prizm.setMotorPowers(_____); // stop both motors in brake mode (NOT abrupt stop)
0, 0
measurement of the characteristics and behaviour of such substances as metals, ceramics, or plastics under various conditions
materials testing
rupture of a material too weak to sustain the forces on it
fracture
action or process of changing in shape or distorting, especially through the application of pressure
deformation
the pressure or tension exerted on an object
stress
the pulling apart of an object
tension
making an object longer in relation to its width
elongate
number that describes relative deformation or change in shape and size of a material (change in length per unit length)
strain
to press or squeeze with a force that deforms an object
crushing
decrease in volume of any object resulting from applied stress
compression
a strain in the structure of a substance produced by pressure, when its layers are laterally shifted in relation to one another
shear
strength of a material against the type of yield or structural failure when the material fails in shear
shear strength
the deformation response of a material to forces applied tangentially
inplane shear
maximum load that a material can support without fracture when being stretched
tensile strength
the capacity of a material to deform permanently in response to stress
ductility
testing a materials response to a load placed at one small point testing its ability to deform
hardness testing
a test to determine how much impact force an object can take
impact testing
measure of the ability of a material to transfer heat
thermal conductivity
change in shape or size due to changes in temperature
thermal expansion
natural process that converts a refined metal into a more chemically stable form
corrosion
tendency of a solid material to deform permanently under mechanical stresses
creep
the weakening of a material caused by cyclic loading that results in localized structural damage and the growth of cracks
fatigue
giving way of an object under pressure
yielding
the ultimate failure of tough ductile materials loaded in tension
rupture
a material without capacity to deform without cracking.
brittle
the sudden change in shape (deformation) of a structural component under load
buckling
the capacity of a material or structure to withstand loads tending to reduce size
compressive strength
the area of a two-dimensional shape that is obtained when a three-dimensional object is sliced perpendicular
cross-sectional area
if(prizm._________) { // when sensor is receiving reflected light beam
readLineSensor(3) == 0
if(prizm._______) { // when sensor detects black stripe
readLineSensor(3) == 1
_____{ // infinite loop - stays locked in this loop until reset is pressed
while(1)
prizm.setRedLED(_____); // flash Prizm red LED on OR off (two different answers)
HIGH, LOW
what does this code do?
void loop() { // beam reflected, no line detected
if(prizm.readLineSensor(3) 0){prizm.setMotorPowers(125,30); prizm.setRedLED(LOW);} // no relected beam, line detected if(prizm.readLine
Sensor(3) 1){prizm.setMotorPowers(30,125); prizm.setRedLED(HIGH);} }
follow the edge of a black line on a white surface
if(prizm.readSonicSensorCM(4) > _____) // ?
if sensor on port D4 is ____ cm away do…. (if statement)
if(prizm.______________) //if distance greater than 25cm from sensor on port D4, do …. (if statement)
readSonicSensorCM(4) > 25
prizm._________; // set servo 1 speed to 50;
setServoSpeed(1,50)
prizm.__________; // raise detection flag!
setServoPosition(1,0)
prizm.__________; // lowered flag position
setServoPosition(1,90)
what is the range for setMotorPosition(s)?
0 to 180
what is the range for setMotorPower(s)?
Term
-100 to 100, or 125