Introduction to Robotics Day4
description
Transcript of Introduction to Robotics Day4
EIGHTH GRADE ROBOTICSKITTATINNY REGIONAL HIGH SCHOOL
MR. SHEAIntroduction to Robotics Day4
PUT THE ROBOT ON
THE GROUND!!!!
Basic Programming 1
Basic Programming 2
Wireless Connection
Brick Name
BackUsed to reverse actions to
abort a running program and shut down the unit.
CenterUsed to accept various questions, shut down,
select desired settings, select desired program
blocks.
Left, Right, Up, DownUsed to navigate through the contents of the menus.
Battery Level
Brick Parts - Front
USB Connection Attached
Brick Status Light RED
Startup, Updating, Shutdown RED Pulsing = Busy ORANGE / ORANGE Pulsing
Alert, Ready GREEN
Ready GREEN Pulsing
Running Program
• The Brick Status Light can also be programed to show different colors and to pulse when different conditions are met.
Brick Parts -Sides
1 2 3 4
PC D C B A
INPUT PORTS(Sensors)
OUTPUT PORTS(Motors)
Computer Connection
B & C - Large MotorsD - Small Motor
SPEAKER USB PORT SD CARD SLOT
Main Screen
Previous Programs Run
Saved Programs
Brick Settings
Program Editor
Program Start Program End
Open Saved Program
Save the Current
Program
Program Editor
Command Block Palette
Sensors
TimeUsed to give any command a length.
SoundUp to 12 sounds pre-programmed into the Brick.
LightCan light up in 3 different colors
ImagesCan display different
images on the screen
Trash CanDeletes the selected
command
Motors(L) Small Motor(R) Large Motors
Clock / Time All of the commands
that you give your robot need a time range.
If you want your robot to move in a certain direction, produce a sound, display an image of, flash / change the color of its lights, it must be told for how long to do it.
Large Motors - Steering Controls the two large motors
generally used for mobility and steering in mobile robots.
Program Editor
• All commands of a program need an ACTION and a length of TIME.
START PROGRAM
END PROGRAM
Run for 2 seconds
The motors connected to
ports B & C will spin the robot in
a CCW circle
Ultrasonic Sensor An ultrasonic sensor works with waves and oftenit is used in applications for measure distance between a robot and surrounded objects.
The sensor emits sound waves and receives their echoes to detect and measure the distance from one or more objects.
The Ultrasonic Sensor is designed for a wide range of applications including measure the distance, detection, or traffic monitoring.
Features distance measure up to 250 cm (~100-inch); +/- 1 cm (+/- 0.4-inch) accuracy; recognize other ultrasonic sound;
Color Sensor Used for object detection, follow a line,
sorting objects, or detection of a normal or reflected light.
The digital EV3 Color Sensor could be used for applications to detect the absence of color, the difference between colors, up to seven different colors, the light intensity.
Features detection for up to seven colors; detect the absence of color; it works in ambient light; sample rate of 1 kHz; Auto-ID is built into the EV3 Software;
Gyro Sensor Used as assistance in stability of a robot. The mechanical system can determine the rotation and robot orientation on several axes giving the possibility for users to measure the angles and design robots with proper navigation systems.
Exploring the features of EV3 Gyro Sensor can be build balancing robots with high accuracy in movements.
Features
measure rotational motion and changes in its orientation; +/- 3 degrees accuracy; maximum output of 440 degrees/second; sample rate of 1 kHz;
Touch Sensor A simple and accurate sensor that canbe used in a wide range of applications like games or control systems. With a button in front and an integrated counter, the sensor that can be used in a wide range of applications like games or control systems. Button and a counter for press/release actions of the button. This sensor is usually used for start/stop control systems, games like maze-solving robots, and many other applications. Features
cross-axle hole on button;
Activities Complete the following tasks from the instruction book.
Divide up the tasks within your group.
You will be evaluated based on the amount you contribute to your team.
Follow all the directions carefully and program the robots as described.
Feel free to experiment some more with the programs and construction of your robots.
Show the teacher all of your successes and accomplishments.
Activities Each person in the group should build one of
the following and program another_
Ultrasonic – Gyroscopic – Color Sensor Pages 42 – 47 & 48 – 53 & 69 – 72
Medium Motor Pages 54 – 68
Color Sensor – Touch Sensor Pages 73 – 76 & 77 – 80
ALWAYS TEST ROBOTS ON THE FLOOR!