Thermal Printer Prop Tutorial (Patreon)
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!