Grade Level: 5 (5-8)
Choose From: 4 lessons and 4 activities
Subject Areas: Computer Science, Science and Technology
SummaryThrough four lesson and four activities, students are introduced to the logic behind programming. Starting with very basic commands, they develop programming skills while they create and test programs using LEGO® MINDSTORMS® robots. Students apply new programming tools—move blocks, wait blocks, loops and switches—in order to better navigate robots through mazes. Through programming challenges, they become familiar with the steps of the engineering design process. The unit is designed to be motivational for student learning, so they view programming as a fun activity. This unit is the third in a series. PowerPoint® presentations, quizzes and worksheets are provided throughout the unit.
We interact with computers and their programs in uncountable ways during our everyday lives. Engineers in all fields use and design computer programs to perform calculations, run simulations, program machines and much more. When you turn on any computer, a program called the "operating system" runs and lets you access the various computer and software features. The computers, tablets and phones that students use contain all sorts of programs and "apps," and it is important for them to understand that people have created them. As computers are increasingly used to tackle all types of problems, learning how to program becomes an essential skill for most engineers—and everyone!
This unit is composed of four lesson/activity pairs designed to introduce students to programming skills using LEGO MINDSTORMS EV3 robots by having them learn and develop programs to control taskbot movements. The unit is the third in a series and follows Humans Are Like Robots (unit 1) and Our Bodies Have Computers and Sensors (unit 2).
Students first gain an understanding of algorithms. Then they are introduced to programming via quick programming using the LEGO intelligent brick (computer). Then they move on to program with move blocks using the LEGO software on a computer. Next, they learn about conditional commands and how to program using sound and touch sensors rather than by specifying exact durations. Eventually, they program LEGO robots using combinations of move blocks, wait blocks, loops and switches. In the final activity, students use Android phones with Bluetooth wireless connections to remotely guide their LEGO robots through a maze.
To help convey the concepts, students occasionally act out maze demos. Students also learn about electrical connections, both wired and wireless, and their pervasiveness in our world. They follow the Morse code rules in order translate a few phrases into Morse code while learning that it is a communication method that takes advantage of on/off states to transmit messages by electrical bursts.
Through assorted programming challenges, students become familiar with the steps of the engineering design process, especially gaining experience with iteration in order to achieve successful programs. While performing fun activities with the EV3 robots, students may not realize that they have learned computer programming in the process. The activities open students' eyes to how similar logic programs are incorporated into the many everyday devices we use.
Throughout this unit, each group of (2-4) students requires all or portions of the following items:
- LEGO MINDSTORMS EV3 robot, such as EV3 Core Set (5003400) at https://education.lego.com/en-us/products/lego-mindstorms-education-ev3-core-set/5003400#lego-mindstorms-education-ev3
- LEGO MINDSTORMS Education EV3 Software 1.2.1, free online, you have to register a LEGO account first; at https://www.lego.com/en-us/mindstorms/downloads/download-software
- computer, loaded with EV3 1.2.1 software
Specific and/or additional required materials are indicated in the individual lessons and activities.
Note: This activity can also be conducted with the older (and no longer sold) LEGO MINDSTORMS NXT set instead of EV3; see below for those supplies:
- LEGO MINDSTORMS NXT Base Set
- computer loaded with the NXT 2.1 software
Each TeachEngineering lesson or activity is correlated to one or more K-12 science,
technology, engineering or math (STEM) educational standards.
All 100,000+ K-12 STEM standards covered in TeachEngineering are collected, maintained and packaged by the Achievement Standards Network (ASN),
a project of D2L (www.achievementstandards.org).
In the ASN, standards are hierarchically structured: first by source; e.g., by state; within source by type; e.g., science or mathematics;
within type by subtype, then by grade, etc.
Each TeachEngineering lesson or activity is correlated to one or more K-12 science, technology, engineering or math (STEM) educational standards.
All 100,000+ K-12 STEM standards covered in TeachEngineering are collected, maintained and packaged by the Achievement Standards Network (ASN), a project of D2L (www.achievementstandards.org).
In the ASN, standards are hierarchically structured: first by source; e.g., by state; within source by type; e.g., science or mathematics; within type by subtype, then by grade, etc.
See individual lessons and activities for standards alignment.
Each lesson and activity is designed to take one or two 50-minute session, for a total of eleven 50-minute sessions for the unit. The suggested order to conduct the lesson/activity sets is shown below:
- Lesson 1: What Is a Program? --> Activity 1: Navigating a Maze
- Lesson 2: How Do You Make a Program Wait? --> Activity 2: Wait Program!
- Lesson 3: How Do You Make Loops and Switches? --> Activity 3: Using Waits, Loops and Switches
- Lesson 4: What Is Bluetooth? --> Activity 4: Remote Control Using Bluetooth
More Curriculum Like This
Using a few blindfolds and a simple taped floor maze exercise, students come to understand that computers rely completely upon instructions given in programs and thus programs must be comprehensive and thorough. Students create and test basic programs, first using just the LEGO intelligent brick, an...
Through the two lessons and five activities in this unit, students' knowledge of sensors and motors is integrated with programming logic as they perform complex tasks using LEGO® MINDSTORMS® robots and software. Through these design challenges, students become familiar with the steps of the engineer...
Through six lesson/activity sets, students learn about the functioning of sensors, both human and robotic. The overall framework reinforces the theme of the human body as a system with sensors—that is, from an engineering perspective.
Students learn about how touch sensors work, while reinforcing their similarities to the human sense of touch. They look at human senses and their electronic imitators, with special focus on the nervous system, skin and touch sensors.
Other Related Information
Show students the inspirational Code.org video titled, "What Most Schools Don't Teach," (5:43-minutes) to learn about a new "superpower" that isn't being taught in 90% of U.S. schools (computer programming!), starring Bill Gates, Mark Zuckerberg, will.i.am, and many other software development and technology leaders. https://www.youtube.com/watch?v=nKIu9yen5nc
Quotations from the short film include: "Everybody in this country should learn how to program a computer because it teaches you how to think," "we all depend on technology... and yet none of us know how to read and write code!" "software is really about humanity—it's about helping people by using computer technology," "great coders are today's rock stars," "the programmers of tomorrow are the wizards of the future — you're gonna look like you have magic powers compared to everybody else," and "it's the closest thing we have to a superpower."
Copyright© 2014 by Regents of the University of Colorado; original © 2013 Curators of the University of Missouri
ContributorsRiaz Helfer, Sachin Nair, Pranit Samarth, Satish S. Nair
Supporting ProgramGK-12 Program, Computational Neurobiology Center, College of Engineering, University of Missouri
This curriculum was developed under National Science Foundation GK-12 grant no. DGE 0440524. However, these contents do not necessarily represent the policies of the National Science Foundation, and you should not assume endorsement by the federal government.
Last modified: October 21, 2021