"Security Terminal" Escape Room Prop (Patreon)
Content
Hi folks! This is a tutorial about how to create an escape room "security terminal" into which players need to enter the correct override password in order to deactivate a door which is secured by a maglock.
This is one of my more complex projects to date because, rather than using a simple input (a button, or rotary knob, say) to control a relay, I've created a PC application that simulates an old-fashioned terminal screen using the Unity game engine. When the correct password is entered, the application sends a message to an MQTT broker. A D1 mini (or Arduino, or other equivalent microprocessor) is also subscribed to that MQTT broker and, when it receives this message sent from the app, triggers a relay to cut power to the maglock.
This make the infrastructure required to run this project relatively involved - you'll need a PC for the terminal app and a network-enabled microprocessor for the door control, and a local network (i.e. a Wi-Fi network, or local wired network) that they can both connect to. And you'll need to make a few changes to their corresponding scripts to configure that connection. But, what I hope to demonstrate is just how powerful this infrastructure can be - MQTT is completely platform-agnostic, and libraries exist for Arduino, Raspberry Pi, PC, Android and iOS tablets, mobile phones, and many more devices. Once you have the network set-up as described in this project, it's trivial to add additional devices that can send and receive messages to communicate with each other to create some amazing tech puzzles: you could have a button on an Arduino that triggers a video playback on a Raspberry Pi, or a touchscreen app on a tablet that causes an Arduino to extend a linear actuator etc. etc. And all of this can be monitored or overridden from a PC in a control room.
Additional documentation, code downloads for the Arduino sketch and Unity project etc. are available for Patreons at https://www.patreon.com/posts/security-puzzle-27023093
In the meantime, please ask if you have any questions!