Skip to content

Commit 5b404c0

Browse files
committed
Add new microbit content from teched Montreal workshop
1 parent 533c5bb commit 5b404c0

File tree

10 files changed

+326
-0
lines changed

10 files changed

+326
-0
lines changed

site/content/exercises/en-US/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ Learn to create colorful designs, animations, and much more using the Python lan
7878

7979
---
8080

81+
### [Microbit](/exercises/en-US/microbit)
82+
83+
**Discover coding with Microbit—create interactive projects and learn programming basics in a fun, hands-on way!**
84+
85+
---
86+
8187
## Get Started Today!
8288

8389
Begin your journey into the world of coding and creativity. Whether you're a beginner or looking to expand your skills, there's a program here for you!
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
order: 1
3+
title: Micro:bit One Day Workshop
4+
category: microbit
5+
---
6+
7+
8+
## Sessions Included:
9+
1. [Introduction to Micro:bit](/exercises/en-US/microbit/level-1)
10+
2. [Basic Programming with Micro:bit](/exercises/en-US/microbit/level-2)
11+
3. [Advanced Programming with Micro:bit](/exercises/en-US/microbit/level-3)
12+
4. [Group Programming Challenge](/exercises/en-US/microbit/level-4)
13+
14+
## Workshop Overview
15+
16+
This workshop introduces students to the micro:bit and how to create interactive programs using the MakeCode platform.
17+
Embark on an exciting journey with the micro:bit! This hands-on workshop guides you through the essentials of coding and electronics, empowering you to create interactive projects using the MakeCode platform. Whether you're a beginner or looking to deepen your skills, you'll explore programming concepts, experiment with sensors and LEDs, and collaborate on creative challenges—all while having fun and building confidence in technology.
18+
19+
### Workshop Details
20+
- **Duration:** 1 day
21+
- **Target Audience:** Grades 6-11
22+
- **Prerequisites:** None
23+
- **Materials Needed:** Micro:bit, computer with internet access, and basic crafting supplies (optional)
24+
- **Learning Objectives:**
25+
- Understand the basics of programming and electronics
26+
- Create interactive projects using the micro:bit
27+
- Collaborate with peers to solve coding challenges
28+
- Develop problem-solving and critical thinking skills
29+
- **Workshop Structure:**
30+
- **Introduction (30 minutes):** Overview of the micro:bit and its features, introduction to MakeCode platform
31+
- **Hands-On Activities (2 hours):** Guided projects using the micro:bit, including LED animations, sensors, and basic programming concepts
32+
- **Group Challenge (1 hour):** Collaborative coding challenge where students work in teams to create a project using the micro:bit
33+
- **Wrap-Up and Reflection (30 minutes):** Share projects, discuss learning outcomes, and reflect on skills developed during the workshop
34+
- **Skills Developed:**
35+
- Programming fundamentals
36+
- Creativity and innovation
37+
- Teamwork and collaboration
38+
- Basic electronics knowledge
39+
- **Key Concepts:**
40+
- Introduction to micro:bit and its features
41+
- Programming with MakeCode
42+
- Using sensors and LEDs
43+
- Problem-solving and critical thinking in coding
44+
- **Resources:**
45+
- [Micro:bit website](https://microbit.org/)
46+
- [MakeCode platform](https://makecode.microbit.org/)
47+
- [Micro:bit documentation](https://microbit.org/guide/)
48+
- [Online coding tutorials and resources](https://www.codecademy.com/learn/learn-python-3)
49+
- [Community forums and support](https://microbit.org/community/)
50+
- **Additional Notes:**
51+
- Encourage students to explore their creativity and think outside the box when designing projects.
52+
- Provide opportunities for students to share their projects and ideas with the class.
53+
- Foster a supportive and inclusive learning environment where all students feel comfortable asking questions and seeking help.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
template: exercise
3+
title: Introduction to Micro:bit
4+
level: 1
5+
exercise: 1
6+
category: microbit
7+
tags: ['microbit']
8+
description: Choose the sample project that most interests you and dig in!
9+
---
10+
11+
### What is a micro:bit?
12+
13+
A small programmable computer designed to teach coding and electronics.
14+
15+
🔗 [What is the micro:bit – Official Intro](https://microbit.org/get-started/what-is-the-microbit/)
16+
17+
### Features
18+
19+
- 5x5 LED Grid
20+
- Buttons A and B
21+
- Light, temperature, and motion sensors
22+
- Pins for external connections
23+
24+
### Setup Steps
25+
26+
🔗 [Video: Getting Started](https://youtu.be/7JNEF01WR4w)
27+
🔗 [BBC micro:bit Guide](https://rpf.io/microbit-intro)
28+
29+
1. Connect your micro:bit to your computer
30+
2. Go to [MakeCode for micro:bit](https://makecode.microbit.org/)
31+
3. Click **New Project**
32+
4. Start coding and run your program
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Microbit - Introduction
3+
category: microbit
4+
level: 1
5+
---
6+
7+
# Microbit - Introduction
8+
9+
### [Lesson 1: Introduction to Microbit](./L1-E1)
10+
Start your coding journey by lighting up pixels and exploring the colorful world of the Microbit! This lesson is designed for beginners and introduces you to the basics of programming, creativity, and interactive technology in a fun, hands-on way.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
template: exercise
3+
title: Basic Programming with Micro:bit
4+
level: 2
5+
exercise: 1
6+
category: microbit
7+
tags: ['microbit']
8+
description: Choose the sample project that most interests you and dig in!
9+
---
10+
11+
Getting Started with MakeCode - MakeCode is a block-based visual programming environment for micro:bit.
12+
13+
🔗 [MakeCode Editor](https://makecode.microbit.org/)
14+
🔗 [MakeCode Beginner Docs](https://makecode.microbit.org/docs)
15+
16+
### First Program: "Hello, World!"
17+
18+
Scroll a message on the micro:bit LED screen.
19+
20+
🔗 [Scroll Your Name – Project](https://makecode.microbit.org/projects/scroll-your-name)
21+
22+
### Other Beginner Projects
23+
24+
### 1. **Flashing Heart Animation** - Make a heart icon flash forever.
25+
26+
🔗 [Flashing Heart – MakeCode Project](https://makecode.microbit.org/projects/flashing-heart)
27+
28+
### 2. **Name Tag** - Display your name or nickname with the press of a button.
29+
30+
🔗 [Name Tag Project](https://makecode.microbit.org/projects/name-tag)
31+
32+
### 3. **Smiley Button** - Press a button to display a smiley face.
33+
34+
🔗 [Button Icons](https://makecode.microbit.org/projects/button-icons)
35+
36+
### 4. **Temperature Display** - Use the built-in temperature sensor to display the current temperature.
37+
38+
🔗 [Temperature Project](https://makecode.microbit.org/projects/thermometer)
39+
40+
## Skills You'll Learn
41+
42+
- Using inputs (buttons)
43+
- Displaying output (LEDs)
44+
- Loops and events
45+
- Basic sensors (temp)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Microbit - Introduction
3+
category: microbit
4+
level: 2
5+
---
6+
7+
# Microbit - Basic Programming
8+
9+
Welcome to Level 2! In this section, you'll explore the fundamentals of programming with the Microbit. You'll use block-based coding to create interactive projects, learn how to control LEDs, respond to button presses, and use built-in sensors. Perfect for beginners ready to take the next step in coding!
10+
11+
### [Lesson 2: Basic Programming Microbit](./L2-E1)
12+
Learn the basics programming with Microbit, lets start coding!
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
template: exercise
3+
title: Advanced Programming
4+
level: 3
5+
exercise: 1
6+
category: microbit
7+
tags: ['microbit']
8+
description: Choose the sample project that most interests you and dig in!
9+
---
10+
11+
### Inputs and Outputs - Work with real-world inputs and outputs.
12+
13+
🔗 [Button Input + Icon Output](https://makecode.microbit.org/projects/button-icons)
14+
🔗 [LED Animation – Flashing Heart](https://makecode.microbit.org/projects/flashing-heart)
15+
16+
---
17+
18+
### Loops - Use forever loops to repeat animations or actions.
19+
20+
🔗 [Forever Loop Examples](https://makecode.microbit.org/#editor)
21+
22+
---
23+
24+
### Conditions (If-Else Logic) - Respond to button presses or sensor values with conditions.
25+
26+
🔗 [Button Press If-Else Example](https://makecode.microbit.org/reference/input/on-button-pressed)
27+
28+
---
29+
30+
### More Advanced Projects
31+
32+
### 1. **Dice Simulator** - Shake the micro:bit to roll a digital dice.
33+
34+
🔗 [Dice Simulator – MakeCode Project](https://makecode.microbit.org/projects/virtual-dice)
35+
36+
### 2. **Thermometer** - Show icons for hot/cold depending on temperature.
37+
38+
🔗 [Temperature – MakeCode Project](https://makecode.microbit.org/reference/input/temperature)
39+
40+
### 3. **Step Counter** - Use accelerometer to track motion and count steps.
41+
42+
🔗 [Step Counter – MakeCode Project](https://makecode.microbit.org/projects/step-counter)
43+
44+
### 4. **Gesture-Based Control** - Detect gestures like tilt, shake, or face up/down.
45+
46+
🔗 [Tilt Alarm Example – MakeCode Project](https://makecode.microbit.org/projects/tilt-alarm)
47+
48+
---
49+
50+
### Tips for Exploring
51+
52+
- Try combining loops with conditions
53+
- Test new blocks in the MakeCode playground
54+
- Read values from `input.acceleration()`, `input.temperature()`, and more
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Microbit - Introduction
3+
category: microbit
4+
level: 3
5+
---
6+
7+
# Microbit - Advanced Programming
8+
9+
### [Lesson 3: Advanced Programming Microbit](./L3-E1)
10+
Take your Microbit skills to the next level! Dive into advanced programming concepts, tackle creative challenges, and unlock the full potential of your Microbit. This lesson empowers you to build interactive projects, experiment with sensors, and develop problem-solving abilities through hands-on coding.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
template: exercise
3+
title: Group Programming Challenge
4+
level: 4
5+
exercise: 1
6+
category: microbit
7+
tags: ['microbit']
8+
description: Choose the sample project that most interests you and dig in!
9+
---
10+
11+
### Objective
12+
13+
Apply your knowledge to build a creative project.
14+
15+
### Group Projects
16+
17+
Collaborate in small teams to build creative and functional micro:bit systems. Below are curated multi-micro:bit or sensor-rich group projects with official links.
18+
19+
---
20+
21+
#### 1. Digital Pet Game
22+
23+
Create a virtual pet that displays needs and emotions. Use buttons to feed/play and keep the pet happy.
24+
25+
🔗 [Digital Pet Project – MakeCode Project](https://makecode.microbit.org/projects/digital-pet)
26+
27+
**Skills Used:**
28+
29+
- Variables
30+
- Button interactions
31+
- LED icons and loops
32+
33+
---
34+
35+
#### 2. Reaction Timer (Multiplayer)
36+
37+
Compete to test reaction speeds! Use two micro:bits with radio to start and stop the timer.
38+
39+
🔗 [Reaction Time Game – MakeCode Project](https://makecode.microbit.org/projects/reaction-time)
40+
41+
**Skills Used:**
42+
43+
- Conditional logic
44+
- Timing events
45+
- Radio communication (multi-device)
46+
47+
---
48+
49+
#### 3. Motion-Triggered Alarm System
50+
51+
Create an anti-theft or locker alarm system that triggers when motion is detected.
52+
53+
🔗 [MakeCode Alarm Project](https://makecode.microbit.org/projects/alarm)
54+
55+
**Skills Used:**
56+
57+
- Accelerometer sensor
58+
- Sound/LED feedback
59+
- Conditional loops
60+
61+
---
62+
63+
#### 4. Message Broadcasting System (Walkie-Talkie Style)
64+
65+
Send text messages between micro:bits using radio. Display them on the LED grid like a mini pager.
66+
67+
🔗 [Radio Messaging (Text Chat) – MakeCode Project](https://learn.microblocks.fun/en/activities/mb-walkie-talkie-en/index.html)
68+
69+
**Skills Used:**
70+
71+
- `radio.sendString()`
72+
- Event listeners
73+
- LED text scrolling
74+
75+
---
76+
77+
#### 5. Rock-Paper-Scissors Game
78+
79+
Shake your micro:bit to play Rock, Paper, or Scissors and compete with friends!
80+
81+
🔗 [Rock Paper Scissors – MakeCode Project](https://makecode.microbit.org/projects/rock-paper-scissors)
82+
🔗 [Microbit.org Guide](https://microbit.org/projects/make-it-code-it/rock-paper-scissors/)
83+
84+
**Skills Used:**
85+
86+
- Random numbers
87+
- Shake gesture detection
88+
- Icon display
89+
90+
### Group Collaboration Tips
91+
92+
- Assign roles: programmer, tester, documenter, presenter
93+
- Plan using pseudocode or flowcharts
94+
- Test each component before combining
95+
- Present: show the final project and explain contributions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Microbit - Introduction
3+
category: microbit
4+
level: 4
5+
---
6+
# Microbit - Group Programming Challenge
7+
8+
### [Lesson 4: Group Programming Challenge](./L4-E1)
9+
Collaborate with your peers to solve creative coding challenges using the Microbit! This lesson focuses on teamwork, communication, and advanced problem-solving as you design and build interactive projects together. Strengthen your programming skills while learning how to work effectively in a group setting.

0 commit comments

Comments
 (0)