Programming

Running a Robotics Program
FIRST LEGO League (FLL)
Workshop
&
EV3 LEGO Robotics:
Basic Building and Programming
Welcome to the BCPS
FIRST LEGO League Training
• Check In
• Pick up your materials
• Unpack your Robotics Core Set and locate the
battery and charger
• Plug in the battery (so we can make some cool
robots drive around the room later today)
• Unpack the robot parts and divide up into the sorting
tray. *Sorting Sheet available at the desk for the EV3. NXT guide is
on the back of the lid insert.
LET’S GO Boys & Girls: Mission
To enable underserved students to become
STEM professionals.
CEO: Dr. Clarke ‘Corky’ Graham
Robotics Directors: Dana Aucoin and Debbie Dininno
Who’s Who - BCPS
Baltimore City Schools
Catherine Villnave
Science Enrichment Specialist
[email protected]
410-336-1067
WHY?
Why robotics?
Why coach this team?
What will be gained by this?
Training Outcomes
Participants will be able to:
Robotics
• Explain why robotics is important
• Describe what will be gained by coaching a team
FIRST Lego League (FLL)
• Explain the 3 parts of the FLL Challenge
• Construct a plan with initial steps to launch a FLL team at their site
• Know where to find critical information regarding FLL materials on the
Internet
Training Outcomes
Participants will be able to:
Building
• Identify the main LEGO EV3 components and explain how they are used
• Build a basic Robot from pictorial directions
Programming
• Navigate the EV3 Software components
• Write a basic program that has robot drive forward, backwards, turn and
adjust speed
• Write an advanced program using a 3rd motor with attachment
What is FIRST LEGO League?
FLL introduces younger students to real-world engineering challenges by building LEGObased robots to complete tasks on a thematic playing surface. FLL teams, guided by their
imaginations and adult coaches, discover exciting career possibilities and, through the
process, learn to make positive contributions to society.
• Design, build, and program robots using LEGO MINDSTORMS®
technology
• Apply real-world math and science concepts
• Research challenges facing today’s scientists
• Learn critical thinking, team-building, and presentation skills
• Participate in tournaments and celebrations
What FLL teams accomplish is nothing short of amazing. It’s fun. It’s
exciting. And the skills they learn will last a lifetime.
From the US FIRST FLL website
Gracious Professionalism ™
You are “Gracious Professionals.” You are competing hard against
PROBLEMS, while treating PEOPLE with respect and kindness - people from
your own team as well people from other teams.
You build onto other people’s ideas instead of resisting or defeating them.
Coopertition ™
Coopertition produces innovation. At
FIRST, Coopertition is displaying
unqualified kindness and respect in
the face of fierce competition.
Coopertition is founded on the
concept and a philosophy that teams
can and should help and cooperate
with each other even as they
compete.
Core Values
•We are a team.
•We do the work to find solutions with
guidance from our coaches and mentors.
•We know our coaches and mentors don’t
have all the answers, we learn together.
•We honor the spirit of friendly competition.
•What we discover is more important than
what we win.
•We share our experiences with others.
•We display Gracious Professionalism ™ and
Coopertition™ in everything we do.
•We have fun!
CORE VALUES
We are a team.
We do the work to find solutions with guidance
from our coaches and mentors.
We know our coaches and mentors don’t have all
the answers; we learn together.
We honor the spirit of friendly competition.
What we discover is more important than what we
win.
We share our experiences with others.
We display Gracious Professionalism ® and
Coopertition® in everything we do.
We have FUN!
Sept.
Oct.
Nov.
Dec.
Jan
Project
 Research a real-world problem in the field of the challenge theme
 Create an innovative solution
for a problem
 Share their findings in the
community with stake holders
 Presentation summarizing
research, solution, and
sharing with stake holders at
Tournament
Robot Game
Design *
Build *
Program *
Test …
….an autonomous LEGO MINDSTORMS robot
that must perform a series of tasks or missions
in 2 ½ minutes
Overview of the
Season
Register a Team
What you will get in from
FIRST
•Coaches Handbook
(download)
•Coaches Pins
Late summer/Early fall
•Box of LEGO Parts for
building challenge missions
(Field Kit)
•4x8 pre-printed mat
What you will have access
to on Release Date – end of
August – FLL Website
•Field Setup
•Mission Rules
•Project Guidelines
•Robot Game Updates
Youth Protection
The screening is a criminal background and sex offender registry check.
https://my.usfirst.org/fll/tims/site.lasso
2 Lead Coaches need to be screened
•
3 minute video
•
Review FIRST Youth Protection
Program Guide
http://www.usfirst.org/aboutus/youth-protection-program
All teams must pay for their team registration and have two screened coaches before they
can order materials (EV3, Field Kits etc). Materials are ordered directly from LEGO
Education. A link will be provided to LEGO Education's website once the team meets the
criteria.
Forming a Team
Recruiting
Maximum of 10 Students
•Announcements/Fliers
•Information Session
•Optional - Application
A child cannot be older than
14 on Jan. 1 of the year the
challenge is announced
•Factors
•Experience/Seniority
•Unique Skills
A team member may only
participate on one FLL team
•Gender Balance
•Displayed Interest
Parents
Youth Team Member Registration
(National FIRST)
NEW - Starting in May, 2014, FIRST
Why
will require all youth team members of
FIRST programs to register.
Registration of youth team members is needed to:
The Lead Coach/Mentor will send the
parent/guardian an email invitation with
the registration link and team number.
Here parents/guardians will sign the
FIRST Consent and Release Form
(electronically)
And register their child/ren
•Establish a system of communication with parents
of team members
•Comply with Youth Protection policies by having a
way for FIRST to contact parents of participants in
case of emergency
•Provide Lead Coaches/Mentors with a Team Roster
that identifies their Team and makes management of
paperwork easier
•Provide FIRST with data on who is benefitting from
our programs, apply for funding and sponsorships
and help us grow our programs
•Reduce the cost and amount of paper that needs to
be processed at FIRST events, then shipped and
stored at Headquarters
Sample Two Hour Meeting
•Team Building or Public Speaking Activity
•Share what was worked on last session
•Set goals meeting
•Break into 2-4 Groups
•Project Team
•Building Team
•Programming Team
•Strategy Team
•Clean up
•Share Group Accomplishments
Teambuilding
Public Speaking
•Instills a spirit of cooperation and mutual
support within a group
All good speakers are made.
•Improves communication
•Motivates a team
•Encourages team to get to know each
other
•Develops goal setting skills
•Teaches a team self-regulation strategies
•Helps team members learn more about
themselves (strengths and weaknesses)
•Identifies and utilizes the strengths of
team members
•Improves productivity, innovation, quality
and satisfaction
•Teach them to make eye contact
•Teach them to stand up and introduce
themselves to adults who talk to them
•Eliminate text speech and kid speech
•Remind them that everything they do in
life and work will require clear, effective
communications skills
The Culmination: FLL Tournament
Core Values
Robot Matches
3 official matches in the afternoon
Project Presentation
Judged in the morning
Usually, only 1
‘historian’ is
allowed with the
team in the
judging
sessions, this
can be a coach
or parent
Judged in the morning
Robot Interview
Judged in the morning
Rubrics
Sample Qualifier Schedule
8:00-8:30 – Team Registration
8:30-11:30 – Team Judging
11:30-12:00 – Lunch
12:00-12:30 – Opening Ceremonies
12:30-3:30 – Robot Matches
3:30-4:30 – Closing Ceremonies/Awards
Each team attends 1 Qualifier - December - January
Top Teams advance to State Tournament - February
Attend a Qualifier Event!
NO MATTER what your children are
‘scoring’ during the robot game –
attend a qualifier tournament.
It’s all about the CELEBRATION of
the season, not how well you can
score!
The robot score at the table
is a tiny piece of the overall
FIRST LEGO League
experience.
2014 Learning Unleashed
What is the future of learning?
Think about how you learn.
Coming August 26, 2014
US FLL Website: http://www.usfirst.org/roboticsprograms/fll
2014 FLL Coaches
Handbook
Download ONLY
FIRST LEGO League App
Print
Resources
The app (google play or itunes) includes
the Coaches Handbook, the Challenge
document, and the updates document
Digital Resources
Compiled by
LET’S GO
http://www.firstlegoleague.org/challenge/2014fllworldclass
Many other Books
available on
programming and
building. Check out
your local bookstore
or Amazon.com
Materials
•FLL Coaches’ Handbook
•FLL Coaches Binder
• Thumb drive and/or
access to digital files
•Field Kit
• Mat
• Mission Models
•LEGO Mindstorm
EV3 or NXT Kits
•NXT-G or EV3
Software
LEGO Mindstorm:
NXT and EV3
Basic Building
and
Programming
Unpacking your Kit
Sorting you LEGO’s…..
Activity: Open EV3 Box and Sort into
Trays
Bricks and Beams
• Standard LEGO’s –
bricks, held together by
friction only
• LEGO Technics –
standard beams, held
together by friction
and/or pins
• LEGO Technics –
studless beams, held
together by pins
Liftarms and Pins
• Studless beams also
come in bent shapes
• Some connectors are
crossed for axles
others are round, for
pins
• Pins of different
lengths and tightness.
The light grey ones will
rotate in the holes.
Axles and Angle Connectors
• Connectors join axles
together
• Great for building light
frames and
attachments
Gears
• Gears are designed by
the # of teeth.
•
Gearing down (small
to large) increases
torque (power) and
decreases speed
•
Gearing up (large to
small) decreased
torque and increases
speed.
Wheels
New Piece in EV3
• Technic Ball Pivot
Parts: Think – 3rd
Wheel/Skid Pad
• Available from LEGO
Education
NXT and EV3 Sensors and Motors
Large
Motor
Color Sensor
Detects the
color or
intensity of
light
Small
Motor
Ultrasonic
Sensor
Measures the
distance to an
object in front
of it
Gyro Sensor
Detects
rotational
motion on a
single axis
Touch Sensor
Analog sensor
that can detect
when the
sensor’s red
button has
been pressed
or released
EV3 Brick
EV3 Brick Status Light
Red = Startup, Updating, Shutdown
Red Pulsing = Busy
Orange = Alert, Ready
Orange Pulsing= Alert, Running
Green = Ready
Green Pulsing = Running Program
Activity: Turning On
and Off the Brick
NXT Brick Interface
Turn On – Orange button
Orange button - Says “ok” to
various questions
Back – Reverse actions, abort a
running program or to shut down
brick
Left and Right button – Used to
navigate through the NXT Brick
EV3 Brick Interface
Turn On (press CENTER dark gray
button)
Back – Reverse actions, abort a
running program or to shut down
brick
Center Button – Says “ok” to
various questions
Left, Right, Up and Down – These 4
buttons are used to navigate
through the EV 3 brick.
Activity: Build a Simple Robot
EV3: Base Robot
EV3 Software: Robot Educator – Building
Instructions – Driving Base AND Medium
Motor Driving Base
Install Charged Batteries
Programming
• EV3 User Guide
• Help Files
• File Naming and Saving
• Move Blocks
• Turning
• 3rd Motor
EV3 Lobby
File Naming and Saving
Activity: Open Software and Create a New
Program (File Name – gofwd)
EV3: File – New
Project – Program
– “Open”
* Double Click on File Name
EV3 Programming Space
Activity: Explore the Brick Interface
Find on the EV3
 Tab 1 – Run Recent
 Screen is blank until you begin to
download and run programs.
 Tab 2 - File Navigation
 Files are organized in project folders.
 Where do you think Programs created
using Brick Program and Brick Datalog
app are stored?
 Tab 3 Brick Apps
 Port View – Find Motor Degrees for B
motor. What do you think this shows
you? How can you reset to 0?
 Tab 4 Settings
 Volume *Turn the sound off. Turn the
NXT sound up.
EV3 Activity
Write and run a program that uses the sound block
Move Steering Forward/Reverse
Activity: Drive Forward –
360 degrees or more! Guided Lesson!
*Annotating a Program
Large Motor
-1WheelTurn
1. Set motor
rotation to
degrees
2. Set speed and
direction
(positive and
neg #’s)
3. Set # of
degrees motor
should rotate
Activity: Drive Forward and Backward
1. Drive Forward MORE– double what you did earlier (use
1 block) - *Name and SAVE File
2. Drive Forward and change speed: (Fast and slow) (use
2 blocks)- *Name and SAVE File
3. Drive Forward and Backward (at least 2 blocks) * Name
and SAVE File
Desired Outcome: Write and save 3 separate files with
different file names.
Activity: Dancing Robot
Write a program with the following parameters:
•
•
•
•
Minimum of 10 Programming Blocks
Robot changes directions at least 4 times
Robot changes speed at least 4 times
Motor Duration : Use Time, Rotations and Degrees
Lunch Break
11:45-12:30
Debbie, the presenter, will be available during lunch to discuss the FLL game
board, set-up, rules and changes to the 2014 Challenge.
The official FLL Websites
Start at the Official FIRST FLL websites
All documents
released on
Sept.2nd at 12pm.
http://www.usfirst.org/roboticsprograms/fll
http://www.firstlegoleague.org/challenge/2014fllworldclass
Read about the 2014 FLL Challenge
•Rules
•Missions
•Field Setup
•Project
•FLL forums: http://forums.usfirst.org/
PRINT OUT A COPY
of all these
documents - you will
need them often!
Roles and Responsibilities
INTERNAL FLL Website: http://www.baltimorecityschools.org/FLL
This is a page of helpful links
There is a calendar for the entire year
The only date that might change is the Regional Qualifier since that depends on States
which isn’t scheduled yet
INTERNAL FLL Distribution List: [email protected]
This email address will send an email to every FLL Robotics coach in the system
You can use this to ask each other for help or to share resources and ideas
If you reply to an email sent to this address it will send the reply to everyone on the list
AU Requirements
•
Register and pay for Team Registration and Field Kit
• (FIRST and LEGO Education)
•
Host 3 hours of practice per week
•
Compete with team at scrimmage and qualifier
•
Co-coaches eligible if they meet all requirements
Robotics WORKS
• One Day per Month
• Led by FLL Coach
• Which day works best?
Timeline
8-12 Weeks for a Rookie
Team
• Build Field Kit
• Build Basic Robot with 3
motors
• Introduction to
Programming
• Go over Missions
• Go Over Game Rules
• Identify 1st 1-3 missions to
work on
• Program 1-3 missions
• Project
• Understand Project
• Brainstorm Ideas
• Research Problems
• Research Innovative Solution
• Plan and execute a CREATIVE
Presentation
Q&A with Veteran Coaches
Activity: Using the View Screen to measure
distance in degrees!
Programming Tips
•Saving programs by saving versions
•Programming Tips
• Keep It Simple, Silly (KISS)
• Program in small steps
TAAF
Third Motor-Attachments
Robot Education: Building Instructions
Open: Medium motor – Driving Base
Build 3rd Motor attachment if
you haven’t already done so.
Program the 3rd Motor (in degrees) to
move the arm up and down.
Hint: Use the MEDIUM MOTOR Block
Activity: Complete a Mission
10 Points – Ball is not touching black ring
20 Points – Ball is in Base
30 Points – Ball and LEGO MiniFig is in Red
Target
•
•
•
•
Program Planning Sheet
Set standard starting location
Use the Sensor View degrees feature
TAAF
Robot Enhancements – images from “Winning
Design” book by J. Trobaugh
Types of attachments
Nonmotorized/Passive
Motorized
•Pushing
•Grab
•
Bumper
•
Trap
•
Plow
•
Claw
•
Delivery Box
•
Vise Grip
•Hooking
•Lift
•
Simple hook
•
Lever
•
Fish hook
•
Forklift
•
Carabineer, fork
•Dumping
•Collecting
•
One-way box
•
Sweeper
Simple Pusher Design
Simple Plow Design – “Snow Plow”
Robot Manipulator Design – Motors optional
•Fork and Hook Attachments
•Can be combined with power
assist
•to lift or sweep
Object Trap
•Box opens only inward
•Captures objects to
return to base
Carbineer arm
•Passive Clip
Open/Close
• Spring or band
tensioned
• Principle can be used
for grabbers etc.
•Powered arm to
raise/lower
Lifting Hook Attachment
•Vertical pivot from
attached motor
•Similar design
could pivot
horizontally as a
grabber
Forklift attachment
Uses worm gear, resists being
back-driven
•Gearing is often used
in powered attachments
•Can provide extra torque
or slower motion
•Simultaneous motion
•Can redirect angle of
motion
Other Great Websites
www.techbrick.com
www.nxtprograms.com
http://www.stemcentric.com/
ev3-tutorial
Search for FLL teams –
many teams put up great
websites.
What does a WIN look like?
“What does a Win Look Like?
• All students able to write a
basic EV3 or NXT-G
program
• All student able to launch a
program on the robot
• All students able to build a
useful attachment or robot
with LEGO Elements
• Attending a Qualifier
event!
• Competing in all 3
categories
.
Attend a Qualifier Event!
NO MATTER what your children are
‘scoring’ during the robot game –
attend a qualifier tournament.
It’s all about the CELBRATION of
the season, not how well you can
score!
The robot score at the table
is a tiny piece of the overall
FIRST LEGO League
experience.
Q&A
Evaluation Form
Acknowledgments
www.syraweb.org – Designing for FLL with LEGO –
Hints and Tips - Powerpoint
Winning Design! LEGO Mindstorm NXT by James
Trobaugh
- attachment photos
The many kids who have ‘coached’ me along my
journey as an FLL coach.