FIRST LEGO League Challenge Programming: Difference between revisions
BruceSchafer (talk | contribs) (→Learning Resources: Embedded a video) |
BruceSchafer (talk | contribs) (→Videos for coaches: Added link to document on backing up or transferirng projects on a Chromebook) |
||
Line 185: | Line 185: | ||
}} | }} | ||
====Videos for | ====Videos for Coaches==== | ||
* [[Programming Using Scratch-based Languages]] | * [[Programming Using Scratch-based Languages]] | ||
* [[Videos on SPIKE Prime Sensors]] | * [[Videos on SPIKE Prime Sensors]] | ||
====Information Specific to Particular Computers==== | |||
* [https://docs.google.com/document/d/1lHtSBsNQf29wjWiAfHolDJEGbdCJ_hqlLDRDlhIvN2w/edit?usp=sharing Backing Up or Restoring Project Files on a ChromeBook] | |||
=== External Resources === | === External Resources === |
Revision as of 23:46, 2 November 2021
There are several ways of programming FIRST LEGO League Challenge Robots. The two most popular are EV3-G, which is also referred to as EV3 Lab, and a new language created by LEGO Education based on Scratch. The latter language was originally introduced with the SPIKE Prime set when it debuted in 2019. A version of this Scratch-based language called EV3 Classroom is now also available for programming EV3 robots on Apple Mac computers.
General
- Programming a Robot from Anywhere in the World. Information on how a team can program their robot when they can't get together in person.
- Programming Skills Quick Guide A PDF file with a series of brief guides on programming techniques with examples for both EV3 Lab and SPIKE Prime Word Blocks.
- Alternate Programming Languages For FLL A comparison table of the variety of languages that can be used to program FLL Challenge robots
Mindstorms EV3 Software
Mindstorms EV3 Lab Software
Mindstorms EV3 Lab also known as EV3-G was the main programming language provided by LEGO Education for the MINDSTORMS EV3 sets until fall 2020. EV3 Lab is graphical programming language where programming blocks are arranged horizontally. It is quite different from traditional programming languages.
Introductory Exercises
- Becoming Familiar with Your EV3
- Lab 1 – Getting Your EV3 To Move and Respond to Its Environment
- Lab 2 – Using a Color Sensor
- Lab 3 – Your Color Sensor Final Exam
- Lab 4 – Putting it All Together
- Appendix A - More Things You Will Need to Know about the EV3 Programming System
Wiki Articles
External Resources
Software
Documentation
Video Tutorials
- STEM Robotics
- Catlin Gable School
- Tufts University
Focused Tutorials
- Gyro Programming from EV3Lessons.com
- Line Following from EV3Lessons.com
Play Lists
Mindstorms EV3 Classroom (Scratch)
Mindstorms EV3 Classroom is a graphical programming language for the Mindstorms EV3 sets. It became the standard software for the EV3 Set for those running PCs with the 64-bit version of Windows 10, Chromebooks and Macs using macOS Catalina 10.15 in the fall of 2020. The Mac version also works with macOS Mojave 10.14. Those with earlier operating systems should continue to use EV3 Lab.
EV3 Classroom is based on an educational language called Scratch and is quite similar to Word Blocks, the graphical language provided by LEGO Education for its SPIKE Prime set. LEGO Education has also announced that EV3 Classroom will become available for and Chromebooks.
Videos
External Resources
- EV3 Classroom software from LEGO Education Use this link to find EV3 Classroom for
- Windows 10 computers (Version 1803 or newer)
- Mac computers with macOS 10.14 (Mohave) or 10.15 (Catalina)
- Chromebooks (Android 7.0 or newer)
- Android tables (Android 7.0 or newer)
- Fire tablets (Android 4.2 or newer)
- iPads (iOS 11 or newer)
- To install the EV3 Classroom on a Chromebook use the Chromebook Play Store app and search for EV3 Classroom. If you get a "No app running" error when you start the software, go back to Play Store and search for Webview by Google and click on Update.
- Reference Document from LEGO Education
- Calculating rotations for EV3 movement
- Color Sensor Programming from EV3Lessons.com
- Gyro Programming from EV3Lessons.com
- Line Following from EV3Lessons.com
Mindstorms EV3 Python
LEGO Education also provides a version of Python, a line-by-line programming language, for the Mindstorms EV3.
External Resources
- LEGO Education's Python for EV3 page
- Line Following Programs
SPIKE Prime Software
SPIKE Prime Word Blocks (Scratch)
The main programming language for SPIKE Prime is called Word Blocks, which is based on Scratch.
Season-Independent Challenges Using Small Printable Mat
One of the best ways for team members to learn how to program a LEGO robot is to have simple challenges with guidance on how they might solve those challenges. And, these challenges can performed on a 2x3 foot mat, allowing small groups or individuals to learn the skills they'll need for the annual challenge on the full-size mat. With this in mind, ORTOP has developed a set of simple lessons that feature such challenges that are backed up by short videos that give hints on how to solve the challenges. Follow the link above to find out more.
Introductory Exercises for Coaches
- Getting ready to use your SPIKE Prime Kit
- Exercise 1 - Building your first SPIKE Prime robot and teaching it to move
- Exercise 2 - Teaching your robot to drive
- Exercise 3 - Using a Color Sensor
- Exercise 4 - Putting it all together
- Appendix A - Walk through of SPIKE Prime Hub
- Appendix B - Walk through of SPIKE Prime Project Screen for writing programs
Videos
Videos for team members on programming a SPIKE Prime Robot
Episode 1: Introducing Eva the parrot and Eaglet the baby LEGO eagle.
Episode 2: Eva arranges for Eaglet to get a ride home while we learn more about programming turns.
Episode 3: Eaglet finds his lost cat while we learn how to use the built-in gyro to control the robot's turns.
Episode 4: Eaglet brings his lost cat home while we learn how to program an attachment for retrieving cats.
Episode 5: Eaglet's Chariot robot learns how to drive in the middle of the road while we learn how to program a color sensor.
Episode 6: Chariot makes a better turn to Yellow the cat as we use our gyro programming skills.
Episode 7: Chariot stays in the middle of the road while we learn how to use a color sensor to follow the edge of a line.
Episode 8: Chariot uses a motor's built-in rotation sensor to measure distance while it uses line following to stay in the middle of the road.
Episode 9: Chariot visits the Animal Shelter with the help of his Chariot robot programmed using a MyBlock.
Videos for Coaches
Information Specific to Particular Computers
External Resources
Software
Learning Resources
- List of Word Blocks from FIRST
- Lesson Plan Units from LEGO Education Units of Lessons featuring Word Blocks
- Competition Ready
- Training Camp 1 - Driving Around
- Training Camp 2 - Playing with Objects
- Training Camp 3 - Reacting to Lines
- Guided Mission for 2021-22 FIRST LEGO League
- Material from FLL Tutorials relating the Guided Mission
- Code file with comments and relevant videos
- Droid Bot M used in above
- Video on making Guided Mission more reliable
- Competition Ready
- SPIKE Prime Lessons The PrimeLessons.org website with a variety of learning resources
- Unofficial SPIKE Prime Block Guide by PrimeLessons.org Descriptions of each block in the graphical Word Blocks Language.
Focused Tutorials
- Gyro Turn
- Lessons from LegoEducation.com
- Gyro Move Straight
- Lessons from PrimeLessons.com
- Line Following
- Video: Spike Prime Line Following Robot With Instructions & Program
- Lessons from PrimeLessons.com
Play Lists
- LEGO SPIKE Prime Tutorial videos from Creator Academy Australia
- Getting Started with LEGO Education SPIKE Prime Very short videos from LEGO Education
SPIKE Prime Python
Videos on Programming SPIKE Prime Robots Using Python
External Resources
- Prime Lessons
- Python is included with the standard SPIKE Prime software from LEGO Education
- SPIKE Prime Python from LEGO Education
- Video: Getting Started with Python on SPIKE Prime
- Video: Program a FLL Line Following in Python with Spike Prime
- Code for controlling a pair of motors
- Advanced function descriptions