← Series HomeWorkshop 1Workshop 2View Slides β†’
🌐
No hardware needed today. Everything runs in the MakeCode online simulator β€” which automatically shows two simulated micro:bits the moment you use a radio block, so we can build a full IoT system in a browser tab. Your BBC micro:bit V2 kit ships AFTER the session once you complete both surveys and submit a draft IoT lesson β€” the same .hex files you build today will flash straight to the real device.
Facilitator-led (~30 min) You're doing (~150 min) Breaks (30 min)
8:30
Opening15 min
Simulator Check + Icebreaker + Pre-Survey
Open makecode.microbit.org in a browser tab. Click "New Project" and drop a show string "hi" block into on start. Watch the simulator on the left scroll "hi" β€” that's your micro:bit, in your browser, no cables required. Drop one radio.send number block in and watch a second simulator appear. That's the IoT we're building today. Then complete the pre-survey.
β†’ Open MakeCode Simulator β†’ Open Pre-Survey
8:45
You DoContextualize15 min
CRAFT Orientation + IoT as a Two-Device Conversation
Quick CRAFT intro (C→R→A→F→T). Every IoT system — smart farms, weather stations, wearables, traffic sensors — is a conversation between two roles: sensor nodes that read the world and broadcast, and aggregator nodes that listen, aggregate, and decide/display. In the shared doc: Name a real-world two-node scenario from a topic you teach. (Soil-moisture sensors in a garden → irrigation controller. Pedometers on students → class activity dashboard. Pressure plates on a bridge model → load display.) Star your favorite from someone else.
β†’ Open Shared Doc
9:00
ListenReframe15 min
Poll + Physical Computing Lives in the Browser Too
Poll: "To teach IoT I need…" (a) a class set of micro:bits, (b) a 1:1 cart, (c) a maker lab, (d) any laptop with a browser. Then the reframe: the MakeCode simulator is a fully-functional micro:bit β€” every sensor, every button, every radio message. Drop in a radio block β†’ it spawns a second simulator. You just built a two-device IoT network in a browser tab. The same .hex flashes to real hardware when your kit arrives. LLMs write the code; the skill is knowing what to ask for and how to verify.
9:15
You DoReframe15 min
Breakout: Teaching Hardware Without Hardware
In small groups: What's the #1 barrier to IoT/physical computing in your building? (Budget? Shipping lead time? Devices breaking? Students absent on "hardware day"? Your own comfort?) Brainstorm one way a simulator-first approach addresses that barrier β€” and what you'd lose vs. hardware-first. Post the trade-off in the shared doc. Share out.
9:30
Break15 min
Break #1
Stretch. Confirm the MakeCode simulator is loaded and you can see at least one simulated micro:bit. Questions? Drop them in the chat β€” TAs will respond.
9:45
You DoAssemble30 min
Server Room Guardian
Watch a live build of a temperature sensor node and aggregator node in MakeCode β€” sensor broadcasts the temperature on radio group 7 every 2 seconds, aggregator receives and displays it, and your hand over the sensor proves the whole thing works. The key move here is using an LLM to generate the code, then toggling between Blocks and JavaScript to understand what it produced, pasting in suggestions, and learning how to prompt your way past what it gets wrong. Then you're on your own β€” swap the temperature sensor for light, acceleration, sound, or compass, build your own sensor/aggregator pair, and save two .hex files ready to flash to real hardware.
β†’ Open MakeCode Simulator
10:15
You DoAssemble30 min
Enhancements + Brainstorm
Watch two upgrades get added live: a liveness ping where the aggregator periodically sends PING, the sensor replies ACK, and a dead node warning fires if silence runs too long β€” then the MakeCode Data panel gets wired up so incoming readings plot as a live graph instead of just scrolling on the LED. After the demo, brainstorm new applications as a group: what becomes possible when your nodes talk back, and when you can see trends instead of just numbers? Then open build time β€” use the LLM to take your earlier pair further, whether that's adding thresholds, alerts, bidirectional commands, or a cleaner aggregation strategy. Document what you prompted, what it got right, and what you had to fix.
10:45
Break15 min
Break #2 β€” Show & Tell
Screenshot your paired simulators doing something interesting (sender on left, aggregator on right) and drop it in the chat. Brag a little.
11:00
You DoAssemble30 min
Level Up: Choose Your Track
Track A: Multi-Sensor MeshAdd a second Sensor Node by opening your Sensor project in a second browser tab (MakeCode only pairs two simulators per tab β€” but tabs on the same origin share the radio channel). Each sender includes an ID (radio.sendValue("id", 1) vs "id", 2). Update the Aggregator to track per-sender averages and flag senders that drop offline.
Track B: MicroPython PortPort the Sensor Node and Aggregator Node to MicroPython at python.microbit.org. Ask an LLM: "Port this MakeCode radio.sendNumber loop to MicroPython for micro:bit." Run both in the MicroPython simulator and verify the messages still flow.
β†’ Open MicroPython Simulator (Track B)
11:30
You DoFortify15 min
Experiment: Verify Your Simulated Data (and Preview the Hardware Surprise)
Try it: (1) Drag the simulator's temperature slider to extremes β€” does your Aggregator's average respond? (2) Change the Sensor's radio group β€” confirm the Aggregator falls silent. (3) Break the sender by removing radio set group β€” watch the failure mode. Apply Check the Machine: Task β†’ Before (what I expected) β†’ After (what I got) β†’ Takeaway. Preview for when your kit arrives: the simulator's temperature is idealized; a real micro:bit's temperature sensor reads the CPU die, which runs 3–8Β°C hotter than ambient air. That's a real calibration problem β€” a perfect Fortify hook for your students on day one with hardware.
11:45
Transfer + CloseTransfer15 min
Build Your Two-Node IoT Lesson + Pair-Share + Post-Survey + Kit Unlock
Quick CRAFT debrief β€” how the three workshops connect: AI co-pilot (#1) + verification (#2) + physical-computing-in-a-browser (#3) = your integrated STEM toolkit. Open the IoT lesson template and draft a two-node lesson for YOUR classroom: what does the Sensor Node sense? What does the Aggregator Node do with the stream? Which students hold which role? NGSS standard? Student-facing Check the Machine prompt? Pair-share: "What's the first two-node lesson you'll run?" Then complete the post-survey and drop your draft lesson in the shared doc. Both surveys done + lesson submitted = your BBC micro:bit V2 kit ships this week. You just built a two-node IoT system in a browser, with AI as your co-pilot, and verified it like an engineer. Your students can do this too β€” even in schools with zero hardware budget.
β†’ IoT Lesson Template β†’ Open Post-Survey