pxt-microbit 7.1.44 → 7.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/block-tests.js +1 -1
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.js +1 -1
- package/built/targetlight.json +1 -1
- package/built/theme.json +1 -1
- package/built/web/blockly.css +1 -1
- package/built/web/react-common-authcode.css +1 -1
- package/built/web/react-common-multiplayer.css +1 -1
- package/built/web/react-common-skillmap.css +1 -1
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlreact-common-authcode.css +1 -1
- package/built/web/rtlreact-common-multiplayer.css +1 -1
- package/built/web/rtlreact-common-skillmap.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/docs/blocks/loops.md +1 -1
- package/docs/courses/csintro/SUMMARY.md +8 -0
- package/docs/courses/csintro/about.md +1 -1
- package/docs/courses/csintro/accelerometer.md +32 -0
- package/docs/courses/csintro/algorithms.md +5 -6
- package/docs/courses/csintro/arrays.md +3 -3
- package/docs/courses/csintro/binary.md +5 -6
- package/docs/courses/csintro/booleans.md +8 -7
- package/docs/courses/csintro/conditionals.md +5 -7
- package/docs/courses/csintro/coordinates.md +7 -9
- package/docs/courses/csintro/finalproject.md +2 -2
- package/docs/courses/csintro/introduction.md +27 -28
- package/docs/courses/csintro/iteration.md +6 -7
- package/docs/courses/csintro/making.md +4 -7
- package/docs/courses/csintro/miniproject.md +4 -6
- package/docs/courses/csintro/radio.md +6 -6
- package/docs/courses/csintro/variables.md +5 -6
- package/docs/courses/csintro.md +6 -5
- package/docs/extensions/extension-gallery.md +8 -0
- package/docs/reference/pins.md +1 -1
- package/docs/tours/editor-tour.md +12 -0
- package/package.json +2 -2
- package/pxtarget.json +2 -1
- package/targetconfig.json +2 -0
package/docs/blocks/loops.md
CHANGED
|
@@ -107,6 +107,14 @@
|
|
|
107
107
|
* [Project](/courses/csintro/radio/project)
|
|
108
108
|
* [Standards](/courses/csintro/radio/standards)
|
|
109
109
|
|
|
110
|
+
## [Accelerometer](/courses/csintro/accelerometer)
|
|
111
|
+
|
|
112
|
+
* [Accelerometer](/courses/csintro/accelerometer)
|
|
113
|
+
* [Overview](/courses/csintro/accelerometer)
|
|
114
|
+
* [Activity](/courses/csintro/accelerometer)
|
|
115
|
+
* [Project](/courses/csintro/accelerometer)
|
|
116
|
+
* [Standards](/courses/csintro/accelerometer)
|
|
117
|
+
|
|
110
118
|
## Arrays
|
|
111
119
|
|
|
112
120
|
* [Arrays](/courses/csintro/arrays)
|
|
@@ -7,4 +7,4 @@ You can follow him on Twitter at [@dkiang](http://twitter.com/dkiang).
|
|
|
7
7
|
|
|
8
8
|

|
|
9
9
|
|
|
10
|
-
Mary Kiang has been teaching for over twenty-five years at elementary, middle, and high school levels. She also developed curriculum in the Education Department of the Museum of Science in Boston. She currently teaches 6th grade Math/Science at Punahou School. Mary is a former programmer for Houghton Mifflin and Dun & Bradstreet and holds a Master’s degree in Elementary Education from Simmons College. Mary is the founder of GO Code!, an organization that supports girls and young women in exploring coding and STEM.
|
|
10
|
+
Mary Kiang has been teaching for over twenty-five years at elementary, middle, and high school levels. She also developed curriculum in the Education Department of the Museum of Science in Boston. She currently teaches 6th grade Math/Science at Punahou School. Mary is a former programmer for Houghton Mifflin and Dun & Bradstreet and holds a Master’s degree in Elementary Education from Simmons College. Mary is the founder of GO Code!, an organization that supports girls and young women in exploring coding and STEM.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Accelerometer
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
This unit introduces the accelerometer functionality of the micro:bit. Even if one is unfamiliar with the word “accelerometer,” most people are aware of the function. The micro:bit accelerometer measures how the micro:bit is positioned and moving through space. The unplugged activity has the students sense their own body’s way of knowing its position and movement through space. The birdhouse activity leads the students to use the micro:bit’s accelerometer capabilities to create a program that reminds them to stand up every so often. This unit’s project is to create a “multi-tool” that uses a combination of different sensors using the accelerometer to solve a problem or serve a purpose.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Lesson objectives
|
|
9
|
+
|
|
10
|
+
You will...
|
|
11
|
+
|
|
12
|
+
* Understand how to use the Accelerometer blocks to sense the micro:bit’s position and movement in three-dimensional space
|
|
13
|
+
* Understand the x, y, z axes and measurement of gravitational force
|
|
14
|
+
* Apply the above knowledge and skills to design a unique program using the accelerometer
|
|
15
|
+
|
|
16
|
+
## Lesson structure
|
|
17
|
+
|
|
18
|
+
* Introduction: Understanding the Accelerometer
|
|
19
|
+
* micro:bit Activity: Marco Polo & Morse Code
|
|
20
|
+
* Project: Radio
|
|
21
|
+
* Assessment: Rubric
|
|
22
|
+
* Standards: Listed
|
|
23
|
+
|
|
24
|
+
## Lesson plan
|
|
25
|
+
|
|
26
|
+
1. [**Overview**: Understanding the Accelerometer](/courses/csintro/accelerometer/overview)
|
|
27
|
+
2. [**Activity**: Stand for Health](/courses/csintro/accelerometer/activity)
|
|
28
|
+
3. [**Project**: Accelerometer project](/courses/csintro/accelerometer/project)
|
|
29
|
+
|
|
30
|
+
## Related standards
|
|
31
|
+
|
|
32
|
+
[Targeted CSTA standards](/courses/csintro/accelerometer/standards)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Algorithms
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This unit introduces the four main components that make up a computer and the concept of **input** and **output** as it relates to programming the micro:bit. The coding activity starts with an explanation of pseudocode that leads to working with events and event handlers to program your micro:bit to make faces. The project incorporates all the new learning from this unit as you create your own fidget cube that responds to different inputs.
|
|
4
4
|
|
|
5
5
|
## Lesson objectives
|
|
6
|
-
|
|
6
|
+
You will...
|
|
7
7
|
|
|
8
|
-
* Understand the four components that make up a computer
|
|
8
|
+
* Understand the functions of the four components that make up a computer.
|
|
9
9
|
* Understand that the micro:bit takes input, and after processing the input, produces output.
|
|
10
10
|
* Learn the variety of different types of information the micro:bit takes in as input.
|
|
11
11
|
* Apply this knowledge by creating a micro:bit program that takes input and produces an output.
|
|
@@ -13,9 +13,8 @@ Students will...
|
|
|
13
13
|
## Lesson plan
|
|
14
14
|
|
|
15
15
|
1. [**Overview**: What is a computer and micro:bit hardware](/courses/csintro/algorithms/overview)
|
|
16
|
-
2. [**
|
|
17
|
-
3. [**
|
|
18
|
-
4. [**Project**: Fidget cube](/courses/csintro/algorithms/project)
|
|
16
|
+
2. [**Activity**: Happy face, sad face](/courses/csintro/algorithms/activity)
|
|
17
|
+
3. [**Project**: Fidget cube](/courses/csintro/algorithms/project)
|
|
19
18
|
|
|
20
19
|
## Related standards
|
|
21
20
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
This lesson introduces the fundamental concept of storing and retrieving data in an ordered fashion using Arrays. We'll also look at JavaScript as an alternate way of creating and modifying code. We'll look at the structure of a Melody as a list of notes.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
|
-
|
|
8
|
+
You will...
|
|
9
9
|
* Explain the steps they would take to sort a series of numbers.
|
|
10
10
|
* Recognize three common sorting algorithms.
|
|
11
11
|
* Practice creating Arrays.
|
|
@@ -15,7 +15,7 @@ Students will...
|
|
|
15
15
|
|
|
16
16
|
## Lesson structure
|
|
17
17
|
* Introduction: Arrays
|
|
18
|
-
* Unplugged Activity: Different sorts
|
|
18
|
+
* Unplugged Activity: Different sorts
|
|
19
19
|
* micro:bit Activity: Headband charades, Starry Starry Night
|
|
20
20
|
* Project: Make a musical instrument
|
|
21
21
|
* Assessment: Rubric
|
|
@@ -24,7 +24,7 @@ Students will...
|
|
|
24
24
|
## Lesson plan
|
|
25
25
|
|
|
26
26
|
1. [**Overview**: Arrays](/courses/csintro/arrays/overview)
|
|
27
|
-
2. [**Unplugged**: Different sorts
|
|
27
|
+
2. [**Unplugged**: Different sorts](/courses/csintro/arrays/unplugged)
|
|
28
28
|
3. [**Activity**: Headband charades](/courses/csintro/arrays/activity)
|
|
29
29
|
4. [**Project**: Musical instrument ](/courses/csintro/arrays/project)
|
|
30
30
|
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This lesson presents the concept of binary digits and base-2 notation.
|
|
5
|
+
This lesson presents the concept of binary digits and base-2 notation. You will learn how data is stored digitally and how it can be read and accessed.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
You will...
|
|
10
|
+
|
|
10
11
|
* Understand what bits and bytes are and how they relate to computers and the way information is processed and stored.
|
|
11
12
|
* Learn to count in Base-2 (binary) and translate numbers from Base-10 (decimal) to binary and decimal.
|
|
12
13
|
* Apply the above knowledge and skills to create a unique program that uses binary counting as an integral part of the program.
|
|
@@ -14,7 +15,6 @@ Students will...
|
|
|
14
15
|
## Lesson structure
|
|
15
16
|
|
|
16
17
|
* Introduction: Bits and Bytes
|
|
17
|
-
* Unplugged Activity: Binary Vending Machine
|
|
18
18
|
* micro:bit Activity: Binary Transmogrifier
|
|
19
19
|
* Project: Make a Binary Cash Register
|
|
20
20
|
* Assessment: Rubric
|
|
@@ -23,9 +23,8 @@ Students will...
|
|
|
23
23
|
## Lesson plan
|
|
24
24
|
|
|
25
25
|
1. [**Overview**: Bits, bytes, binary](/courses/csintro/binary/overview)
|
|
26
|
-
2. [**
|
|
27
|
-
3. [**
|
|
28
|
-
4. [**Project**: Make binary a cash register](/courses/csintro/binary/project)
|
|
26
|
+
2. [**Activity**: Binary transmogrifier](/courses/csintro/binary/activity)
|
|
27
|
+
3. [**Project**: Make binary a cash register](/courses/csintro/binary/project)
|
|
29
28
|
|
|
30
29
|
## Related standards
|
|
31
30
|
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This unit introduces the use of the **Boolean** data type to control the flow of a program, keep track of the status of the program, and to include or exclude certain conditions. In an unplugged activity, you will write pseudocode to simulate two coins being tossed at the same time. In the coding activity, you'll take the pseudocode from the unplugged activity and use it to code your micro:bit. In the project, you'll code your own unique program using Booleans and other blocks that you've explored and learned in the previous units.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* Learn how to
|
|
12
|
-
*
|
|
13
|
-
|
|
8
|
+
You will...
|
|
9
|
+
|
|
10
|
+
* Understand what Booleans and Boolean operators are, and why and when to use them in a program.
|
|
11
|
+
* Learn how to create a Boolean, set the boolean to an initial value, and change the value of the boolean within a micro:bit program.
|
|
12
|
+
* Learn how to use the random **true** or **false** block.
|
|
13
|
+
* Apply the above knowledge and skills to create a unique program that uses Booleans and Boolean operators as an integral part of the program.
|
|
14
|
+
|
|
14
15
|
## Lesson structure
|
|
15
16
|
* Introduction: Booleans in daily life
|
|
16
17
|
* Unplugged Activity: Two Heads are Better Than One
|
|
@@ -2,23 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This
|
|
6
|
-
Students practice skills of creativity, problem-solving, and collaboration.
|
|
5
|
+
This unit introduces the Logic blocks, such as ‘If…then’ and ‘If…then…else’. You will learn what **conditional** statements are, and why and when to use them in a program, practicing skills of creativity, problem solving, and collaboration in the process. You will code a game of “Rock, paper, scissors” with the micro:bit via the programmable buttons and the LED screen. In the final project, you'll be designing, building, and coding your own unique micro:bit-based board game using conditionals.
|
|
7
6
|
|
|
8
7
|
## Lesson objectives
|
|
9
|
-
|
|
8
|
+
You will...
|
|
10
9
|
|
|
11
10
|
* Understand what conditional statements are, and why and when to use them in a program.
|
|
12
11
|
* Learn how to use the Logic blocks 'If...then' and 'If…then...else'.
|
|
13
12
|
* Practice using the Logic blocks so different conditions yield specified outcomes.
|
|
14
|
-
* Demonstrate understanding and apply skill by
|
|
13
|
+
* Demonstrate understanding and apply skill by creating a game that uses a micro:bit and a program that correctly and effectively uses conditionals.
|
|
15
14
|
|
|
16
15
|
## Lesson plan
|
|
17
16
|
|
|
18
17
|
1. [**Overview**: Conditional statements](/courses/csintro/conditionals/overview)
|
|
19
|
-
2. [**
|
|
20
|
-
3. [**
|
|
21
|
-
4. [**Project**: Board game](/courses/csintro/conditionals/project)
|
|
18
|
+
2. [**Activity**: Rock, paper, scissors](/courses/csintro/conditionals/activity)
|
|
19
|
+
3. [**Project**: Board game](/courses/csintro/conditionals/project)
|
|
22
20
|
|
|
23
21
|
## Related standards
|
|
24
22
|
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This lesson introduces the use of coordinates to store data or the results of mathematical operations. It
|
|
5
|
+
This lesson introduces the use of coordinates to store data or the results of mathematical operations. It provides practice programming for the LEDs of the micro:bit screen using coordinates, and introduces the basic game blocks of MakeCode.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
You will...
|
|
10
|
+
|
|
10
11
|
* Understand that the 5 x 5 grid of LEDs on the micro:bit represents a coordinate grid with the origin (0,0) in the top left corner.
|
|
11
|
-
* Understand that the values of the x
|
|
12
|
-
* Understand that the values of the y
|
|
12
|
+
* Understand that the values of the x-coordinates range from 0 through 4 and increase from left to right.
|
|
13
|
+
* Understand that the values of the y-coordinates range from 0 through 4 and increase from top to bottom.
|
|
13
14
|
* Learn how to refer to an individual LED by its **X** and **Y** coordinates.
|
|
14
15
|
* Learn how to plot (turn on) and unplot (turn off) individual LEDs and how to toggle between these two states.
|
|
15
16
|
* Learn how to check the current on or off status of an individual LED as well as check and set the brightness level.
|
|
@@ -18,18 +19,15 @@ Students will...
|
|
|
18
19
|
## Lesson structure
|
|
19
20
|
|
|
20
21
|
* Introduction: Coordinate Grid
|
|
21
|
-
* Unplugged Activity: Battleship
|
|
22
22
|
* micro:bit Activities: Animation and Patterns
|
|
23
23
|
* Project: Screensaver or Game
|
|
24
|
-
* Assessment: Rubric
|
|
25
24
|
* Standards: Listed
|
|
26
25
|
|
|
27
26
|
## Lesson plan
|
|
28
27
|
|
|
29
28
|
1. [**Overview**: Coordinate grid and LEDs](/courses/csintro/coordinates/overview)
|
|
30
|
-
2. [**
|
|
31
|
-
3. [**
|
|
32
|
-
4. [**Project**: Screensaver or game](/courses/csintro/coordinates/project)
|
|
29
|
+
2. [**Activity**: Animation and patterns](/courses/csintro/coordinates/activity)
|
|
30
|
+
3. [**Project**: Screensaver or game](/courses/csintro/coordinates/project)
|
|
33
31
|
|
|
34
32
|
## Related standards
|
|
35
33
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
In this unit, we will be reviewing the concepts we covered in the previous weeks, and providing some ideas for an independent final project that
|
|
5
|
+
In this unit, we will be reviewing the concepts we covered in the previous weeks, and providing some ideas for an independent final project that you can focus on in the next several weeks. We will also provide a rubric for keeping yourself on task and tracking your learning as you work on your project. This is an expanded version of the process you followed in the [Mini-Project](/courses/csintro/miniproject), in Lesson 6.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
You now have the opportunity to create an independent project that demonstrates the use of something you have already learned, something you went out and researched for yourself, something you borrowed from somewhere else (with citations) and something completely original. You'll also keep a journal about what you are learning over the next couple of weeks. The final project is a great way to
|
|
8
8
|
|
|
9
9
|
## Lesson plan
|
|
10
10
|
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
# Introduction
|
|
2
2
|
|
|
3
|
-
When we first started teaching computer science, we
|
|
4
|
-
|
|
5
|
-
We decided to focus on what knowing how to program allowed you to do and create. Ultimately all programs are created to solve a problem or serve a purpose. The problem may be local or global, the purpose may be anything from helping doctors treat patients to pure entertainment. By starting with interesting problems the students wanted to solve, they were much more engaged in learning to code. They saw coding skills as an important part of building creative solutions.
|
|
3
|
+
When we first started teaching computer science, we noticed something interesting. Most of the beginner courses were focused on math problems or creating geometric shapes, and it was mostly boys signing up. That made us wonder: what if we could teach programming in a way that was more exciting and fun for everyone?
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
So, we changed things up! Instead of just focusing on the math, we decided to show what programming can help you create. After all, coding is all about solving problems and making things that matter. You could use it to help doctors treat patients, make games that entertain people, or tackle big issues around the world. When our students got to work on problems they cared about, they were way more interested in learning to code. They saw programming as a super cool tool for building their own creative solutions.
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
And guess what? It worked! We started seeing more girls joining the class, along with boys who brought different interests and ideas. Everyone got to collaborate more, which made the class even better because each student brought something unique to the table.
|
|
8
|
+
|
|
9
|
+
Now, about a third of the students in our computer science classes are girls, and the best part? They’re not just learning how to code—they’re learning how to think like real developers. From brainstorming ideas to building prototypes, our students are creating things that really make a difference. And that’s what this course is all about!
|
|
10
10
|
|
|
11
11
|
> _- Authors Mary Kiang and Douglas Kiang_
|
|
12
12
|
|
|
13
13
|
## Course Introduction
|
|
14
|
-
|
|
14
|
+
Get ready for an awesome introduction to coding and computer science through hands-on making and design! You’ll be using the micro:bit
|
|
15
|
+
microcontroller board, along with Microsoft’s MakeCode, a block-based coding tool that's both easy to use and super powerful.
|
|
16
|
+
|
|
17
|
+
In this course, you’ll be working on projects where you actually build things—real, physical objects! The idea is that by creating something you can hold in your hands, you’ll naturally learn important coding and computer science concepts. It’s all about learning by doing, and we can’t wait to see what you create!
|
|
15
18
|
|
|
16
19
|

|
|
17
20
|
|
|
18
21
|
* micro:bits may be purchased from these resellers:
|
|
19
22
|
|
|
20
|
-
> http://microbit.org/resellers (you will need 1 micro:bit
|
|
23
|
+
> http://microbit.org/resellers (you will need at least 1 micro:bit for this course). The "micro:bit Go Kit" includes a battery pack and USB cable as well.
|
|
21
24
|
|
|
22
25
|
* Other optional suggested micro:bit accessories include:
|
|
23
26
|
|
|
@@ -30,13 +33,13 @@ This is an introduction to coding and computer science by way of making and desi
|
|
|
30
33
|
|
|
31
34
|
* MakeCode for the micro:bit is a free web app: https://makecode.microbit.org
|
|
32
35
|
|
|
33
|
-
Copper tape is inexpensive and super useful in all sorts of maker activities so it’s worth it to
|
|
36
|
+
Copper tape is inexpensive and super useful in all sorts of maker activities so it’s worth it to get a roll to keep on hand for micro:bit projects. We use it in [Lesson 9 (Binary Cash Register)](/courses/csintro/binary/project). You can purchase copper tape from vendors such as Adafruit and Sparkfun.
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
By the time you finish this course, you'll have a solid understanding of key computer science concepts that will set you up for future learning. Plus, you'll build awesome design skills that can be used in all sorts of future projects, whether you’re creating 3D-printed prototypes or developing apps that solve real-world problems.
|
|
36
39
|
|
|
37
|
-
This course is
|
|
40
|
+
This course is designed for students in grades 6-8 (ages 11-14). It is designed for people who might not have a background in Computer Science or even teachers who are teaching an "Intro to Computer Science" class for the first time. So, everyone can jump in and learn together!
|
|
38
41
|
|
|
39
|
-
|
|
42
|
+
The course takes about 14 weeks to finish, if you are working on it for a few hours a week. You’ll spend roughly one week on each of the first 11 lessons, and then you’ll need about three weeks to work on an exciting final project. But of course you can always adjust the timeline to fit your needs. This course is flexible and designed to work for you!
|
|
40
43
|
|
|
41
44
|
## Overall Course Scope & Sequence:
|
|
42
45
|
|
|
@@ -51,37 +54,33 @@ This course takes approximately 14 weeks to complete, spending about 1 week on e
|
|
|
51
54
|
9. [Bits, bytes, and binary](/courses/csintro/binary)
|
|
52
55
|
10. [Radio](/courses/csintro/radio)
|
|
53
56
|
11. [Arrays](/courses/csintro/arrays)
|
|
54
|
-
12. [
|
|
57
|
+
12. [Accelerometer](/courses/csintro/accelerometer)
|
|
58
|
+
13. [Independent final project](/courses/csintro/finalproject)
|
|
55
59
|
|
|
56
|
-
Each
|
|
60
|
+
Each lesson is made up of the following parts:
|
|
57
61
|
|
|
58
62
|
* Topic Introduction
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* Project
|
|
62
|
-
*
|
|
63
|
-
* Assessment ̶- A project rubric and guidance for grading the project.
|
|
64
|
-
* Standards ̶ -A list of [CSTA K-12 Computer Science Standards](https://www.csteachers.org/?page=CSTA_Standards) and/or concepts covered by this lesson.
|
|
63
|
+
* micro:bit Activity (45-60 min) An activity that everyone makes on their micro:bit that teaches the skills learned in this lesson.
|
|
64
|
+
* Project (60-120 min) A prompt for an original project that you can create to practice the skills and concepts covered in this lesson.
|
|
65
|
+
* Project Mods: Examples of additional things you can do to extend the project
|
|
66
|
+
* Standards: A list of [CSTA K-12 Computer Science Standards](https://www.csteachers.org/?page=CSTA_Standards) and/or concepts covered by this lesson.
|
|
65
67
|
|
|
66
68
|
### Topic introduction
|
|
67
69
|
|
|
68
|
-
The introduction to each lesson will tell you what learning objectives are covered in the lesson, and presents an overview of that lesson's topic.
|
|
69
|
-
|
|
70
|
-
### Unplugged activity (30 min)
|
|
71
|
-
Each lesson starts with an unplugged activity, which doesn't require a computer or a micro:bit. It's a chance to get students up and moving around, and is designed to be a fun introduction to the computer science concept covered in that lesson. Unplugged activities are an important way to demonstrate new concepts in a tangible, often kinesthetic, way. Since so many computer-based topics are abstract, unplugged activities are very effective at fostering understanding that students will then demonstrate in later activities.
|
|
70
|
+
The introduction to each lesson will tell you what learning objectives are covered in the lesson, and presents an overview of that lesson's topic.
|
|
72
71
|
|
|
73
72
|
### micro:bit activity (45–60 min)
|
|
74
|
-
Each lesson
|
|
73
|
+
Each lesson contains a micro:bit activity, which is an example that walks you step-by-step through building a project that demonstrates that lesson's topic. By the time you finish the activity, you will have written code that you can use in a different project of their own design.
|
|
75
74
|
|
|
76
|
-
|
|
75
|
+
You can always challenge yourself by modifying, or "modding" the activity to do something different. We have provided examples and suggestions at the end of many of these activities, and feel free to come up with your own!
|
|
77
76
|
|
|
78
77
|
### Project (60–120 min)
|
|
79
|
-
After
|
|
78
|
+
After the demonstration activity, it is time to challenge yourself to use those same skills to create something that is creative and original. This is where the real learning takes place because instead of following step by step instructions, you will prove to yourself that you can use those skills in a new way to create something that is personal and unique.
|
|
80
79
|
|
|
81
80
|
There are also a series of Project Mods that students can do to extend the project they have created. These are useful for students who already have some experience with coding or who want an extra challenge.
|
|
82
81
|
|
|
83
|
-
###
|
|
84
|
-
|
|
82
|
+
### Journal
|
|
83
|
+
From time to time we will ask you to write down your reflections in a journal. Keeping a personal journal is a powerful tool! It helps you track your progress, organize your thoughts, and see how much you've grown over time. By writing down what you learned from each activity and project, you’ll deepen your understanding and notice patterns in your problem-solving process. Plus, it’s a great way to celebrate your successes and identify areas for improvement, making you a more thoughtful and confident learner!
|
|
85
84
|
|
|
86
85
|
### Standards
|
|
87
86
|
Where applicable, we have mapped each of the lessons to the [Computer Science Teachers Association (CSTA) K-12 Standards](https://www.csteachers.org/?page=CSTA_Standards), which are US nationally recognized standards for computer science education.
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This unit introduces the concept of iteration—or ways to make things repeat. In MakeCode, this is accomplished with loop blocks. You will learn to code with three types of loop blocks as well as sprite and music blocks. In the project, you'll code your own unique program using loops, variables, and other blocks you've explored and learned. You'll design and build an object that uses sound, display, and motion in some way. To incorporate sound and motion, additional materials such as micro-servo motors (a small motor) and crocodile clips are recommended for Lessons B and C.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
You will...
|
|
10
|
+
|
|
10
11
|
* Understand the value of iteration in programming
|
|
11
12
|
* Understand looping as a form of iteration
|
|
12
13
|
* Learn how and when to use the Looping blocks ‘repeat’, ‘while’, and ‘for’
|
|
@@ -15,19 +16,17 @@ Students will...
|
|
|
15
16
|
## Lesson structure
|
|
16
17
|
|
|
17
18
|
* Introduction: Lather. Rinse. Repeat.
|
|
18
|
-
* Unplugged Activity: Walk a Square pseudocode
|
|
19
19
|
* micro:bit Activities: Code a sprite to walk a Square, travelling light, micro:bit alarm!
|
|
20
20
|
* Project: Get Loopy!
|
|
21
21
|
* Project Mods: Use servo motors to add a motion element to the project
|
|
22
|
-
*
|
|
22
|
+
* Reflection: Write a short journal entry
|
|
23
23
|
* Standards: Listed
|
|
24
24
|
|
|
25
25
|
## Lesson plan
|
|
26
26
|
|
|
27
27
|
1. [**Overview**: Iteration and looping](/courses/csintro/iteration/overview)
|
|
28
|
-
2. [**
|
|
29
|
-
3. [**
|
|
30
|
-
4. [**Project**: Get loopy](/courses/csintro/iteration/project)
|
|
28
|
+
2. [**Activity**: Loops demos](/courses/csintro/iteration/activity)
|
|
29
|
+
3. [**Project**: Get loopy](/courses/csintro/iteration/project)
|
|
31
30
|
|
|
32
31
|
## Related standards
|
|
33
32
|
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
# Making with micro:bit
|
|
2
2
|
|
|
3
|
-
This
|
|
4
|
-
generally must be supported and incorporated as an essential component of a tangible artifact. Focus
|
|
5
|
-
on incorporating the physical micro:bit into a basic making activity.
|
|
3
|
+
This lesson introduces the design thinking process as a way to design something that meets someone else's needs. By focusing on building the micro:bit into a pysical object, you'll gain experience in working with a piece of hardware that has a specific size and weight, and that needs to be supported and held securely.
|
|
6
4
|
|
|
7
5
|

|
|
8
6
|
|
|
9
7
|
## Lesson objectives
|
|
10
|
-
|
|
8
|
+
You will...
|
|
11
9
|
|
|
12
10
|
* Exercise creativity and resourcefulness by coming up with ideas for using simple household materials to accommodate the micro:bit’s size and weight in many different ways.
|
|
13
|
-
* Test and iterate using different materials and sizes in order to create an optimal design to house the micro:bit and battery pack
|
|
11
|
+
* Test and iterate using different materials and sizes in order to create an optimal design to house the micro:bit and battery pack.
|
|
14
12
|
* Learn how to download programs and move them to the micro:bit file to run on the micro:bit.
|
|
15
13
|
* Use the design thinking process to develop an understanding for a problem or user need.
|
|
16
|
-
* Apply
|
|
14
|
+
* Apply your understanding in a creative way by making a “micro:pet” creature.
|
|
17
15
|
|
|
18
16
|
## Lesson plan
|
|
19
17
|
|
|
20
18
|
* [**Introduction**: The micro:bit is for making](/courses/csintro/making/introduction)
|
|
21
|
-
* [**Unplugged**: Design Thinking](/courses/csintro/making/unplugged)
|
|
22
19
|
* [**Activity**: MakeCode download](/courses/csintro/making/activity)
|
|
23
20
|
* [**Project**: micro:pet (including mods and rubric)](/courses/csintro/making/project)
|
|
24
21
|
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
In this unit, we
|
|
5
|
+
In this unit, we’re going to review the stuff we’ve covered over the past few weeks, and give you some ideas for an independent “mini-project” that you’ll work on in the next few sessions. We’ll also show you a framework to help you stay on track with your work and give you some structure to guide your progress.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
It also reinforces the important idea that how you solve problems is at least as important to learning as whether you solved them at all (or even got the right answer). Programming is a process of patient problem-solving, and finding ways to value, acknowledge, and reward the problem-solving process is an important part of assessment.
|
|
7
|
+
This project is designed to remind you that how you solve problems is just as important as getting the right answer. Programming is all about being patient and working through challenges, and it's really important to recognize and reward the effort and thinking you put into solving problems—not just whether you got it right!
|
|
10
8
|
|
|
11
9
|
## Lesson plan
|
|
12
10
|
|
|
13
11
|
1. [**Review**: Looking back at what we've learned so far](/courses/csintro/miniproject/review)
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
2. [**Project**: Mini-project](/courses/csintro/miniproject/project)
|
|
13
|
+
3. [**Activity**: Collaboratively Independent (Tips for teachers)](/courses/csintro/miniproject/activity)
|
|
16
14
|
|
|
17
15
|
## Related standards
|
|
18
16
|
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This lesson covers the use of more than one micro:bit to share and combine data.
|
|
5
|
+
This lesson covers the use of more than one micro:bit to share and combine data. You will send and receive numbers and strings in a series of guided activities, then create a project that makes use of the micro:bit's powerful Radio blocks.
|
|
6
|
+
|
|
7
|
+
**Please note that this lesson is centered around the micro:bit's communication capabilities, so testing the code in this lesson will require two micro:bits.**
|
|
6
8
|
|
|
7
9
|
## Lesson objectives
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
You will...
|
|
10
12
|
* Understand how to use the Radio blocks to send and receive data between micro:bits
|
|
11
13
|
* Understand the specific types of data that can be sent over the Radio
|
|
12
14
|
|
|
13
15
|
## Lesson structure
|
|
14
16
|
|
|
15
17
|
* Introduction: Radio & communication
|
|
16
|
-
* Unplugged Activity: Infection simulation
|
|
17
18
|
* micro:bit Activity: Marco Polo & Morse Code
|
|
18
19
|
* Project: Radio
|
|
19
20
|
* Assessment: Rubric
|
|
@@ -22,9 +23,8 @@ Students will...
|
|
|
22
23
|
## Lesson plan
|
|
23
24
|
|
|
24
25
|
1. [**Overview**: Radio and communications](/courses/csintro/radio/overview)
|
|
25
|
-
2. [**
|
|
26
|
-
3. [**
|
|
27
|
-
4. [**Project**: Radio project](/courses/csintro/radio/project)
|
|
26
|
+
2. [**Activity**: Marco Polo and Morse code](/courses/csintro/radio/activity)
|
|
27
|
+
3. [**Project**: Radio project](/courses/csintro/radio/project)
|
|
28
28
|
|
|
29
29
|
## Related standards
|
|
30
30
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This unit introduces the use of variables to store information. You will practice giving variables unique and meaningful names, and use basic mathematical operations for adding, subtracting, multiplying, and dividing variable values. You'll code a program for the micro:bit that keeps and displays the score of a game of *Rock, Paper Scissors* by using the programmable buttons for input and the LED screen for output. In the final project, you'll code your own unique program using variables, and design and build an object that uses the micro:bit to track score, count steps, turns, or something else.
|
|
6
6
|
|
|
7
7
|
## Lesson Objectives
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
You will...
|
|
10
10
|
|
|
11
11
|
* Understand what variables are and why and when to use them in a program.
|
|
12
12
|
* Learn how to create a variable, set the variable to an initial value, and change the value of the variable within a micro:bit program.
|
|
@@ -19,10 +19,9 @@ Students will...
|
|
|
19
19
|
## Lesson plan
|
|
20
20
|
|
|
21
21
|
1. [**Overview**: Variables in Daily Life](/courses/csintro/variables/overview)
|
|
22
|
-
2. [**
|
|
23
|
-
3. [**
|
|
24
|
-
4. [**Project**: Everything Counts](/courses/csintro/variables/project)
|
|
22
|
+
2. [**Activity**: Make a Game Scorekeeper](/courses/csintro/variables/activity)
|
|
23
|
+
3. [**Project**: Everything Counts](/courses/csintro/variables/project)
|
|
25
24
|
|
|
26
25
|
## Related standards
|
|
27
26
|
|
|
28
|
-
[Targeted CSTA standards](/courses/csintro/variables/standards)
|
|
27
|
+
[Targeted CSTA standards](/courses/csintro/variables/standards)
|
package/docs/courses/csintro.md
CHANGED
|
@@ -48,14 +48,15 @@ Each of the 12 lessons is structured in this format:
|
|
|
48
48
|
### Lessons
|
|
49
49
|
|
|
50
50
|
1. [Making](/courses/csintro/making)
|
|
51
|
-
2. [Algorithms](/courses/csintro/algorithms)
|
|
52
|
-
3. [Variables](/courses/csintro/variables)
|
|
51
|
+
2. [Algorithms](/courses/csintro/algorithms)
|
|
52
|
+
3. [Variables](/courses/csintro/variables)
|
|
53
53
|
4. [Conditionals](/courses/csintro/conditionals)
|
|
54
|
-
5. [Iteration](/courses/csintro/iteration)
|
|
54
|
+
5. [Iteration](/courses/csintro/iteration)
|
|
55
55
|
6. [Review/Mini-Project](/courses/csintro/miniproject)
|
|
56
56
|
7. [Coordinate grid system](/courses/csintro/coordinates)
|
|
57
57
|
8. [Booleans](/courses/csintro/booleans)
|
|
58
58
|
9. [Bits, bytes, and binary](/courses/csintro/binary)
|
|
59
59
|
10. [Radio](/courses/csintro/radio)
|
|
60
|
-
11. [
|
|
61
|
-
12. [
|
|
60
|
+
11. [Accelerometer](/courses/csintro/accelerometer)
|
|
61
|
+
12. [Arrays](/courses/csintro/arrays)
|
|
62
|
+
13. [Independent final project](/courses/csintro/finalproject)
|
|
@@ -334,6 +334,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
334
334
|
|
|
335
335
|
```codecard
|
|
336
336
|
[{
|
|
337
|
+
"name": "Smarthon IoT:bit",
|
|
338
|
+
"url":"/pkg/SMARTHON/pxt-iot-bit",
|
|
339
|
+
"cardType": "package"
|
|
340
|
+
}, {
|
|
337
341
|
"name": "DFRobot IoT Cloud Kit",
|
|
338
342
|
"url":"/pkg/DFRobot/pxt-DFRobot_IoT_Cloud_Kit",
|
|
339
343
|
"cardType": "package"
|
|
@@ -384,6 +388,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
384
388
|
|
|
385
389
|
```codecard
|
|
386
390
|
[{
|
|
391
|
+
"name": "FWD Edu Smart Solder Kit",
|
|
392
|
+
"url": "/pkg/Forward-Education/pxt-solder-3b3l",
|
|
393
|
+
"cardType": "package"
|
|
394
|
+
}, {
|
|
387
395
|
"name": "FWD Edu Smart Solar Kit",
|
|
388
396
|
"url": "/pkg/Forward-Education/pxt-solar",
|
|
389
397
|
"cardType": "package"
|