Home Creators Posts Import Register Favorites Logout

Content

Hello lovely Patreons!

Here's a brand new puzzle tutorial for you, and this one lets you play the role of a detective; listen to witness testimony, find the inconsistencies, then present evidence that proves a contradiction!

Or, you could just use it for any kind of quiz, or multiple choice response really...

Players hear a series of recorded audio samples. After each one they are prompted to press a button to provide an input (True/False, or any other input you prefer). Once all recordings have been played, if they answered enough questions correctly, a relay is released which can deactivate a maglock etc.

I'm using a DY-SV5W MP3 audio player as I have done is several other projects, and I'll demonstrate how to attach an interrupt service routine to listen to when the BUSY pin rises, letting you know when each audio sample has stopped and to listen for the players' repsonse. I'm also using an ammeter needle and a motor driver to resemble a tape-to-tape machine, although these are purely for aesthetic effect.

I'll be uploading the resources in a separate Patreons-only post shortly, and remember you can also join the Discord server if you'd like to ask any questions about this or any other projects! https://discord.gg/TD2j5hxQU4

Files

Build your own "Lie Detector"

This tutorial explains how to build an electronic "lie detector" game, which can be used in a murder mystery, detective whodunnit, or escape room. Players hear a series of audio clips, which represent the responses a suspect gives when questioned by a detective. They must decide which of these statements are true, and which can be proved to be false based on contradictory evidence - such as other witness testimony, receipts, CCTV footage, mobile phone statements, etc. (If you've ever played the "Phoenix Wright: Ace Attorney" series of games, you'll be familiar with the mechanic!) This game uses an ESP32, a DY-SV5W MP3 audio player, some arcade buttons, a motor driver and a couple of cheap hobby motors. I'll demonstrate the wiring and all the code used, and it can be built easily for under $20. Timings 00:00:00 - 00:02:06 Introduction and Demonstration 00:02:07 - 00:03:06 Hardware Overview 00:03:07 - 00:06:33 Wiring Diagram 00:06:34 - 00:26:45 ESP32 Code 00:26:46 - 00:28:21 Wrapup You can download the code and other resources used in this project or any of the other #escaperoom projects featured on this channel via my Patreon at https://www.patreon.com/playfultech You can also join the community of people making playful technology projects, and receive Patreon support for any coding or hardware questions on the Discord server: https://discord.gg/TD2j5hxQU4