
Technology • 45 • 30 students • Created with AI following Aligned with Common Core State Standards
Free PDF · we'll email you a copy
This is lesson 7 of 15 in the unit "Micro:bit Explorers". Lesson Title: On Shake Feature Lesson Description: Learn how to program the Micro:bit to respond to shake movements. Students will create a fun shaking game.
Students learn to program the Micro:bit to react to shake movement and use that behavior to build a “shaking game.” This lesson continues building toward a working event-driven project in the Micro:bit Explorers unit.
0–5 min · Hook + question. Teacher demonstrates a quick Micro:bit shake response (or shows a short demo clip) and asks: “What do you notice happens right after you shake?” Students do a quick think-write: one sentence describing cause and effect they observe.
5–12 min · Mini-lesson: event logic. Teacher explains that shake movement triggers code (event-driven behavior) and shows a starter block example using shake detection and a simple display outcome. Students sketch a 3-box flow: “Shake happens → Micro:bit detects → Display changes.”
12–18 min · Guided build: “Shake to Score.” Teacher distributes a starter template and walks through building the first version: when shake is detected, increase a score variable and show score briefly. Students follow along on their Micro:bit simulators/devices, then test with 3 shakes and record what they see.
18–26 min · Research + plan (quick). Teacher prompts a brief, student-friendly research step: “Find one detail about how shake detection works (for example, sensitivity ideas or recommended ways to test). Then make a game plan.” Students use assigned printed/digital reference cards (no hyperlinks) and fill out a mini-planning sheet with headings: Goal, Rules, Controls, Feedback plus a simple table of “Shake count → Display.”
26–36 min · Independent build: make it a game. Teacher sets requirements:
36–42 min · Pair test + troubleshoot. Teacher models a troubleshooting routine: “Change one thing, test again, note the result.” Students swap Micro:bits or swap roles: Player (shakes and watches) and Builder (tracks results, identifies one fix to try).
42–45 min · Share-out + exit check. Teacher has 2–3 students share one successful feature and one fix they made. Students complete a 1-question exit ticket: “In my game, shaking triggers code that makes ______ happen.”
Join thousands of teachers using Kuraplan AI to create personalized lesson plans that align with Aligned with Common Core State Standards in minutes, not hours.
Created with Kuraplan AI
Generated using openai/gpt-5.4-nano
🌟 Trusted by 1000+ Schools
Join educators across United States