APRIL SMITH'S S.T.E.M. CLASS
  • HOME
  • STEM LABS
    • KINDERGARTEN STEM LABS
    • 1st GRADE STEM LABS
    • 2nd GRADE STEM LABS
    • 3rd GRADE STEM LABS
    • 4th GRADE STEM LABS
    • 5th GRADE STEM LABS
  • DATA BASES
    • DEBATE TOPICS DATABASE
    • AMERICAN BIOGRAPHIES
    • AMERICAN REVOLUTION
    • NON-FICTION RESEARCH
    • Animals
    • BIOMES
    • Native American Portal
    • NATIONAL PARKS
    • ALABAMA OUTDOORS
  • PARENT RESOURCES
    • LOGGING K - 1st INTO SCHOOLOGY
    • LOGGING 2nd - 5th GRADERS INTO SCHOOLOGY
    • HOW TO TAKE PICTURES ON A CHROMEBOOK
    • HOW TO HAND IN ASSIGNMENTS
  • CONTACT ME
  • U.S. History Teachers
    • HISTORY RESOURCES
  • NEXT TOP FIRM
    • LESSON 1: INTRODUCTION TO THE NEXT TOP FIRM
    • LESSON 2: UNDERSTANDING CLIENTS' WANTS & NEEDS
    • LESSON 3: INTERVIEWING YOUR CLIENT
    • LESSON 4: MARKETING PLAN
    • LESSON 5: DESIGNING A LOGO
    • LESSON 6: BRAND RECOGNITION
  • FUN LAB
  • STEM CHOICE BOARD

CODING INNOVATIONS

LESSON 5:  THE LED MATRIX 

Picture

TODAY'S MISSION

Picture
  • I can use the “Step” feature to debug a program.
  • I can assign ​data​ to a variable.​
  • I can use variables ​to make code more efficient.
  • I can convert between seconds and milliseconds.

ACTIVITY 1:  WHAT DO YOU KNOW ABOUT IT?

Accounting and Discussion Forum 
DO THIS ACTIVITY AS SOON AS YOU ARRIVE TO CLASS.  DO NOT WAIT FOR OTHERS TO ARRIVE!
BELLRINGER #1
  • Glue in your weekly paychecks and account balances.
  • See me if you have any questions about paychecks or account balances.
  • The classroom economy card from last week, is in your buckets.  Take a look at the market prices.
  • Check your buckets for any weekly mail.

BELLRINGER #2
Click on the Google Classroom Icon to the right to go to our class discussion forum.  Answer the Lesson 5 question in the discussion forum.  The question you will answer is below.  
You have done block based coding in Code.Org.  What do you remember about the Step button?  What did it do?  What did you use it for when you coded in Code.Org?
Picture

​ACTIVITY 2:  GET READY FOR IT

Preparing Your Journal
Create a Lesson 5 page in your Innovations Journal.  See the example below.  As we go through the activities today, make notes of anything you find interesting or things that you learned.
Picture
TERMS TO KNOW
LED:  Light Emitting Diode
A an electronic component packaged in a clear case so the light they emit can shine out

Debugging:  the process of understanding what the computer is actually doing, so you can change the code to do what you want it to do

Peripheral devices:  parts of the computer that you touch, see, and hear

Input devices:  ​peripherals that bring information into the CPU  

Output devices: ​peripherals that send information out of the computer
Picture
Read All Directions
Read this whole paragraph before taking any action!
Today you will begin real coding in Python!  But before we get started, we need to talk about some things that will help you.
  • Create a new folder in your Google Drive and name it CodeSpace.
  • Each time you start a new program, create a new file and name it the same title as the CodeSpace Activity. If you don’t, you will lose all your previous work!
  • Don't rush through.  It is important that you understand each step because you will continuously apply what you learned in previous lessons to new lessons.
  • Don't be afraid to test your ideas just to see what happens.  Many times the best learning comes from mistakes we made.
  • Collect all the Tools you find!  All tools have a green wrench icon.
  • Read the directions.  Actually read every word you see.  The directions really do help you.  I know directions are usually invisible to preteens, but If you like, I will wave the magic preteen wand in front of your screen so that the directions appear. 
  • Don't give up.  Be persistent.  You've Got This!
Picture

ACTIVITY 3:  DO IT

CodeSpace 2.1 - Display Games
Picture
Read this whole paragraph before taking any action!
​After you read these directions, open up CodeSpace, by clicking on the CodeBot Icon to the right.  
  • Read all the information on the 2.1 Display Games Page.
  • Connect your Micro:bit to your Chromebook with the USB Cord.
  • Type in the code to make a square appear in the LED Matrix.
  • Run the Program.  If you see a square in the matrix display, raise your hand for a teacher to check it. 
  • After the teacher checks it, you will toggle back here and read the directions for CodeSpace 2.2 - Two In a Row. 


CodeSpace 2.2 - Two In A Row
Read this whole paragraph before taking any action!
​After you read these directions, toggle back to CodeSpace
  • Read all the information on the 2.2 - Two In a Row Page.
  • Type in the code to for 2 sequential images to appear in the LED Matrix.
  • Run the Program. 
  • Answer the Test Your Knowledge Question.
  • Run your program.
  • Go on to 2.3.  You do not have to wait on a teacher.

CodeSpace 2.3 - What's Going On?
Read this whole paragraph before taking any action!
​After you read these directions, toggle back to CodeSpace
  • Read all the information on the 2.3 - What's Going On?
  • Type in the new code to for 2 sequential images to appear in the LED Matrix.
  • Run the Program. 
  • Answer the Test Your Knowledge Question.
  • Run your program.  If you see a both images displayed in sequence,  raise your hand for a teacher to check it. 
  • After the teacher checks it, you will toggle back here and read the directions for CodeSpace 2.4 - Step By Step Images.

CodeSpace 2.4 - Step By Step Images
Read this whole paragraph before taking any action!
After you read these directions, toggle back to CodeSpace
  • Read Inside the Mind of a Computer on the 2.4 Step By Step Images Page.
  • Watch the video.
  • Run the Program. 
  • Look at the examples.
  • Go on to 2.5.  You do not have to wait on a teacher.​

CodeSpace 2.5 - Step To It
Read this whole paragraph before taking any action!
After you read these directions, toggle back to CodeSpace
  • Read the 2.5 Step To It Page.
  • Do the activity according to the directions.
  • If you do not see the images as you step through the code, raise your hand for a teacher to help you.
  • If you see the images as you step through the code, go on to 2.6.  You do not have to wait on a teacher.​

CodeSpace 2.6 - Slow It Down
Read this whole paragraph before taking any action!
After you read these directions, toggle back to CodeSpace
  • Read the 2.6 Slow It Down Page.
  • Do the activity according to the directions.
  • When you see the images in your micro:bit LED Matrix, raise your hand for a teacher to check it.
  • After the teacher checks it, you will toggle back here and go to the Activity 5 section below.


ACTIVITY 5:  YOU DID IT!

Let's think about all that you have learned today.   Write your reflections of today's lesson in your Innovations Journals.  
  • Describe at least one thing you learned today.
  • Discuss something that you liked about today's lesson.
  • Name one thing that you need explained because you did not fully understand.
​

MISSION ACCOMPLISHED

Picture
  • I can use the “Step” feature to debug a program.
  • I can assign ​data​ to a variable.​
  • I can use variables ​to make code more efficient.
  • I can convert between seconds and milliseconds.

  • HOME
  • STEM LABS
    • KINDERGARTEN STEM LABS
    • 1st GRADE STEM LABS
    • 2nd GRADE STEM LABS
    • 3rd GRADE STEM LABS
    • 4th GRADE STEM LABS
    • 5th GRADE STEM LABS
  • DATA BASES
    • DEBATE TOPICS DATABASE
    • AMERICAN BIOGRAPHIES
    • AMERICAN REVOLUTION
    • NON-FICTION RESEARCH
    • Animals
    • BIOMES
    • Native American Portal
    • NATIONAL PARKS
    • ALABAMA OUTDOORS
  • PARENT RESOURCES
    • LOGGING K - 1st INTO SCHOOLOGY
    • LOGGING 2nd - 5th GRADERS INTO SCHOOLOGY
    • HOW TO TAKE PICTURES ON A CHROMEBOOK
    • HOW TO HAND IN ASSIGNMENTS
  • CONTACT ME
  • U.S. History Teachers
    • HISTORY RESOURCES
  • NEXT TOP FIRM
    • LESSON 1: INTRODUCTION TO THE NEXT TOP FIRM
    • LESSON 2: UNDERSTANDING CLIENTS' WANTS & NEEDS
    • LESSON 3: INTERVIEWING YOUR CLIENT
    • LESSON 4: MARKETING PLAN
    • LESSON 5: DESIGNING A LOGO
    • LESSON 6: BRAND RECOGNITION
  • FUN LAB
  • STEM CHOICE BOARD