"Crown Jewels" Escape Room Puzzle Tutorial using Multiple Colour Sensors
HTML-код
- Опубликовано: 3 июл 2024
- Here's a tutorial video explaining how to build your own escape room puzzle that uses multiple color sensors to detect the placement of various coloured "gems".
Each time a gem is correctly placed, a corresponding LED lights up the matching color. When all gems have been correctly placed, a relay is activated which releases a maglock.
It uses an ESP32 (although an Arduino, or any other microprocessor, will work just as well), a TCA9648A I2C Multiplexer, 5x TCS34725 colour sensors, PL9823 programmable LEDs, a relay module, and an electromagnetic lock. Full wiring and coding is illustrated in the video. If you'd like to download the accompanying resources for this video, and all the other escape room projects on this channel, please check out my Patreon at / playfultech and, for more escape room tech tutorial videos, please like and subscribe! :)
Timings
00:00:00 - 00:01:50 Introduction and Demonstration
00:01:51 - 00:03:54 Acrylic Gems
00:03:55 - 00:08:59 TCS34725 Color Sensors
00:09:00 - 00:09:33 PL9823 Programmable RGB LEDs
00:09:34 - 00:09:49 Relay and Maglock
00:09:50 - 00:12:29 TCA9548A I2C Multiplexer
00:12:30 - 00:19:05 Component Wiring
00:19:06 - 00:46:19 ESP32/Arduino Code Listing
00:46:20 - 00:47:56 Summary and Wrapup
#escaperoom #arduino #esp32 Наука
I love these videos when you show the use of a neat kind of sensor cause even if i dont build this specific puzzle, i can create my own and put them in my escape room. Im thinking using an overlapping acrylic system to make multiple colours from two or three colors
Working late, I see. Thanks for another entertaining and informative video, Alastair.
This is amazing. Thank you for providing such detail! I hope to try this myself soon!
Alistair - Love this! Going to use a version of it, if you don't mind...but wondered if you knew whether or not the LED lights on the sensor would shine through the gemstone and onto the ceiling anything that was inside the gemstone.
Very Cool Stuff.
that is some cleaver code, thanks.
You're welcome!
Totally thought you were going to say the gem placement was inspired by Resident Evil 4 remake 😂
On line 52 you create an array of size "numSensors", but then since each element of the array needs to be initialized, you also have 5 calls to the library function.
Wouldn't that be an issue if you wanted to change the number of sensors?
Maybe a for loop could be used instead so that it would indeed run for the "numSensors" value..
Other than that, awesome video as always
Hey Aleister (sorry if I got the spelling wrong), I stumbled across your channel recently and I have to say I love the work you’re doing on your channel.
I specialize in getting RUclipsrs just like you get more views by editing high retention videos combined with hooking thumbnails with over 6 years of experience and over 200+ videos edited blah blah blah,
[insert your yawn here but don’t zone out on me just yet]...
...None of that really matters so how does this help you? If you’re interested to see what we can do for your specific videos we’d like to do a full video sample with thumbnail and one 60 second short
Would you be open to the idea of a quick 10 minute call so I can walk you through them along with some additional resources we’d offer (all at no cost to you)?