Pirate Ship Wheel Puzzle (Patreon)
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.