|
| 1 | +--- |
| 2 | +title: An affordable and adaptable educational escape room |
| 3 | +abstract: some abstract here |
| 4 | +--- |
| 5 | + |
| 6 | +# Introduction |
| 7 | +- engaging students difficult |
| 8 | +- gamification, escape rooms |
| 9 | +- solution in education? efforts? |
| 10 | +- challenges: cost, setup time, adaptability |
| 11 | +- here we outline ... |
| 12 | +- use it yourselves, or let your students build one based on this idea: resulting in an entertaining experience and a learning experience in electronics and programming |
| 13 | + |
| 14 | +# Background |
| 15 | +- some info on the educational escape rooms |
| 16 | + |
| 17 | +https://www.instructables.com/id/Escaperoom |
| 18 | + |
| 19 | +# The design |
| 20 | + |
| 21 | +## Outline of the escape room |
| 22 | +- box with buttons and lcd screen |
| 23 | +- puzzles to solve, input codes |
| 24 | +- indication of level of completion |
| 25 | +- hints should be possible, but not by asking teacher |
| 26 | +- timer |
| 27 | +- resistors |
| 28 | +- tea box, size of ... |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +## Materials and setup |
| 33 | + |
| 34 | +The entire setup is designed to be affordable and easy to assemble using commonly available components. |
| 35 | +We used a tea box with dimensions of approximately 20 x 15 x 10 cm as the enclosure for the electronics. |
| 36 | +However, any box of similar size can be used - it might be worthwhile to visit the local second-hand store to find a suitable box. |
| 37 | +We disassembled the lid of the box and used a laser cutter to create holes for the buttons, leds, buzzer, and LCD screen (the source file is included in the supplementary files), see figure {numref}`figure {number} <fig_top>`. |
| 38 | + |
| 39 | +````{figure} |
| 40 | +:label: fig_top |
| 41 | +```{figure} top1.* |
| 42 | +:label: fig_top1 |
| 43 | +
|
| 44 | +Top view of the tea box with holes for buttons, leds, buzzer, and LCD screen. |
| 45 | +``` |
| 46 | +```{figure} top2.* |
| 47 | +:label: fig_top2 |
| 48 | +
|
| 49 | +Top view of the tea box with holes for buttons, leds, buzzer, and LCD screen. |
| 50 | +``` |
| 51 | +```` |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +For this project, we used the Arduino Uno R3 as the main microcontroller. |
| 56 | +It is both affordable, widely available and has enough input and output pins to connect all the necessary components. |
| 57 | + |
| 58 | +We included four 16 mm panel mount push buttons for user input. |
| 59 | +Using a series circuit with resistors, where each button is connected to a different resistor value, we can read the button presses using a single analog input pin on the Arduino, see {numref}`figure {number} <fig_circuit>`. |
| 60 | +This reduces the number of required pins and simplifies the wiring. |
| 61 | +Moreover, this system allows to easily add more buttons if needed. |
| 62 | + |
| 63 | +```{figure} circuit.* |
| 64 | +:label: fig_circuit |
| 65 | +
|
| 66 | +Wiring diagram of the button input circuit using resistors. [circuit](@https://www.circuit-diagram.org/editor/c/5fd81e68c4b84dc39689d8260aeaba49) |
| 67 | +``` |
| 68 | + |
| 69 | +Four green leds are required to indicate the progress of the team (though more leds can be added, optionally using a multiplexer to reduce the number of required pins). |
| 70 | +A red led is used to indicate a wrong code entry, or running out of time. |
| 71 | +A buzzer is used to sound an alarm or, when complete, a victory tune. |
| 72 | + |
| 73 | +In this project we used the internal clock of the Arduino to keep track of time. |
| 74 | +Optionally, a real time clock (RTC) module can be added to keep more accurate time, especially when the device is powered off and on again. |
| 75 | + |
| 76 | +An LCD screen is used to display the timer, hints, and other information to the players. |
| 77 | +We opted for the LCD with integrated I2C module, which reduces the number of required pins to just two (SDA and SCL), and off course power and ground. |
| 78 | + |
| 79 | +Finally, a battery pack and on/off switch are used to power the entire setup, making it portable and easy to set up anywhere. |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | +## Code |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | +# Implementation |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +# Conclusion |
0 commit comments