Home Creators Posts Import Register Favorites Logout

Content

Hello lovely Patreons, and happy February!

This month's piratical escape room project is a puzzle in which players need to turn a ship's wheel in a particular sequence of clockwise and counter-clockwise rotations. Once they enter the correct sequence of turns, an ESP32/Arduino activates a relay, which cuts power to a maglock and causes a treasure chest to pop open. 

The key component I'm using is an AS5600 magnetic rotary sensor, which detects the orientation of a nearby magnetic field. By fixing a magnet onto the end of any rotating object, you can detect its rotation without requiring any contact or moving mechanical parts - ideal for escape room props rather than risk having heavy-handed players snap the handles of potentiometers or rotary dials! You could also use this same setup to detect rotation of statuettes, hands on a clock face, a bank vault dial, etc. etc. 

The components I used are as follows:

AS5600 Magnetic Encoder (comes with a diametric magnet) https://www.aliexpress.com/item/1005004937555136.html

ESP32 + Dev board https://www.aliexpress.com/item/1005004337178335.html

WS2812B LED strip https://www.ebay.co.uk/itm/275109949599

Relay https://www.ebay.co.uk/itm/125365108104 (solid-state, as shown in the video) or, alternatively https://www.ebay.co.uk/itm/284616811786 (regular, as shown in the wiring). If using the solid-state relay you don't need to connect the 5V VCC line, just a GPIO pin and GND.

12V Power Supply https://www.ebay.co.uk/itm/304787943510

60kg maglock https://www.amazon.co.uk/NN99-Electric-Magneitc-Electromagneitc-Control/dp/B07L4C5JXB

50N gas struts https://www.ebay.co.uk/itm/401043105499

Pirate Wheel https://www.amazon.co.uk/dp/B01FVSRDIM

3D printed skull and crossbones https://www.thingiverse.com/thing:4570885

I'll be uploading a separate Patreons-only post shortly with link to download the Arduino (ESP32) code, wiring diagram, and 3D models. 

I hope you enjoy, and please ask any questions! 

a.

Files

How to make an ESP32 Escape Room Pirate Wheel Puzzle

In this video, I'll explain how to create a pirate-themed escape room puzzle in which players need to turn a ship's wheel in a particular sequence of clockwise and counter-clockwise rotations. Once they enter the correct sequence of turns, an ESP32/Arduino activates a relay, which cuts power to a maglock and causes a treasure chest to pop open. Components Used --- AS5600 Magnetic Encoder (comes with a diametric magnet) https://www.aliexpress.com/item/1005004937555136.html ESP32 + Dev board https://www.aliexpress.com/item/1005004337178335.html WS2812B LED strip https://www.ebay.co.uk/itm/275109949599 Relay https://www.ebay.co.uk/itm/125365108104 or https://www.ebay.co.uk/itm/284616811786 12V Power Supply https://www.ebay.co.uk/itm/304787943510 60kg maglock https://www.amazon.co.uk/NN99-Electric-Magneitc-Electromagneitc-Control/dp/B07L4C5JXB 50N gas struts https://www.ebay.co.uk/itm/401043105499 Pirate Wheel https://www.amazon.co.uk/dp/B01FVSRDIM 3D printed skull and crossbones https://www.thingiverse.com/thing:4570885 Timings --- 00:00:00 - 00:01:03 Introduction and Demonstration 00:01:04 - 00:07:11 Hardware Overview 00:07:12 - 00:15:14 Wiring Diagram 00:15:15 - 00:37:23 ESP32 / Arduino code 00:37:24 - 00:39:31 Wrapup If you enjoyed this video or found it helpful, please like and subscribe to this channel. And, if you'd like to download the resources used in all the escape room projects shown on this channel (and support me to continue making more tutorials in the future!), please check out my Patreon at https://www.patreon.com/playfultech #esp32 #arduino #escaperoom #puzzle

Comments

Abi · Lyontree

I'm missing something; how did you wire the Solid State Relay?

antonym

how can i escape the code thanks

Jay Loftis

Is it possible to use three of these encoders on an arduino? Can the I2c address be changed?

David Cottam

I would like to combine three of your puzzles and would like your input. I would like for when the (1) wheel puzzle is solved, to wake up the (2) parrot and have it click out a pattern for your (3) knock knock puzzle. How would I trigger the bird to wake up once we get to the island? Can those two puzzles be connected wirelessly? I am new to the Arduino/escape room world and any pointers would be amazing