How to Build a "Defuse the Bomb" Escape Room Puzzle with Node-RED, MQTT, Arduino, ESP8266, and DMX
HTML-код
- Опубликовано: 6 июл 2024
- This is a tutorial explanation of how to build your own DIY fake bomb (NOT A REAL EXPLOSIVE DEVICE) that can be used as a puzzle prop in an escape room. Players have to cut the correct coloured wire(s) before the countdown runs out to defuse the bomb and avert disaster. Cutting an incorrect wire leads to a time penalty, and when the countdown gets to zero... BOOM!
Now, the severity of an explosive device detonating is a bit hard to convey by just displaying the word "BOOM!" on a small 4-digit LED display, which is why this prop uses the Wi-Fi capability of a Wemos D1 Mini ESP8266 device to publish an MQTT message to a Node-RED server. That server, in turn, sends a message to a connected Arduino UNO which controls a series of DMX lighting and sound effects, providing a much more dramatic theatrical effect, and giving the players a more immersive experience.
For more information on controlling DMX devices from Node-RED via Arduino, see my previous tutorial at • DMX Lighting Control w...
Timings
---
00:00-02:39 Introduction
02:40-05:51 Demonstration
05:52-13:34 Hardware and Design Considerations
13:35-20:19 Wiring Diagram
20:20-53:02 Wemos D1 Mini (ESP8266) Code
53:03-01:00:34 Node-RED Flow
01:00:35-01:06:23 Arduino DMX Controller Code
01:06:24-01:08:55 Wrapup
Resources Used
---
- Wemos D1 Mini, ~$2.50 from e.g. www.banggood.com/custlink/v33...
- TM1637 4-digit LED display, ~$3 from e.g. www.banggood.com/custlink/GDD...
- Arduino UNO, ~$3 from e.g. www.banggood.com/custlink/KD3...
- Conceptinetics DMX shield, ~$20 from e.g.
www.tindie.com/products/Conce...
(other shields are available - e.g. thepihut.com/products/dmx-shi.... It's also possible to create your own DMX shield using a MAX485 chip, as explained at playground.arduino.cc/DMX/DMX... )
- RGB Stage Lighting Cans with DMX interface: £70 for 4 - amzn.to/34yeHA3
- Node-RED - nodered.org/
Code & Wiring Downloads
---
If you'd like to support me making more video tutorials explaining how to use tech in escape rooms and other playful settings, please check out my Patreon at / playfultech , where you can also find code downloads, wiring diagrams, and additional resources for this and all my other tech projects. Наука
You are a gem for sharing this knowledge! Looking to integrate Node Red and ESP32 puzzles to trigger DMX lights in our puzzle room adventure for the Deaf community :)
How innovative... Loved it!
Thanks for making all these videos it really helps out a lot! Is it possible to make some more videos with node red that are more beginner friendly? Node Red is really awesome but i'm still having a difficult time understanding it. You are also the only person online that explains this well.
Awesome video as usual. Funny enough this was something I had planned out to make in the future for my brother's airsoft games, except I probably will add an ADXL345 accelerometer to it to detect movement
Thank you for posting this content. My brain is teeming with ideas for escape rooms, but I lack all the fundamentals for the practical side. I want to try to become as knowledgeable as you!
Can't wait to try it out
Just came across your channel this week and I love all the projects! I'm really interested in making some for an escape room at the camp I own. Does your patreon give access to the code for all the projects, or is it $10 per project? Happy to support, just need to plan out some budgeting! Thank you!
great idea 👍
One way to save pins on things like the D1 mini is to use the analogue pin and connect the wires via resistors following a (roughly) binary sequence of values with a common resistor in the ground path to form a potential divider. It makes the code significantly more complicated but worth considering if you're short of pins.
Yes, that's right. And you could of course also add a multiplexer as well. For this example I didn't want to introduce any additional unnecessary hardware though!
Excellent 👍
Been thinking about a self-enclosed “diffuse” tech puzzle since seeing the one at ERIC. Watching this has refuelled that fire!
Was that the "A most suspicious package" game? I enjoyed that! I've been thinking myself about creating a suitcase-contained puzzle. Was hoping to make it modular, a bit like a real-life version of Keep Talking and Nobody Explodes, but not necessarily a bomb. Still tinkering with ideas at the moment...
Playful Technology it was, yes!
I was super impressed with that, but could also see many areas for improvement. The main thing was, as you said, you could see all of the tech behind the Perspex, but couldn’t interact with it.
A gradual progression down through layers would be an amazing experience. Disable a vibration sensor, then remove a panel, the right wires need splicing together to disable a heartbeat monitor. Then swap some fuses to pop an access panel. Pull out that module and access the next stage. Etc etc
Getting excited thinking about it 😂
Instead of a bomb though, it could contain a secret document that will be “destroyed” unless you save it, or something similar
Might have to rely on 3D printing a bit to aid in construction
@@FullStackFool Do it!
Any ideas for contactless candy distribution this Halloween?
Lol "delete your fortnite save data"
Very cool idea and I love your creativity of these props!
Thankyou. I don't know why I said Fortnite save data - it was just the first thing that came into my head! (and I do have a teenage son...)
I just finished making a bomb puzzle prop. If only I had your video a month ago!!!
Awh, I'm sorry! I'd be interested to know what design decisions you made about things like the outcome for players failing?
Agreed! But I've also thought that about most of these videos.
hello sir can you help me build it just using arduino and lcd with out the other parts thankyou
Çok daha az elemanla yapılabilecek bi devre. Ama uğraşmışsın. Eline sağlık.
Is there a way to purchase your fake bomb?
Do you need to use the arguing or can I just make the bomb
Do you need to use the arguing or can I just make the prop bomb
❤️🔥
Do you need to use the arduino can I just make the prop bomb
A great effect would be the moab from modern warfare 2
Does the bomb actually blow up
Just cut the black wire for sure win!!!
If you wanted to, you could call a "heartbeat" function that sent a message from the ESP8266 at regular intervals. If Node-RED didn't receive a message in the last second, say, you could trigger the explosion anyway (though there is a different risk with that that if your WiFi went down for whatever reason, your bomb would just detonate itself!). Instead, it's probably safer to rely on the "manual override" functions which I show later in the code to prevent players from defusing the bomb "the wrong way" ;)
@@PlayfulTechnology A ping to a known good address would verify WiFi/network is working, then if it can't contact the bomb but can contact the known good address then the issue must be with the bomb.
I wish I had your knowledge, I'm making my wife a puzzle box for our anniversary and I'm struggling with the code.
I called mine the "PLOT device" rather than the B word, just to avoid using the B word when talking about it. Portable Live Ordnance Timer.
Ha ha - nice pun! Yeah, I really prefer not to glamourise "bombs", but it's something that players expect... So I think if there is the opportunity to lead them away from the just mindless arbitrary "There's a crazy bomber!" scenarios and into some more interesting narrative, it should definitely be taken :)
if you play FPS games you don't care if you say B word or N word. LOL
Was wondering if you're using a relay module to connect the the wires to the wemos d1 mini? if you are could share the link? I just signed up to you patreon and couldn't find the link to the part on the project page.
No, there's no relay module in this project - the wires go into the GPIO pins of the Wemos D1 Mini.
Anyone have his source code cracked and would give link to it?
Every single line of code is shown in the video... just type it in.
Do you sell these?
No - I'm a designer and an instructor rather than a prop supplier - I want to give people the knowledge to create their own props! Firstly, if you build it yourself, you can customise both exactly what it looks like and how it behaves, rather than just having a generic off-the-shelf prop like in 100s of other escape rooms. And secondly, if you designed and programmed it yourself, you will be in a much better position to identify and implement any fixes required if something does go wrong in the future, rather than be at the mercy of some 3rd party supplier who may have extortionate (or non-existent!) support :)
It would be a really bad idea to send something like this through the mail.
This is legally for playing
Bhiari