FIRST LEGO League Challenge Programming: Difference between revisions

From ORTOP Wiki
(→‎Videos: Added Episode 8)
(→‎SPIKE Prime Word Blocks (Scratch): Added Summer Learning Lessons)
Line 119: Line 119:
[[file:SPIKE-Prime Logo.png||thumb||SPIKE Prime Icon]]
[[file:SPIKE-Prime Logo.png||thumb||SPIKE Prime Icon]]
[[file:SPIKEMoveStraightExample.png|400px|thumb||Sample Word Blocks program]]
[[file:SPIKEMoveStraightExample.png|400px|thumb||Sample Word Blocks program]]
The main programming language for SPIKE Prime is called Word Blocks, which is based on Scratch.   
The main programming language for SPIKE Prime is called Word Blocks, which is based on Scratch.
 
=== Season Independent Summer Learning ===
==== Lesson Plans ====
1. [https://docs.google.com/document/d/1C2taqGpNxnL_vF6P7lX-dJJpWdiImrEKGYHs9Dt8-MA/edit?usp=sharing Building mission elements. Discuss main mission: Rescuing Yellow the Cat]
 
2. [https://docs.google.com/document/d/1QwN7k9j1qQ9ot0q5fypg_8QyTafJO43UVC__MK763wo/edit?usp=sharing Review of driving a robot and turning]
 
3. [https://docs.google.com/document/d/14ftVBgSvC8aLryEPDmtteXGon8Heb3t3ytat0WTi_KM/edit?usp=sharing Circles, degrees, gyro sensor]
 
4. [https://docs.google.com/document/d/1THj70f73W82iXwxwOrlb0TfZYY2fqq_Epm_MmhwBnj8/edit?usp=sharing Designing, building, programming an attachment]
 
5. [https://docs.google.com/document/d/1KamIVfBrg-ptvZfuhROSbGzGhNZTl8peqH0hvF7CSL4/edit?usp=sharing Using a color sensor to control the start of a turn.  Concepts: Light, color, light reflection, light sensor]
 
6. [https://docs.google.com/document/d/1P89RMf-fdsNd4lZ6RfLM8Kjt0DnnW3-3GPQ3P0TiM5I/edit?usp=sharing Intermediate use of the gyro sensor. More on circles, degrees, gyro sensor]
 
7. [https://docs.google.com/document/d/1cwIHO8uVEy0Frg8-dyOAYx45BAWaliTcjkvtHLf5nns/edit?usp=sharing Line Following. Feedback, iteration, documenting]
 
8. [https://docs.google.com/document/d/1FntIXieX-gWZYdT7x507J33IvgcEKN0L2Shf-T-pkwg/edit?usp=sharing Measuring Distance. Degrees, converting linear dimensions to angular dimensions]


=== Introductory Exercises ===
=== Introductory Exercises ===

Revision as of 15:05, 14 July 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 for Reliability by Team 8 To Automate from Ohio, USA.

Mindstorms EV3 Software

Mindstorms EV3 Lab Software

EV3 Lab Icon
EV3 Lab Sample Program

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

Wiki Articles

External Resources

Software

Documentation

Video Tutorials

Focused Tutorials

Play Lists

Mindstorms EV3 Classroom (Scratch)

EV3 Classroom Logo
Sample EV3 Classroom Program

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

Mindstorms EV3 Python

LEGO Education also provides a version of Python, a line-by-line programming language, for the Mindstorms EV3.

External Resources

SPIKE Prime Software

SPIKE Prime Word Blocks (Scratch)

SPIKE Prime Icon
Sample Word Blocks program

The main programming language for SPIKE Prime is called Word Blocks, which is based on Scratch.

Season Independent Summer Learning

Lesson Plans

1. Building mission elements. Discuss main mission: Rescuing Yellow the Cat

2. Review of driving a robot and turning

3. Circles, degrees, gyro sensor

4. Designing, building, programming an attachment

5. Using a color sensor to control the start of a turn. Concepts: Light, color, light reflection, light sensor

6. Intermediate use of the gyro sensor. More on circles, degrees, gyro sensor

7. Line Following. Feedback, iteration, documenting

8. Measuring Distance. Degrees, converting linear dimensions to angular dimensions

Introductory Exercises

Videos

  • Videos for team members on programming a SPIKE Robot is new

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.

External Resources

Software

Learning Resources

Focused Tutorials

Play Lists

SPIKE Prime Python

External Resources