"Heart Transplant" Escape Room Puzzle (Patreon)
Content
Hi folks, here's a brand new ER puzzle tutorial for you! It uses cheap RF radio communication modules (which are frequently denounced as only having a very limited range...) as a way to detect when two objects are brought within a short distance of each other. I'm using the example of a heart placed inside a skeleton ribcage, but this could work for many large-scale props, where you want to detect whether players have placed an item in the correct approximate location, without requiring the precision of lining up with a magnet/RFID sensor. With appropriate tuning of the hardware and software as described in the video, you should be able to make this work for as a crude "proximity" detector for distances from around 20cm up to a few metres between the transmitter and receiver modules.
It uses two Arduinos: one is placed inside the heart (or other portable object), which must first be activated by being connected to a battery pack. This causes it to start beating, lighting up a programmable WS2812B Neopixel LED strip in a heartbeat animation, and also transmitting a regular "pulse" message from a 433MHz RF transmitter.
When this radio signal pulse is detected by a receiver module attached to a secondary Arduino contained within the ribcage of the skeleton, it causes a relay to be energised deactivating a maglock and releasing a key.
Timings
00:00:00 - 00:02:22 Introduction and Demonstration
00:02:23 - 00:05:55 Overview of Puzzle Mechanics
00:05:56 - 00:11:23 RF Communication
00:11:24 - 00:15:38 Puzzle Hardware
00:15:39 - 00:22:09 Component Wiring
00:22:10 - 00:44:45 Arduino Code Listing
00:44:46 - 00:46:49 Wrapup
Hardware Used
433MHz RF Radio Receiver/Transmitter modules https://www.banggood.com/custlink/DGGEgOwcA0
5V relay module https://www.banggood.com/custlink/mDD3bOqeP5
2x Arduino Nano https://www.banggood.com/custlink/KvKDUmhTqI
12V 60kg Maglock https://www.ebay.co.uk/itm/164952553832
WS2812B "Neopixel" LED strip https://www.banggood.com/custlink/3G3KMmYfzN
12V LED ring https://www.banggood.com/custlink/3m3E0O7W1R
3D Heart model https://www.thingiverse.com/thing:932606
Bob the Skeleton is of unknown origin... would you believe, I found him in my closet! But he appears similar to this https://www.amazon.co.uk/Crazy-Bonez-POSE-N-STAY-Skelton-Halloween/dp/B01INAY2MA
I'll be uploading a secondary post shortly with links to the files used. Hope you enjoy, and please ask if you have any questions!