Published On Feb 20, 2024
In this video tutorial, I'll explain how to create a "Fortune Teller's Crystal Ball" escape room puzzle that uses the built-in touch input of an ESP32 microprocessor to detect when players place their hands on certain tarot cards. As they touch the cards, a crystal ball illuminates, using a MOSFET to gradually increase the current through a 12V LED lamp, and a sound effect plays through a serial MP3 player. When they touch the final card in the correct sequence, a relay is energised, releasing a maglock, allowing them to claim their prize.
I'll give a complete rundown of all the components I use, together with a detailed explanation of the wiring and code. More details and downloads for this tutorial, and all the other #EscapeRoom projects on this channel, can be found on my Patreon page at / playfultech
00:00:00 - 00:01:25 Introduction and Demonstration
00:01:26 - 00:06:17 Hardware Overview
00:06:18 - 00:14:54 Wiring diagram
00:14:55 - 00:48:27 ESP32/Arduino Code
00:48:28 - 00:49:47 Wrapup
If you're using an Arduino, Raspberry Pi, or other microcontroller that doesn't have touch-enabled inputs, you can add them using a capacitive touch module such as a CAP1188, as demonstrated in this tutorial: • Arduino Capacitive Touch-Free Touch S...
For more information on the DY-HV20T MP3 player I'm using, and comparison to other audio modules, see • Audio modules for electronics project
#escaperoom #esp32 #arduino #electronics