Build Your Own Escape Game Artefacts! Part 5

 Build Your Own Escape Game Artefacts! Part 5

Have you ever wanted to build your own escape game artefacts using low voltage electronics? Look no further! In the upcoming months, look out for a short series of articles on how you can approach creating small, but effective artefacts for your own game designs.


In part 4, we have our basic countdown timer product. Part 5 will look at potential bonus features you can add to your product to make it even better!

You Will Need

Fundamental Equipment

1x Arduino Uno (or open-source copy)
1x Arduino Uno USB connector
A laptop or desktop computer
A download of the Arduino IDE
A power adapter for the Arduino Uno (see part 1 for guidance)
4x male to female dupont cables (1x red, 1x black, 1x yellow, 1x blue)
2x male to male dupont cables (1x black, 1x brown)

Specific Equipment

1x TM1637 4-digit, 7-segment display timer – (Look here for examples)
1x Emergency stop button with locking mechanism when pressed – (Look here for examples)

Extra Feature #1 – Stop & Reset Button

Picture this. You’ve got 5 seconds left on the clock in an escape room, and you’re about to stop the clock just in time by hitting a big red switch. Sounds amazing right? Let’s make it.

Red – 5V -> VCC
Black – GND -> GND (Timer)
Yellow – Pin 2 -> CLK
Blue – Pin 3 -> DIO
Black – GND -> Button Pin
Brown – RESET -> Button Pin

If this diagram looks unfamiliar to you, please revert to the original one in part 4. This is merely an addition to that. Depending on which type of emergency stop button you have purchased, it might have either 2 or 4 pins to connect. This will be a case of trial and error; swapping the dupont cables to different pins to achieve the desired result.

The desired result will be the timer freezing once the button is pressed and subsequently, locked in (again I stress, buy a locking mechanism button!), and when the button is twisted to unlock, the timer should reset back to 60:00.

Extra Feature #2 – LOSE At The End Of The Countdown

Picture this. (This one isn’t so fun). You’ve got 5 seconds left on the clock in an escape room and you’re about to stop the clock just in time by hitting a big red switch… but you don’t make it quick enough and in place of the timer, you see LOSE. Nooooooooooooooooooooooooo!

Sounds um, less amazing…right? Let’s still make it.

Included in the <TM1637Display.h> library which we are already using for our timer, you can add up to 4 characters on the display before or after the countdown.

Here, I will show you how to show LOSE, once the countdown has reached 00:00.

Above, is a diagram of the 7 segments a single display character can hold, alongside a letter (A-G).
First off, we need to work out what segments we need to display the word LOSE. Feel free to work it out yourself, or look below for the solution.

L = Segments D, E & F
O = Segments A, B, C, D, E & F
S = Segments A, C, D, F & G
E = Segments A, D, E, F & G

Now that we have our segments worked out per character, we need to:

  • Declare these in the code we already have
  • Create a function called void lose()
  • Add a condition for it to show once the display shows 00:00

Declaring The Segments

Add this code in your // Display function:

const byte LOSE[] = {



void lose()

In between the void setup() and void loop() functions, add the following:

void lose() {

delay(1000000000) – holds the LOSE message on display for approximately 277 hours, when activated – ie: long enough!

Adding The LOSE Condition

In your void loop() function, add the following after the first of 3 right curly braces (}):


Test Your Code

Now is time to check your code is error free. Click on the tick in the IDE. If that is error free, now click the right facing arrow button (with your Arduino Uno connected to your computer) to load your updated code in. You may want to temporarily change your timeLimit to 10 seconds for swifter testing.

If you receive an error at any point, please use my troubleshooting tips in part 4 as a starting place to fix your bug.

If you are feeling brave, you could even try to change LOSE to show a different set of characters – eg: STOP.

If you are feeling even more brave, try putting a 4 character message before the countdown begins.

End Of Part 5

That’s all for now, for the time being. I hope this has been fun for you to build! I’ll return later this year with a new project, but for now, take care!


  • RussBuilds

    RussBuilds is an independent escape game designer. Here, he is writing on video games and escape rooms in the middle of the UK.

Enjoyed this article? Check out...

Leave a Comment

%d bloggers like this: