1
Robotics Summer Camp
July 11-15, 2022
The 4th Mission Possible
Slide Deck
Pre-Start Activities
2
3
A. Make sure you sign-in
B. Grab a Name Badge
C. Minifig Activity Introduce Yourself
Grab some markers, crayons & pencils
Personalize your minifig
Include the following information:
Pre-Start Activities
4
5
Housekeeping
Wifi
Restrooms (tour of building)
Schedule 8:30 to 3:30
Lunch 11:30 to 12:30
6
Capacity Matrix
name
Fill out LEFT Side ONLY
LEGO HISTORY
7
1998 - 2006 - 2013 - January 2020
8
6
SU
P
E
R
9
Branding a Kit
The sets come with small stickers to identify your technic building elements. But I like to use the color coding dots to brand my core set. I label the following:
Summer Camp Robotics
10
Let’s Get Started
Get Software
11
12
Which coding language are the LEGO Education software apps built on?
Both apps use an intuitive drag-and-drop coding language that’s based on Scratch. Some of the blocks are identical to the ones that are used in Scratch 3.0, while others have been specially developed to interact with the LEGO Education robotics hardware.
Summer Camp Robotics
13
Hub/Brick Information
EV3 Intelligent Brick
SPIKE Prime Programmable Hub
14
15
1. Back Button
4 Basic Tabs
2. Center Button
3. Navigate through the Brick
Run
Recent
File
Navigation
Brick
Apps
Settings
16
Bluetooth
3 of the 6
input/output
ports
Center Button
Right Button
5x5 LED Matrix
Left Button
17
Summer Camp Robotics
18
SPIKE & EV3
19
$359.95
Summer Camp Robotics
20
Language of LEGO
EV3 and SPIKE Prime
Core Set
Technic
Building
Elements
21
Structural
22
beams
angular beams
frames
plate
New Structural
23
biscuit
Base plate
Flex hose
Integrator brick (with cross hole)
Connectors
24
Long connector peg
Double connector peg
Short connector peg
bushing
bazooka
Hassenpin
I beam
cross block
Wheels, Gears and Axles
25
Ball and Castor
axles
Wheel
Pulley Wheel
Electronics
26
Electronics
27
Bonus for SPIKE Prime
28
Get Your Brick ON!
29
Monday
30
Z-Racer
The Concept
Returning the equipment
Each group of 2/3 will need:
31
Z-Racer
Why start off with the Z-Racer?
Get Your Brick ON!
32
Thursday
Summer Camp Robotics
33
Introduce the Software
34
Programming Canvas
Hub Connection
Programming Area
Block Palette
Controls
Zoom Pan Undo/Redo
Stop Play
← Blocks -->
35
Programming Canvas
Dashboard Tab
Stop Play
Monitor View
Block Extensions
The Hand
36
Build a Hand Holder
37
Tips for Success
Each time you run the program - stop it and then modify!
V i P
38
Pull these parts:
EV3 brick
4 bazookas
#11 Beam
medium motor
medium cable
#4 axle
2 connector pegs
3 bushings
Pull these parts:
SPIKE Prime Hub
2 bazookas
2 #11 Beam
large motor
#3 axle
4 connector pegs
1 bushing
39
EV3 Brick
4 Bazookas
#11 Beam
Build the Prop Stand:
SPIKE Hub
2 Bazookas
#11 Beam
40
EV3
Attach the motor with 2 connector pegs to the side of the EV3 Brick. Attach hand with axle and bushings. Plug your cable into the motor and Port A.
SPIKE Prime
Attach the #11 beam at the top with 2 connector pegs. Then connect the large motor at the top with the remaining 2 connector pegs. Attach your hand to the axle with the bushing. Plug your cable into Port A.
41
EV3
SPIKE Prime
Summer Camp Robotics
42
The First Robot Build
43
Tips for Success
SPIKE Prime wire clips
44
EV3 Riley Rover & SPIKE Rhino
45
EV3 Riley Rover & SPIKE Rhino
In the software
46
EV3 Riley Rover & SPIKE Rhino
Let’s Explore
47
Block Descriptions
48
Checkpoint
Did you press the button after running your program?
Did you change the speed?
What happened when you changed the port order?
Summer Camp Robotics
49
The
5 Basic Movements
50
Motor and Movement Blocks
51
The 5 Basic Movements
52
Pivot Turn
One wheel is stationary and the other wheel moves.
Good for moving around an obstacle.
Examples: basketball player, clock hands, jazz dance step, pivot sprinkler system, wheelchair, marching band -left and right face
53
Point Turn (aka Spin Turn)
Motors turn in opposite directions
Tightest turn - takes up the least amount of space
Examples: forklift, zero turn lawn mower, blender,
old-fashioned washing machine agitator,
marching band with the about face
54
Curve Turn
Both wheels turn but at different speeds
Good turn to back off of a wall
Examples: downhill skier, weave poles on a dog agility course, winding mountain road, the way a snake moves
55
Dance Dance Dance
May the Synchronized Dancing Begin .
Summer Camp Robotics
56
TUESDAY
57
Dance Dance Dance
Showcase
Get Your Brick ON!
58
Tuesday
Quick Pull
1 frame 2 biscuits
1 integrator brick 1 cross block
2 double connector pegs 5 short connector pegs
3 axles
3 beams
1 bazooka
59
Build a Tall Structure
60
4 minutes
61
EV3 Base Build & SPIKE Driving Base 1
Building Instructions in the software for both !
Attach a Force/Touch Sensor with a double connector peg.
Port F- Force
Steps 1-26
Port 1 - Touch
62
Up and Around the Cone
(Back Pocket Trick)
Summer Camp Robotics
63
Add Sensors
64
Add Sensors to your
SPIKE Prime robot
ly.tcea.org/gobotgogo
65
EV3 Sensors
Build from the Classroom App
Your own building
Port 1 - Touch
Port 2 - Gyro
Port 3 - Color
Port 4 - Ultrasonic
66
Add Sensors to Your Robot
Touch
Color
Ultrasonic
Gyro
SPIKE Prime Robotics
67
Sensor Information
Force Sensor
68
You can measure the force sensor with a percent or newtons.
The 3 modes:
Pressed - gentle tap
Hard-pressed - press 60% in
Released - released at any amount
Color Sensor
69
Can detect:
Color = black, violet, blue, light blue, green, yellow, red, white, and no color
Reflectivity = non-reflective 0% to 100%
Ambient light = dark 0% to bright 100%
Used as a light output
Distance Sensor
70
Measures the distance to an object
Lights around the “eyes” can be programmed
The 2 capabilities
Can sense distances:
50-2000mm
Has a fast sensing capability
50-300mm
Measured in %, cm, or inches
Touch Sensor
71
The Touch Sensor can detect when the red button has been pressed and released.
Touch Sensor can be programmed to action using two conditions:
Color Sensor
72
The Color Sensor can detect the color intensity of light that enters the small window on the face of the sensor. This sensor can be used in three different modes: Color Mode, Reflected Light Intensity Mode, and Ambient Light Intensity Mode.
blue, green, yellow, red, white, and brown—plus No Color.
the intensity of light reflected back from a red light–emitting lamp.
The sensor uses a scale of 0 (very dark) to 100 (very light).
the strength of light that enters the window from its environment,
such as sunlight or the beam of a flashlight. The sensor uses a scale
of 0 (very dark) to 100 (very light).
Ultrasonic Sensor
73
The Ultrasonic Sensor can measure the distance to an object in front of it. Distance to an object can be measured in either inches or centimeters.
This sensor can be programmed in two different modes:
Measure - A steady light around the sensor eyes tells you that the sensor is in Measure Mode. (cm and inches)
Presence - A blinking light tells you that it is in Presence Mode. In this mode, the sensor can detect another Ultrasonic Sensor operating nearby.
74
Color Sensor
-
Touch/Force Sensor
Sensor
Programs
Summer Camp Robotics
75
Special Sensor
Challenges
76
Hip to be Square
77
Hip to be Square
EV3
SPIKE
78
Cliffhanger (EV3 and Touch Sensor)
Parts
2 connector pegs with axles
2 coat hangers
2 short connector pegs
1 gray cross block
2 #3 axles
1 touch sensor
1 cable
A good challenge to use the touch sensor released mode. You can follow my build or design your own touch sensor attachment off the back off your LEGO Base Build. The touch sensor is waiting for a release to stop. The goal is not have the robot go over the cliff (edge of the desk).
79
Cliffhanger (SPIKE and Force Sensor)
Parts
2 #7 beam
2 long connector pegs
2 short connector pegs
1 #3 axle
1 Force Sensor
80
Cliffhanger (SPIKE Prime)
2. Connect the 2 #7 beams to the long connector pegs
3. .Place your short connector pegs on the #7 beam.
4. Connect your force sensor and axle.
81
Cliffhanger (EV3 and SPIKE Prime)
SPIKE Prime
EV3
82
How Close Can You Go?
The objective is to get your straw as close to the “stick” as possible using the ultrasonic/distance sensor for detection.
Tips:
Helps if you get the sensor closer to the stick.
Measure the distance from the sensor to the stick.
83
How Close Can You Go? (EV3 and SPIKE Prime)
SPIKE Prime
EV3
84
The cattle dogs are on vacation! So, The ROBOTS must bring the longhorns into the corral.
The Robotics Roundup!
Summer Camp Robotics
85
WEDNESDAY
86
The Robotics Roundup
Showcase
Get Your Brick ON!
87
Wednesday
88
89
SPIKE Prime Robotics
90
Wednesday Sensor
Programs
91
Color Sensor
-
Ultrasonic/Distance Sensor
Sensor
Programs
Gyro Sensor
-
SPIKE Prime Robotics
92
Gyro Sensor
Information
The Built-in Gyro Sensor
93
The six-axis Gyro Sensor has a:
Able to report:
VIP Gyro Sensor Information
94
YAW - rotation of the vertical axis turn to the left and right (USE for turns)
PITCH - tilt forward or backwards (driving up a hill or the nose of a plane ascending or descending)
ROLL - parallel to the ground (like a plane to the ground or robot to the floor ) Builder Dude 35 says - bear pushing on it
95
Background Info
turn
tilt
Blocks to Program the Gyro Sensor
96
97
Gyro Sensor
The Gyro Sensor detects rotational motion on a single axis.
This sensor can be programmed in two different modes:
Rotation Rate - You can use the rotation rate to detect, for example, when a part of your robot is turning, or when your robot is falling over.
Rotation Angle - Keeps track of the total rotation angle in degrees. You can use this rotation angle to detect, for example, how far your robot has turned.
98
EV3 Gyro Sensor Build
Build from the Classroom App
Port 1 - Touch
Port 2 - Gyro
Port 3 - Color
Port 4 - Ultrasonic
99
Builder Dude 35
Program Accurate 90 Degree Gyro Turns With LEGO MINDSTORMS 51515
Gyro Sensor
100
SPIKE Prime
EV3
Gyro Sensor Curriculum from LEGO
101
102
Parking Lot
Classroom Strategy - only 3 times to run at the real Parking Lot
Summer Camp Robotics
103
THURSDAY
104
Parking Lot
Showcase
105
P
O
H
S
L
A
C
S
P
O
T
G
R
A
H
Get Your Brick ON!
106
Wednesday
The
WHIRLI-GIG
107
108
·The WHIRL·I·GIG· (EV3 & SP)
The definition…
· a toy that spins around
· a thing regarded as hectic or constantly changing
· Technic·Building·Elements ·
1 large pulley 1 5x7 frame 1 #13 beam
1 cross block 1 4x4 angular beam 1 #7 beam
1 bazooka 1 axle extender 1 double connector peg (H)
· Maximum 5 each of the following ·
axles bushings connector pegs #3 colorful beams (EV3) or integrator bricks (SP)
· Electronics ·
1 EV3 brick or SPIKE Hub 1 large motor 1 medium cable for the EV3
· Programming · Make it whirl forward for 2 seconds
Technic Building Elements can be decorative or
functional!
No gear trains
Hold your Whirligig
in your hand
110
·whirl·i·gig· with just the EV3
definition…
a toy that spins around
a thing regarded as hectic or constantly changing
·technic·building·elements·
1 large pulley 1 5x7 frame 1 #13 beam
1 cross block 1 bazooka 1 #7 beam
1 angular beam 1 axle extender 1 double connector peg (H)
maximum 5 each of the following…
axles bushings connector pegs #3 beams
electronics
1 EV3 brick 1 large motor 1 medium cable
·Make it whirl, use on brick programming·
Whirligig spins (motor D Forward, wait for 2 seconds)
Most pieces can be
decorative or
functional
no gear trains
111
A whirligig is an object that spins or whirls, or has at
least one member that spins or whirls. Whirligigs are also
known as pinwheels, buzzers, comic weathervanes, gee-haws, spinners, whirlyjig, whirlybird, or plain whirly.
Whirligigs are most commonly powered by the wind but can be hand or friction powered or even powered by a motor. They can be used as a kinetic garden ornament. They can be designed to transmit sound and vibration into the ground to repel burrowing rodents in yards, gardens, and backyards.
Whirligigs can be divided into four categories:
Button, String, Friction and Wind Driven
112
Button whirligigs
Button whirligigs (also known as button spinners and buzzers) are the oldest known whirligigs, requiring only a piece of clay or bone and a strip of hide.
Native American cultures had their own version of this toy in 500 BC.
Many a child of the Great Depression from the southern Appalachians and Ozarks remembers a button or token, or coin and a string as the primary spinning toy of their youth.
113
String whirligigs
String powered whirligigs require the operator to wrap the string around a shaft and then pull the string to cause the whirligig’s motion. String Whirligigs have ancient origins.
The bamboo-copter or bamboo butterfly, was invented in China in 400 BC. While the initial invention did not use string to launch a propeller, later Chinese versions did. The first known depictions of whirligigs are string powered versions in tapestries from medieval times.
http://en.wikipedia.org/wiki/Whirligig
114
Friction whirligigs
Friction whirligigs, also called Gee-Haw's, depend on the holder rubbing a stick against a notched shaft resulting in a propeller at the end of the shaft turning, largely as the result of the vibration carried along the shaft. The motion needed to power a friction whirligig is very similar to rubbing sticks together to create fire.
Friction whirligigs are another staple of craft shops and souvenir stores in the Appalachian Mountains.
http://en.wikipedia.org/wiki/Whirligig
115
Wind-driven whirligigs
A wind-driven whirligig transfers the energy of the wind into either a simple release of kinetic energy through rotation or a more complicated transfer of rotational energy to power a simple or complicated mechanism that produces repetitive motions and/or creates sounds. The wind simply pushes on the whirligig turning one part of it and it then uses inertia.
The simplest and most common example of a wind-driven whirligig is the pinwheel. The pinwheel demonstrates the most important aspect of a whirligig, blade surface. Pinwheels have a large cupped surface area which allows the pinwheel to reach its terminal speed fairly quickly at low wind speed.
Summer Camp Robotics
116
Variables
117
Your challenge is to set up a voting machine using the left and right buttons to vote. SPIKE/EV3 will show the count!
118
119
Let’s try a simple program first!
Use the left and right buttons to set up a Vote with corn and brussel sprouts
120
Let’s try a simple program first!
Use the left and right buttons to set up a count. SPIKE Prime
121
Add a total!
122
Voice and Choice
Share your Finding with the Group. (Reporting Period tomorrow: 10 minutes)
What you did?
What you liked?
What you disliked?
You pick!
123
The Robot Wave
Credit to: Damien Kee
Get into Groups
Explain the challenge
Must complete EDP before programming
Summer Camp Robotics
124
FRIDAY
Get Your Brick ON!
125
Wednesday
Think IT Up
Build IT Down
126
127
Use your Bag of LEGO bricks
to create a structure
that can Suspend off the edge of the table.
Your Goal is to make the structure extend as far down as you can.
Summer Camp Robotics
128
Mystery Challenge
Time for a Mystery
129
Summer Camp Robotics
130
EV3 On Brick Programming
131
1. Back Button
4 Basic Tabs
2. Center Button
3. Navigate through the Brick
Run
Recent
File
Navigation
Brick
Apps
Settings
132
Wait for Temperature
Wait for Medium Motor
Wait for EV3 Buttons
Wait for Time
Wait for Ultrasonic <30
Wait for Infrared Sensor
Wait for Remote Control
Wait for Gyro
Wait for Touch
Wait for Light
Wait for Color
Blank
Blank
Select Image
Select Sound
Select Lights
Select Trash
Select a Medium Motor
Select a Large Motor
Select 2 Large Motors
133
On Brick Programming -
Reach up to the 5 shelves with the dotted line.
134
Image
3
Image
4
Wait for
.25
Wait for
.25
Repeat
10
Reach up to the shelf -→
select
135
To SAVE
Saved programs
Save your program
To TRASH a programming block
136
To SAVE your on-brick program
Steps:
137
138
139
Let’s get started with the EDP for this challenge. Pencils ready?
First part we will work together as a whole group.
Now, let’s find our group.
No programming until the following is
COMPLETE
Showcase our Light Shows
Complete our EDP together.
140
The
Pool Noodle Runner
141
The Pool Noodle Runner
142
Summer Camp Robotics
143
My Blocks
(only explained)
144
A My Block is a way to build your own behaviors using many blocks of code and then compressing it into one block.
My Blocks are handy when you have a largely complicated programs and need to simplify the code to make it more readable.
They are also useful when you have a bunch of common functions that can be simplified and reused within a single block in the programming software.
145
My Block
EOC Celebration
146
Your challenge is to program your robot to navigate the maze with the least amount of programming blocks in your main stack. A perfect challenge for My Blocks.
What types of My Blocks should you create?
My Block
Challenge
147
Notes for the Challenge - Do not display
Bumpy
One
Summer Camp Robotics
148
Extra Resources
Starting a Club
Application Example
149
150
Motors
Q: Have you noticed this
in the SPIKE app?
A: I reached out to my LEGO representative for the answer. Lining up the motor will reset the degrees in the motor to zero.
I have tried to do this several times and it is very hard to set both your motors exactly to 0º. You can look in your dashboard tab to see the degrees. Below is one of my attempts.
151
Charging the Battery
The battery charges from the USB port on the Hub only.
This means that your SPIKE Prime robot is charging while you are programming if connected via USB cable.
This also means you cannot charge a spare battery by itself.
152
Curriculum
Each Lesson Includes:
Time
30-45 | 45-90 | 90-120 | 120+
Lesson Plan | 5E Model
Prepare
Engage (Ignite a Discussion/Video)
Explore (Tandem Build)
Explain (Synchronize Movement)
Elaborate
Evaluate
Extra
Coding (main and possible)
Differentiation
Assessment
Teacher Observation Checklist
Self-Assessment
Peer-Assessment
Extensions
Language Arts
Math
Career Links
*Tip* - Comment Tool
153
right click
154
You can attach comments to the coding blocks. The comment will stay attached even if you move it around.
Attaching Comments
Right click ->
Summer Camp Robotics
155
Quick Turn
Quick Turn
156
157
Download a Program into SPIKE Prime
158
Survey
Grow/Glow for Peggy
Capacity Matrix - right side
Disassemble robots - put core set back in order
Graduation
S
T
U
G
O
N
C
R
A
T
L
A
I
O
N