Escape Room Decoder Box
Escape Rooms are awesomely fun activities which are highly engaging and great for teamwork.
Have you ever thought about creating your own Escape Room? Well with this decoder box you can be well on your way! Even better have you thought about using escape rooms in education? We have and students love using them to learn, revise and engage with the material.
This escape room decoder has the following features:
- 3 Rounds of codes with arbitrary length (1-8 digits)
- Configurable count-down timer
- Automated clue delivery (every 5 minutes)
- Configurable wrong-answer penalties
- In-game sound effects
Supplies
To complete this project you will need the following parts:
Hardware:
- 4x Bolt M3 25mm
- 3x Bolt M3 14mm
- 4x Bolt M3 6mm
- 4x M3 Standoff 6mm
- 5x Lock Nut M3
- 4x Knurled Nut M3
- 3AAA Battery holder with leads
- Key Switch
- Dupont 2-way crimp connector (for battery holder)
- 9x Jumper Wires (F-F) 20cm
Electronics:
- 1x 10K Trimpot
- 1x Arduino Nano
- Speaker
- LCD Screen
- Keypad
- PCB
- 2x 7Way Single IDC Header
- 1x 7Way Dual IDC Header
Fabricated Parts (3D Printed/Laser Cut):
- 3D Printed Enclosure
- 3D Printed Keypad Bracket
- 3D Printed or lasercut LCD bracket
- 3D Printed or lasercut faceplate
Preparing the Decoder Box
The enclosure for this project is 3D printed so you will need access to 3D printing facilities or will need to purchase a kit.
After the enclosure is 3D printed the knurled nuts will need to be inserted into each of the screwholes. These nuts allow screws to be easily tightened and loosened multiple times (the 3D print would wear out too quickly).
To insert the nuts use a soldering iron and apply gentle pressure to the knurled nut. As the nut heats up it will melt and embed itself in the plastic as shown in the pictures.
Soldering the Modules
The keypad, LCD and Arduino Nano all need to have headers soldered onto them.
Ensure you solder the headers onto the correct side of the board as shown in the photographs.
Attaching the Keypad and Key Switch
Using the 3D printed keypad bracket use 3x 14mm M3 Screws with locknuts to affix the keypad to the fascia.
Trim the end of some jumpers and solder the jumper wires onto the key switch and mount the keyswitch on the fascia as shown in the diagram.
PCB
Its time to solder the PCB - but we can't do it all at once.
The following order is suggested:
- Solder standoff headers (for power and keypad)
- Solder trimpot
- Solder buzzer
- Solder Arduino Nano ensuring that it is soldered the correct way around
LCD Screen
Use the 25mm screws, the LCD standoff and the M3 standoffs to attach the LCD screen to the fascia
Slowly lower the PCB onto the back of the LCD screen. Solder the LCD in place and attach a some nuts to ensure that it doesn't move.
Connecting the Wires
It is now time to connect all the jumper wires which will ensure that everything works.
You will need to crimp a Dupont connector onto the battery holder if you haven't already done so.
- First connect the battery terminals ensuring you have the correct polarity
- Next connect the keyswitch terminals (polarity does not matter)
- Finally connect the keypad
Commissioning
Use the Arduino IDE to load the code onto the device using a Mini-USB cable.
In the Code you may wish later to change the following variables:
- The actual keys
- If a time penalty is applied for wrong guesses
- The time participants have to complete the escape room
Once the code is loaded on you may need to adjust the contrast of the LCD with the potentiometer until text is visible on the screen.
Finally, after putting some batteries in the holder, screw the box shut and start writing some escape room games!