Home Creators Posts Import Register Favorites Logout

Content

Hi folks! 

Most of my escape room projects have been focussed on interesting tech puzzle inputs - switches, buttons, levers and the like. In this project, I'd like to show you an interesting puzzle output instead - namely, a thermal printer which can be used to print dynamic, customisable messages when can be triggered based on any event in the room (such as when a puzzle is solved), or remotely by a gamesmaster (such as a hint delivery system).

Thermal printers are cheap, clean, and easy to use - there's no need to install software drivers or deal with ink cartridges or toner - they use a simple serial connection which means you can connect them to any Arduino, ESP8266, Raspberry Pi, or ESP32 device, say. And players get a message delivered in a real, tangible format, rather than just seeing a message flash on a screen. Now that escape rooms are beginning to re-open again across the world, I'm desperate to feel and touch things again rather than manipulate purely virtual objects!

The other thing I'm going to try to demonstrate in this project is how you can write code that can be run across several different types of board, and adapt its behaviour depending on the hardware functionality available. In this example, you might be using a board like an Arduino MEGA that has multiple hardware serial interfaces, or you might be using an UNO which requires software emulation of additional serial connections. You might be using an ethernet shield for a wired connection to an MQTT server, or using the built-in WiFi of an ESP8266 or ESP32, or just a serial connection via a USB cable. The code in this project should gracefully adapt to each of these situations to make the best use of the hardware available.

I'll also show you how to create a Node-RED dashboard interface that you can use to control this device, which illustrates some fairly generic concepts you can apply for control of other props too.

A separate post containing the downloads for Patreons will be uploaded soon. Meanwhile, please ask if you have any questions, and have fun!

Files

Thermal Printer Escape Room Puzzle Prop using MQTT, Node-RED, and ESP32

In this video tutorial, I'll demonstrate how you can use a cheap (~£16) thermal printer as part of an escape room prop. When connected to a microprocessor such as an Arduino, ESP8266, Raspberry Pi, or ESP32, it can be used to print pre-defined clues or codes for players as feedback when they successfully solve a puzzle, or to deliver custom messages or hints sent from a gamesmaster via a Node-RED dashboard. I'll show you two ways to send messages to the device - either by subscribing to a MQTT broker such as Mosquitto or MOSCA, or using a direct serial connection. Hardware: I'm using a "GOOJPRT" 58mm printer, which cost £16. This is a very similar model (the exact model I'm using doesn't seem to currently be available): https://www.ebay.co.uk/itm/GOOJPRT-QR204-58mm-Mini-Embedded-Receipt-Thermal-Printer-TTL-USB-M7A3/293662363160 Timings: 00:00-02:57 Introduction and Demonstration 02:58-06:12 Thermal Printer Hardware 06:13-16:29 Wiring 16:30-49:22 Arduino/ESP8266/ESP8266 code 49:33-01:01:00 Node RED Dashboard Interface 1:01:01-01:02:37 Wrapup Software and wiring diagrams for this, and all my other escape room tech projects, can be downloaded from my Patreon page: www.patreon.com/playfultech

Comments

MEL LOCKET

can you use a old receipt printer