Escape Room Decoder Box

by RampsLab in Circuits > Arduino

7981 Views, 103 Favorites, 0 Comments

Escape Room Decoder Box

decoderComplete.jpg
decoderGuts.PNG
IMG_20190612_094829414.jpg

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

IMG_20190612_090510912.jpg
IMG_20190612_090706726.jpg

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

Inverted2.jpg
Inverted1.jpg

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

IMG_20190612_115813178.jpg
IMG_20190612_091315454.jpg
IMG_20190612_091256006.jpg

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

IMG_20190612_095438562.jpg
IMG_20190612_161659987_HDR.jpg

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

IMG_20190612_162142271.jpg
IMG_20190612_140946503.jpg

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

IMG_20190612_162636643.jpg
IMG_20190612_162821918.jpg
IMG_20190612_163015348.jpg
IMG_20190612_162611829.jpg

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

IMG_20190612_163215830.jpg
IMG_20190612_163011362.jpg
IMG_20190612_163106289.jpg
decoderComplete.jpg

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!