Download presentation
Presentation is loading. Please wait.
1
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: EV3 Basics Introduction to the EV3 Brick and Software By: Droids Robotics
2
Lesson Objectives Learn how the EV3 brick operates
Learn about the main components of the EV3 software Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
3
The “Brick” Buttons 1 = Back Undo Stop Program Turn robot off 2 = Center Button Select options Run Program Turn robot on 3 = L, R, Up, Down Navigate menus 1 3 3 2 3 3 Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
4
The “Brick” Screen Tabs on Screen
1 2 3 4 Tabs on Screen Run Recent Find programs you ran recently 2. File Navigation Find all programs by project 3. Brick Apps Port views 4. Settings Bluetooth, Wifi, Volume Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
5
Ports, Sensors, motors Ports A, B, C, D = Motors
Default setup assumes Right Motor in C, Left Motor in B B C Default setup Front Ports 1, 2, 3, 4 = Sensors Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
6
EV3 Software Open Saved Project Open New Project
Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
7
EV3 Software: Starting A new program
Create a Project Opened Programs Opened Projects Create a Program Project Properties List of programs Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
8
PROJECTS VS. PROGRAMS You will start by creating a PROJECT which has a .ev3 extension. You change the name of a project by using the Save Project As option from the the File menu. You will write many PROGRAMS as part of each PROJECT file. You change the name of a program within a project by doubling clicking on the program’s tab and typing in a new name. Note: If there is an * next to the project name, you have made changes to the project and you have not yet saved yet. There is a “x” next to project and program names. Clicking on it simply closes the file (it does not get deleted). Here are some common file extensions in the EV3: Programs (.ev3p) Images (.rgf) Sounds (.rsf) Text (.rtf) Projects (.ev3) – the only type of file you can open with the EV3 software Import file (.ev3s) – can be imported by an EV3 project Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
9
EV3 Software: Programming screen
Programming Blocks in 6 Colored Tabs Programming Area or Canvas Brick Status & Downloading Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
10
Useful Icons 1 2 3 4 5 6 7 List Programs in Project: List of all programs in the project Select: The cursor looks like an arrow and you can pick specific blocks or areas of the screen Pan: The cursor looks like a hand. When you click and move the mouse, you can move through the program when it goes beyond one screen. Comments: Click on this icon to create the comment box Save Project: Save the current version of your project Undo and Redo: Undo or redo the last actions Zoom Out, Zoom In, and Reset Zoom: Use to decrease, increase or reset the magnification Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
11
EV3 Blocks: Colored Tabs
ACTION BLOCKS Move, Large & Medium Motor, Display… FLOW BLOCKS Start, Wait, Loop, Switch, Loop Interrupt SENSOR BLOCKS Brick Buttons, Gyro, Color, Ultrasonic 1 2 3 1 2 3 4 5 6 DATA OPERATIONS Variables, Array, Logic, Math, Compare… ADVANCED BLOCKS Data Logging, Unregulated Motor… MY BLOCKS Custom Blocks you create 4 5 6 Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
12
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Moving Straight By: Droids Robotics
13
Lesson Objectives Learn how to make your robot go forward and backwards Learn how to use the Move Steering block Learn how to read sensor values using Port View © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
14
Steering: Straight or turn
Move STEERING Block B C Brake/Coast Mode of operation Steering: Straight or turn Power/Speed Duration/Distance Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
15
NEGATIVE & POSITIVE POWER: BACKWARD & FORWARD
Negative Power = Backwards Positive Power = Forward Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
16
HOW do you Move Straight?
STEP 1: Green Block Tab, Click and hold Move Steering and drag to programming area STEP 2: Drop next to the Start Block (green arrow) (See animation) Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
17
CHALLENGE 1: Move Straight (3 SECONDS)
STEP 1: Green Block Tab, Click and hold Move Steering and drag to programming area STEP 2: Drop next to the Start Block (green arrow) STEP 3: Select Options. Move “3 Seconds” STEP 4: Connect USB cable to EV3 and Laptop. STEP 5: Download to EV3 Step 3 Step 4 Step 5 Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
18
Move Straight: Seconds vs. degrees vs. rotations
FINISH CHALLENGE: Move your robot forward from the start line to the finish line (1) and back to the start (2). Try mode SECONDS, DEGREES or ROTATIONS and adjust duration/distance Try different speeds 1 2 B C START Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
19
This would be changed for degrees or seconds
CHALLENGE SOLUTION This would be changed for degrees or seconds There is a better way (go to slide 11) to solve this challenge Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
20
SOLUTION: Use Port View
Try “port view” on brick (on Brick Apps tab) Move your robot with your hand from your start line to your end line Read how many degrees your robot moved Use this number in the Move Steering Block to move the correct distance. Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
21
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Turning By: Droids Robotics
22
Lesson Objectives Learn to turn the robot a desired number of degrees
Learn the differences between Spin and Pivot Turns Learn how to program two different type of turns Learn to write pseudocode © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
23
PIVOT Vs. SPIN Turns 180 Degree Pivot Turn
Notice where the robot ends in both pictures after a 180 degree turn. In the Spin Turn, the robot moves a lot less and that makes Spin Turns are great for tight positions. Spin turns tend to be a bit faster but also a little less accurate. So when you need to make turns, you should decide which turn is best for you! B C End Position Motor B Moves B C Start Position 180 Degree Spin Turn Start Position End Position B C B C Motors B and C Move Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
24
How to Make Pivot and Spin turns
Steering Value 50 -50 100 -100 Pivot Turn Right Pivot Turn Left Spin Turn Right Spin Turn Left B C B C B C B C Move Steering Block Change Steering value here Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
25
MAKING A Pivot turn for 90 DEGREES
? B C B C Program your robot to turn 90 degrees....Does the robot actually turn 90 degrees if you just pick 90 degrees for distance? Ans. NO! Solution on next page Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
26
how do you make the robot turn 90 degrees?
Ans. Try using the port view to measure the turn and then input the correct number of degrees. Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
27
TURNING CHALLENGES Challenge 2
Your robot baseball player must run to second base, turn around and come back to first. Go straight. Turn 180 degrees and return to the same spot. Challenge 1 Your robot is a baseball player who has to run to all the bases and go back to home plate. Can you program your robot to move forward and then turn left? Use a square box or tape Start and End position First Base B C Second Base B C Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
28
CHALLENGE SOLUTIONS Challenge 1
You probably used a combination of move steering to go straight and do pivot turns to go around the box. Challenge 2 You probably used a spin turn because it is better for tighter turns and gets you closer to the starting point! Start and End position First Base B C Second Base B C Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
29
TURNING An Attachment ARM, not just the wheels
Attach a medium motor to Port A or a large motor to Port D as needed. Move Steering vs. Motor Block For moving your wheels you should use a Move Steering Block that syncs both wheel motors (see intermediate lesson called Move Blocks to learn about sync) For moving your attachment your arm, you use either a Medium Motor Block or a Large Motor Block because you don’t need to sync your motors. Medium Motor Block Large Motor Block Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
30
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Display Block By: Droids Robotics
31
LESSON OBJECTIVES Learn to use the Display Block to display text and images Understand why the Display Block can be useful in programming Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
32
Display Block The Display Block to show information and pictures on the screen You can control the location and size of text You can use this same block to display sensor readings and instructions. Located in Green Tab Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
33
MORE ON Display Blocks Two modes to display
Pixel mode (Use for displaying images or text) 178 pixels left and right 128 pixels up and down Grid mode (Easier to use, only works for text mode) 22 columns of 8 pixels each 12 rows of 10 pixels each Small characters are 1 row and 1 column Large characters are 2 rows and 2 columns Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
34
Displaying Text in Grid Mode
Text to be displayed Text size 0 – small font 1 – small, bold font 2 – large font Display Preview Erase Screen Column to start display Row to start display Black/White Display Text Size Step 1: Pick Display Block Step 2: Click on “Switch Modes” icon and hover over “text”. Then click on “grid”. The icon will change into a square with dots. Step 3: Use the box on the top right to enter the text you want to display Switch Modes Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
35
DISPLAY BLOCK CHALLENGE 1
Get each task checked when completed: Can you write a program to display text in the middle of the screen? Display “Hello World” Make the display block run for 3 seconds Can you also move while doing this? Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
36
Challenge 1 solution Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
37
Displaying an image in PIXEL Mode
Step 1: Pick Display Block Step 2: Click on the “Select Mode” which has a folder icon and pick “image” Step 3: Use the empty box on the top right to pick the image you want to display Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
38
DISPLAY BLOCK CHALLENGE 2
Get each task checked when completed: Can you display eyes on the screen while moving? Alternate eyeballs that look left and right. Use the Display Block, Motor On and Wait Block Complete something of your own design. Draw below: Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
39
CHALLENGE 2 Solution Display Block Wait Block Motor Off Motor On
Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
40
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Touch Sensor By: Droids Robotics
41
Lesson Objectives Learn how to use the Touch Sensor
Learn how to use the Wait For Block Learn the difference between the Wait For Block and the Sensor Blocks Learn when to use Move Block’s “On” mode © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
42
What is a sensor? A sensor lets an EV3 program measure and collect data about is surroundings The EV3 sensors include: Color – measures color and darkness Gyro – measures rotation of robot Ultrasonic – measures distance to nearby surfaces Touch – measures contact with surface Infrared – measures IR remote’s signals Our lessons will cover the 4 sensors in green. Image from: © EV3Lessons.com, 2015, (Last edit: 2/26/15)
43
WHAT IS A TOUCH SENSOR? Touch Sensor can detect when the sensor’s red button has been pressed or released With this information, you can program an action when the sensor is: Currently Pressed Currently Released Pressed and Released Just Before (Bumped) When might you use this sensor? Useful for programming “moving until touch sensor is pressed/released/bumped” For example, if you put a touch sensor on the front the robot, you can have it stop moving if it runs into something. You can also have your program start or stop when a touch sensor is pressed. © EV3Lessons.com, 2015, (Last edit: 2/26/15)
44
HOW Do you program with the Touch Sensor?
There is a Touch Sensor Block in the Yellow Tab, but there is a Wait for Touch in the Orange Tab. What is the difference!!????! Yellow Sensor Tab: Sensor Blocks Used to Read and Compare Sensor Values Orange Flow Tab: Wait for Block Used to wait for a sensor reading (or time) In this lesson, we will use the Wait For Block © EV3Lessons.com, 2015, (Last edit: 2/26/15)
45
A tip for Move Steering Blocks With Sensors
Leaving the motor “on” and “off” Why use the “on” instead of “degrees”? May want the program to do other tasks such as reading a sensor while moving © EV3Lessons.com, 2015, (Last edit: 2/26/15)
46
CHALLENGE 1 Program your robot to move straight until you tap the sensor with your hand. 0 = released 1 = pressed 2 = bumped B C Hint: You will combine: Move Steering + Wait Block © EV3Lessons.com, 2015, (Last edit: 2/26/15)
47
Challenge 1 Solution Add screenshot
© EV3Lessons.com, 2015, (Last edit: 2/26/15)
48
CHALLENGE 2 Program your robot to move until it hits the edge of a wall. Then back up and turn right 90 degrees. 0 = released 1 = pressed 2 = bumped B C Hint: You will combine Move Steering + Turning + Wait Block © EV3Lessons.com, 2015, (Last edit: 2/26/15)
49
Challenge 2 Solution Add Screenshot
© EV3Lessons.com, 2015, (Last edit: 2/26/15)
50
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Color Sensor By: Droids Robotics
51
Lesson Objectives Learn how to use the Color Sensor
Learn about Coast and Brake © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
52
What is the color sensor?
What are they? Sensors that detect the intensity of light that enters it Three modes: Color, Reflected Light Intensity and Ambient Light Intensity Color Mode: Recognizes 7 colors (black, brown, blue, green, yellow, red, white) and No Color Reflected Light: Measures the intensity of the light reflected back from a lamp that emits a red light. (0=very dark and 100=very light) Ambient Light: Measures the strength of the light that enters the sensor from the environment. (0=very dark and 100=very light) USES: Move until a line Follow a line We will use COLOR MODE in this Lesson © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
53
ANOTHER MOVE STEERING TIP: COAST or Brake?
Something more about the Move Steering Block You will notice you have an option to COAST or BRAKE Coast will make the motors keep moving. Brake makes the motors stop immediately. Which do you use to stop EXACTLY on a colored line? © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
54
COLOR SENSOR CHALLENGE
Make the robot move up to a green line using the color sensor. Step 1: Use Wait For Color Step 2: Use the color sensor in COLOR MODE Step 3: Coast or Brake? Hint: You will use Move Steering (think about motor on and off) and Wait for “Color” © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
55
Color Sensor Challenge Solution
FINISH Move Steering Set to “ON” Move Steering Set to “OFF” with BRAKE START Wait until Color is Green (#3) © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
56
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Repeating Actions (Loops) By: Droids Robotics
57
Lesson Objectives Learn how to repeat an action
Learn how to use Loop Blocks © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
58
Repeating an Action Is there an easier way?
How can we move around a box using the commands we already know? (move + turn) + (move + turn) + (move + turn) … Loops make repeating a task multiple times easy Is there an easier way? Hint: © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
59
Loops Loops make repeating a task multiple times easy
KEEP GOING….Forever, for a Count, Until touch (or something else) © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
60
LOOP CHALLENGE Challenge: Write a program to go around a box until touched. You must use a LOOP © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
61
Loop CHALLENGE Solution
© EV3Lessons.com, 2015, (Last edit: 2/26/2015)
62
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Switches By: Droids Robotics
63
Lesson Objectives Learn how to make your robot decide what to do out of different choices Learn how to use a Switch Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
64
Switch Blocks Run this code if the answer is yes Asking the robot a question and doing something different based on the answer Example: Does the robot see a line? Or not? Basically a YES/NO QUESTION Switch blocks are found in the orange/flow tab The question being asked: is the touch sensor pressed Run this code if the answer is no © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
65
Switch Block CHALLENGE 1
Challenge: Write a program that changes the display based on if the touch sensor is pressed or not pressed. If pressed, your EV3 is happy! Display a smiley face. If not pressed, the EV3 is sad! Display a sad face. Hint: You will need to use the display block, loops and switch blocks! © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
66
Challenge 1 SOLUTION Display Block Touch Sensor Wait Block Selected
Loop Display Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
67
Switch Block Challenge 2
Can you write a program that display big eyeballs if you touch it once and a sad face if you touch it a second time and toggles back and forth. © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
68
Challenge 2 solution © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
69
BEGINNER EV3 PROGRAMMING Lesson
Topics Covered: Ultrasonic Sensor By: Droids Robotics
70
LESSON OBJECTIVES Learn about the Ultrasonic Sensor
Learn how to use Wait Until Ultrasonic Block Learn the difference between the Wait Until Ultrasonic Block and the Ultrasonic Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
71
ULTRASONIC An ultrasonic sensor measures distance.
You use it when you need to make sure you are a certain distance away from a target. The distance can be measured in inches or centimeters. To read the ultrasonic sensor, you use the Ultrasonic Block. To use the ultrasonic to do an action until a distance, you use “Wait Until” Read Ultrasonic VS. Wait for Ultrasonic © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
72
Ultrasonic CHALLENGE 1 Challenge: Make the robot move until it is 5 inches away from the wall. Step 1: Make a new program Step 2: Set move to “on” Step 3: Set wait block to use the Ultrasonic Step 4: Set move block to “off” © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
73
Challenge 1 solution © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
74
Challenge 2: Dog Follower
If the robot is closer than 5 inches away from your hand move backward, otherwise move forward. Step 1: Drag a loop from the orange tab Step 2: Drag switch inside loop Step 3: Set switch to Ultrasonic Step 4: Set move steering block to ON and place in TRUE Step 4: Set move steering block to OFF and place in FALSE © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
75
Challenge 2 solution © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
76
Better Dog follower: The previous dog follower kept the robot moving always. This version lets the “dog” rest if it is between 4-6 inches. © EV3Lessons.com, 2015, (Last edit: 2/26/2015)
77
BEGINNER PROGRAMMING Lesson
Basic Line Follower By: Droids Robotics
78
LESSON OBJECTIVES Learn how humans and robots follow lines
Learn how to get a robot to follow a line using Color Mode on the EV3 Color Sensor Learn how to follow a line until a sensor is activated Learn how to follow a line for a particular distance Learn how to combine sensors, loops and switches © 2015 EV3Lessons.com (Last edit: 2/28/2015)
79
FOLLOW THE MIDDLE? Humans want to follow the line in the middle.
Let’s have the robot do the same thing using the Color Sensor What type of questions can we ask using this sensor Are you on line or not? © 2015 EV3Lessons.com (Last edit: 2/28/2015)
80
If we are on black, keep going straight
If we are on white, turn left to get back to the line Seems to work fine here… © 2015 EV3Lessons.com (Last edit: 2/28/2015)
81
If we are on black, keep going straight
If we are on white, turn left to get back to the line OH NO… my robot is running away…. When the robot leaves the left side of the line, the program no longer works! © 2015 EV3Lessons.com (Last edit: 2/28/2015)
82
Line Following: ROBOT STYLE
Why could the Human follow the middle?: They can see ahead. They can see the whole line and its surroundings They see both sides and which side they left Why can’t the Robot do the same thing?: Can’t tell right or left side of the line How do we make sure the robot always veers off on the SAME SIDE of the line? Instead of the middle, could the robot follow the “edge”? So now the robot will fall off only the same side. We will now show you how this works! © 2015 EV3Lessons.com (Last edit: 2/28/2015)
83
ROBOT LINE FOLLOWING Happens on the edges
Left side line following Right side line following If on black, turn left. If on white turn right. If on black, turn right. If on white turn left. The robot has to choose which way to turn when the color sensor sees a different color. The answer depends on what side of the line you are following! © 2015 EV3Lessons.com (Last edit: 2/28/2015)
84
starting the roboT on the correct side
✗ ✔ ✔ © 2015 EV3Lessons.com (Last edit: 2/28/2015)
85
Line Follower challenge 1
Step 1: Write a program that follows the RIGHT edge of a line. Hints: If your sensor sees black, turn right. If your sensor sees white, turn left. Use loops and switches! Step 2: Try it out on different lines. Did your line follower work the same on straight and curved lines? Step 3: If not, instead of turn Steering = 50, try smaller values. Is it better on the curved lines now? B C B C © 2015 EV3Lessons.com (Last edit: 2/28/2015)
86
LINE FOLLOWING CHALLENGE SOLUTION
Right side Q. Does this program follow the Right or Left side of a line? A. The robot is following the Right Side of the line. © 2015 EV3Lessons.com (Last edit: 2/28/2015)
87
Line follower challenge 2
Part 1: Make a line follower that stops when you press the touch sensor Part 2: Make a line follower that stops after it travels a particular distance © 2015 EV3Lessons.com (Last edit: 2/28/2015)
88
Challenge 2 SOLUTION: SEnsor
© 2015 EV3Lessons.com (Last edit: 2/28/2015)
89
Picking Up and Moving an Object
BEGINNER PROGRAMMING LESSON Picking Up and Moving an Object By Droids Robotics © 2015 EV3Lessons.com, Last Edit 6/27/2015
90
Objectives Learn how to program a robot to move an attachment arm – a powered attachment Learn how to make useful attachments © 2015 EV3Lessons.com, Last Edit 6/27/2015
91
New Tool: Motor Blocks Large Motor Block Medium Motor Block
You can use the Large EV3 Motor or the Medium EV3 Motor for attachment arms Move Steering vs. Motor Block For moving your wheels you should use a Move Steering Block that syncs both wheel motors (see Intermediate lesson called Move Blocks to learn about sync) For moving your attachment your arm, you use either a Medium Motor Block or a Large Motor Block because you don’t need to sync your motors. Large Motor Block Medium Motor Block © 2015 EV3Lessons.com, Last Edit 6/27/2015
92
Using a Medium Motor Attach a medium motor to Port A or a large motor to Port D as needed This is a generic set-up for the EV3 Construct an attachment that can pick up or grab a hoop (object) Look at the two examples on the right. They use the DroidBot’s SNAP attachment DroidBot’s build instructions are available on the Robot Design page of EV3Lessons.com Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015)
93
Pick Up and Move Object Challenge
From the start line, move up to the black line Pick up the object and bring it back to the start line You can have the robot turn to come back or simply move backwards You can make the object a cube to grab (as in the Core EV3 kit) or an item with a loop on top depending upon the pieces you have available. © 2015 EV3Lessons.com, Last Edit 6/27/2015
94
Challenge Solution © 2015 EV3Lessons.com, Last Edit 6/27/2015
95
Trip to the Grocery Store
1. Start at Home and drive to the grocery store 2. Have your robot turn and backup/reverse into the parking space 3. Stop to pick up groceries 4. Return home using the short cut 2 1 3 4 © 2015 EV3Lessons.com, Last Edit 6/27/2015
96
The next few slides have tips on making attachments for FIRST LEGO League
© 2015 EV3Lessons.com, Last Edit 6/27/2015
97
Powered and Passive Attachments
Passive vs. Powered Passive attachments are sometimes more reliable (KISS principle) Powered attachments may be more complicated to attach Power sources Pneumatics – relatively powerful, but need to pump up in advance and be careful regarding pressure and leaks Rubberbands – compact and easy to use but can get lost/wear out over time Motors – can control in software and reusable across many missions but physically large © 2015 EV3Lessons.com, Last Edit 6/27/2015
98
Attachment Tips Reduce errors/time wasted by avoiding adding/removing attachments. Design attachments that can stay on for entire time. See Droids Robotics Food Factor run on YouTube for example of very few additions across multiple runs Removing attachments may be easier, less error-prone than adding them See Droids Robotics Senior Solution run on You Tube for example of removing most complex attachments, but not adding more Reduce space and complexity of attachments by building attachments that can work for multiple missions See forklift attachment used in Droids Robotics Nature’s Fury run (You Tube) for its use in multiple missions © 2015 EV3Lessons.com, Last Edit 6/27/2015
99
Attachment Tips Continued
Use reliable and easy-to-add mechanisms to connect to motors/robot Avoid hard to add/remove pins Connecting directly to motor can be more reliable (avoids gear slip, etc.) but takes longer Using gearing mechanisms to connect to motor can make it easy to add attachment but the connection may not be as reliable Use gears to deliver power to where you need it on the robot and in the direction that you need it Look at various LEGO sets for inspiration on how to connect gears Look at books by Isogawa to learn about gearing © 2015 EV3Lessons.com, Last Edit 6/27/2015
100
S.N.A.P Attachments for Droid Bot
Some features to notice: Swappable: Easy to put on and take off No Problem: Strong, reliable connection to motor (hard to remove accidently) Attachments with Power: Reliable gearing mechanisms to increase or decrease the power of the attachment Gearing mechanisms to deliver power to either side of the robot © 2015 EV3Lessons.com, Last Edit 6/27/2015
101
Next Steps Now that you know how to move an arm on a robot, can you move the arm while moving? Check out the Parallel Beams lesson in Intermediate and Advanced Refer to the Move Blocks Lesson in Intermediate to learn more about the differences between Move Steering and Motor Blocks © 2015 EV3Lessons.com, Last Edit 6/27/2015
102
CREDITS This tutorial was created by Sanjay Seshan and Arvind Seshan from Droids Robotics. More lessons are available at Author’s This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Copyright © EV3Lessons.com 2015 (Last edit: 2/26/2015)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.