0% found this document useful (0 votes)
34 views4 pages

Robotics 4TH Quarter

1) The document reviews robotics lessons including sensors, gears, servo motors, and line following programs. 2) Gears are used to adjust power, speed, and rotation and have pros like more torque but cons like friction and backlash. 3) Sensors like the touch, color, and light sensors are used for tasks like wall detection and line following. 4) Servo motors allow mobility and have configurations for rotation, speed, power, and degrees. 5) The line following programs use a color sensor to follow a line with either a two-state or proportional response strategy.

Uploaded by

Sophia Mabansag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views4 pages

Robotics 4TH Quarter

1) The document reviews robotics lessons including sensors, gears, servo motors, and line following programs. 2) Gears are used to adjust power, speed, and rotation and have pros like more torque but cons like friction and backlash. 3) Sensors like the touch, color, and light sensors are used for tasks like wall detection and line following. 4) Servo motors allow mobility and have configurations for rotation, speed, power, and degrees. 5) The line following programs use a color sensor to follow a line with either a two-state or proportional response strategy.

Uploaded by

Sophia Mabansag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

ROBOTICS REVIEWER 4TH QUARTER

Lesson 9: Swervee Robot Lesson 10: Gearing Techniques


Data Hub Gear
- instructions determine which motor should - used to adjust power, speed, and rotation of
be used, how fast it should move, or when it the motor
should stop the motor activity - classified according to their teeth/crown
- to open: - Gear Train
- click the tab on the bottom left side of - two or more gears meshed together
the block - Driver
- left side (input) - the gear to which the force is initially
- right side (output) applied
- Follower
Data Wire - final gear
- carry information and send it from one block - Idlers
to another - any gears between the driver and the
- automatically routes wires to make follower
programming on NXT look clean and neat ===================================
- if connection is successful, data wires will Gearing up
change color: - more power/torque, slower speed
- Yellow -> Number - smaller gear to bigger gear
- Green -> Logic
- Orange -> Text Gearing down
- if connection is unsuccessful, it’ll be a - faster speed, less power/torque
broken gray-colored line - bigger gear to smaller gear
===================================
Switch Block Types of Gears
- used if the program has to choose between - 12-tooth gear
two sets of codes - 20-tooth gear
- two ways to configure the properties of a - 28-tooth gear
switch block from the control drop-down list: - 36-tooth gear
- Value - 12-tooth support hear (bevel gear)
- either Logic or Number data - 20-tooth double bevel gear
- if connected to a logic data, - 12-tooth double bevel gear
True or False - double bevel gear
- if connected to a number data, - 36-tooth gear (spur gear)
you can specify the exact number
input ===================================
- value-number -> 0 or 1 Cons of Gears
- value-logic -> true or false Friction
- value-text -> conditions can be - friction causes to lose some power
customized - friction adds up
- Sensor - longer gear chain -> bigger lost
- a list of sensor types will appear: - bigger gear -> bigger friction
- !Receive Message
- !Rotation Sensor Backlash
- Color Sensor - air gap between gears causes backlash
- Light Sensor - it causes gears to move freely a little in
- NXT Buttons an unwanted way
- Receive Message - also causes delay in the operation
- Rotation Sensor - small gears with less teeth generates
- Sound Sensor more backlash
- Timer
- Touch Sensor ===================================
- Ultrasonic Sensor Wait (Color Sensor) Block
- allows the program to continue only when
the conditions set in the Until option are met
ROBOTICS REVIEWER 4TH QUARTER
Lesson 13: Using Touch Sensor, Servo
Motor, Gears, and Speakers

=======================================
Lesson 11: Applying Sensors and Servo
Motors Sound Block
Move Block - plays a sound file or a single tone using the
- used to program your robot to go forward, NXT’s speaker
turn left, turn right, or move backward - accomplished by importing sound files to the
- also modifies speed controller
- you can configure the Port, Direction, Steering, - you can modify the sound, volume, and control
Power, Duration, and Next Action in the the sound look in the Configuration Panel
Configuration Panel
=======================================
Wait (Touch) Block NXT Line Follower
- reacts when the push button of the touch sensor There are two programs provided for the Line
is pressed, released, or bumped Follower. Both programs use the Color Sensor in
- it sends a message to the NXT Controller and the "Light Sensor" mode, where the sensor shines
executes the code given an LED lamp of one color (red is used here) and
measures the amount of light that is reflected back
======================================= into the sensor, as a number from 0 to 100
Touch Sensor
- stimulates feeling 1. The LineFollow program
- basic push button device - a simple "Two State" line following
- three states: strategy without any sensor
- pressed calibration.
- released - will repeatedly turn either left or right
- bumped (press + release) in a "zig-zag" pattern, alternating
- common uses: back and forth on either side of the
- wall detection right edge of the line.
- user input - To use this program:
- technic cross-axle hole built in 1. Determine a good brightness
value to use as the "cut-off"
Servo Motor between the two states (light
- allows the robot to be mobile and dark). To do this, you
- rotation sensor can use the LightMeter
- flexible configurations program to measure the
- two-way rotation brightness over the center of
- speed/power the line (darkest), then over
- time the open floor (brightest),
- rotation then average them to find the
- degrees cut-off. For example, if the
Light Meter reads 20 over the
line and 40 over the floor,
then 30 would be a good
cut-off value.
ROBOTICS REVIEWER 4TH QUARTER
2. The SmoothFollow program
- a much more complex "Proportional
Line Follower" which continually
adjusts the steering response of the
robot depending on how far off the
line the robot appears to be.
- If the robot is only slightly off of the
edge of the line, then only a small
amount of steering is applied.
- When the robot is exactly over the
right edge of the line, the robot will
drive straight ahead at the full power
specified. This allows the driving to Customized Block
be smoother and faster than the - a user-defined programming block that
LineFollow program. groups certain functions of blocks to keep
the Work Area organized.
======================================= - To create a custom block, highlight the
The Walker: Rovee blocks you want to group, then go to the
My Block Edit menu, and select Make A New My
- is a group of blocks combined so you can Block.
work with it as though it were a single block.
- allows the user to easily re-use a series of Custom palette
block sequences without the need of - Shows custom blocks
creating them again.

Initialization
- At the beginning of the program, the motors
enter reset mode using the Reset block.
The Reset block is used to trigger the
automatic error correction, then execute a
custom programming block called “Wait for
Enter key”.
ROBOTICS REVIEWER 4TH QUARTER
Additional Info:

Goodluck everyone!!!
- Q3: ඞ
-Q4: (ᐢ..ᐢ)

You might also like