Lesson plan

Build a networked escape room lesson plan

Three Unos on nRF24L01 radios run a three-room escape game: addresses, acks, retries, state sync, hints and resets from a game master panel.

3 chapters, 6 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Puzzles that know their answers, and the packets that carry the news.
  • A panel that knows every room, sends hints and puts it all back.
  • Rooms in order, a clock, and an escape worth sharing.

Materials for the whole unit

  • 2.4 GHz radio, nRF24L01+ x 3
  • Addressable RGB LEDs
  • Arduino Uno R3 x 3
  • Keypad, 4x4
  • Reed switch
  • RFID reader, MFRC522

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h

Nodes and messages

Puzzles that know their answers, and the packets that carry the news.

LessonTimeWhat students do
Puzzle nodesMeet the network: a game master and two puzzle nodes, a keypad code in the Lab, a key card in the Vault and a hidden magnet in the Study.60 min
  1. Three boards, one game
  2. A wrong code
  3. The right code
  4. The wrong key card
  5. The book on the shelf
Messages between nodesEight bytes on the air: addresses, a message format of your own, hardware acks, retries on top, and message numbers that catch repeats.60 min
  1. Eight bytes
  2. Addresses
  3. The ack
  4. Nobody home
  5. Delivered at last

Materials

  • 2.4 GHz radio, nRF24L01+ x 3
  • Addressable RGB LEDs
  • Arduino Uno R3 x 3
  • Keypad, 4x4
  • Reed switch
  • RFID reader, MFRC522

Check for understanding

Each student finishes "Messages between nodes" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Delivered at last".

Chapter 2. About 2 h 45 min

The game master

A panel that knows every room, sends hints and puts it all back.

LessonTimeWhat students do
A game master panelA table of what the game master believes about every room, lights that show it, and a ping that makes the belief match the truth.60 min
  1. The panel
  2. What it does not know
  3. Ask them
  4. News arrives by itself
  5. Lock a room
HintsSend hints across the network to the right room, count them, and make each one a little more direct than the last.60 min
  1. A nudge
  2. A bigger nudge
  3. The right address
  4. One node, two rooms
  5. Keep score
ResetsPut every room back for the next group with one command, check every node acknowledged it, and confirm with a ping.45 min
  1. After a game
  2. One command
  3. The node does it
  4. Check it

Materials

  • 2.4 GHz radio, nRF24L01+ x 3
  • Addressable RGB LEDs
  • Arduino Uno R3 x 3
  • Keypad, 4x4
  • Reed switch
  • RFID reader, MFRC522

Check for understanding

Each student finishes "Resets" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Check it".

Chapter 3. About 1 h 20 min

A three-room game

Rooms in order, a clock, and an escape worth sharing.

LessonTimeWhat students do
Project: a three-room gameThe whole game: rooms that unlock in order, a 60-minute clock, hints that cost time, and an escape time at the end.80 min
  1. The game master
  2. Start the clock
  3. Not yet
  4. The Lab first
  5. Then the Vault
  6. Out
  7. Make it yours

Materials

  • 2.4 GHz radio, nRF24L01+ x 3
  • Addressable RGB LEDs
  • Arduino Uno R3 x 3
  • Keypad, 4x4
  • Reed switch
  • RFID reader, MFRC522

Check for understanding

Each student finishes "Project: a three-room game" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".

Your class

Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.