Lab VIEW Basics Review Lab VIEW Robotics Fundamentals
Lab. VIEW Basics Review Lab. VIEW Robotics Fundamentals
Lab. VIEW Environment Front Panel: Contains Controls and Indicators Context Help: Info on Commands Block Diagram: Place Commands here Functions Palette: Get Commands from here
Commands and Pink Wires • Commands run one at a time • Pink NXT wire makes sequences of commands • Specify important settings by wiring Constant Modifiers to terminals on each command
Sensors Touch Sensor Pressed or Released No threshold required Ultrasonic Sensor Distance to nearest object, in cm Uses Distance threshold (Near vs. Far) Light Sensor Brightness of light entering clear bulb Sound Sensor Loudness of sound at microphone Uses Brightness threshold (Dark vs. Light) Uses Volume threshold (Quiet vs. Loud) Rotation Sensor (built into motor) Degrees of motor rotation Uses Rotation threshold (Fewer vs. More Rotations)
Thresholds • A “cutoff” value that divides a large number of possible values into exactly two categories “Near” Threshold “Far” This wall is “far” because the distance to it is greater than the threshold 10 cm 20 cm 30 cm 40 cm 50 cm 60 cm 70 cm
“Move Until” Behaviors • All the behaviors you have learned so far are “Move Until” behaviors – Turn motors on – Wait for _______ (rotations, time, sensor reading) – Stop motors
- Slides: 6