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.
  • НаукаНаука

Комментарии • 50

  • @mylesdb
    @mylesdb Год назад +1

    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 :)

  • @iot_enthusiast
    @iot_enthusiast 3 года назад +1

    How innovative... Loved it!

  • @jesus17158
    @jesus17158 3 года назад +2

    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.

  • @MichaelJacksoff
    @MichaelJacksoff 3 года назад

    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

  • @intencityfan
    @intencityfan Год назад

    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!

  • @StoneNicolas93
    @StoneNicolas93 3 года назад

    Can't wait to try it out

  • @ottiswilfred
    @ottiswilfred 3 года назад +3

    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!

  • @hico816
    @hico816 3 года назад +1

    great idea 👍

  • @mfx1
    @mfx1 3 года назад +3

    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.

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад

      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!

  • @FullStackFool
    @FullStackFool 3 года назад +1

    Excellent 👍
    Been thinking about a self-enclosed “diffuse” tech puzzle since seeing the one at ERIC. Watching this has refuelled that fire!

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад +1

      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...

    • @FullStackFool
      @FullStackFool 3 года назад +1

      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 😂

    • @FullStackFool
      @FullStackFool 3 года назад +1

      Instead of a bomb though, it could contain a secret document that will be “destroyed” unless you save it, or something similar

    • @FullStackFool
      @FullStackFool 3 года назад

      Might have to rely on 3D printing a bit to aid in construction

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад +1

      @@FullStackFool Do it!

  • @ToddHanson
    @ToddHanson 3 года назад

    Any ideas for contactless candy distribution this Halloween?

  • @abbv2x
    @abbv2x 3 года назад +2

    Lol "delete your fortnite save data"
    Very cool idea and I love your creativity of these props!

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад +1

      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...)

  • @mattie3899
    @mattie3899 3 года назад +2

    I just finished making a bomb puzzle prop. If only I had your video a month ago!!!

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад

      Awh, I'm sorry! I'd be interested to know what design decisions you made about things like the outcome for players failing?

    • @stewsta
      @stewsta 3 года назад

      Agreed! But I've also thought that about most of these videos.

  • @vhieltechhub254
    @vhieltechhub254 Год назад

    hello sir can you help me build it just using arduino and lcd with out the other parts thankyou

  • @safakozer4687
    @safakozer4687 3 года назад

    Çok daha az elemanla yapılabilecek bi devre. Ama uğraşmışsın. Eline sağlık.

  • @runagroundin94
    @runagroundin94 Год назад +1

    Is there a way to purchase your fake bomb?

  • @Packerdog72
    @Packerdog72 Год назад

    Do you need to use the arguing or can I just make the bomb

  • @Packerdog72
    @Packerdog72 Год назад

    Do you need to use the arguing or can I just make the prop bomb

  • @reonnk2294
    @reonnk2294 3 года назад +1

    ❤️🔥

  • @Packerdog72
    @Packerdog72 Год назад

    Do you need to use the arduino can I just make the prop bomb

  • @Thefess
    @Thefess 2 года назад

    A great effect would be the moab from modern warfare 2

  • @skylarbailey9796
    @skylarbailey9796 2 года назад

    Does the bomb actually blow up

  • @agentpx
    @agentpx 3 года назад +3

    Just cut the black wire for sure win!!!

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад +3

      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" ;)

    • @mfx1
      @mfx1 3 года назад

      @@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.

  • @TheParksy72
    @TheParksy72 3 года назад

    I wish I had your knowledge, I'm making my wife a puzzle box for our anniversary and I'm struggling with the code.

  • @stewsta
    @stewsta 3 года назад +2

    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.

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад

      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 :)

    • @XdekHckr
      @XdekHckr 2 года назад

      if you play FPS games you don't care if you say B word or N word. LOL

  • @TheSterrlingArcher
    @TheSterrlingArcher 3 года назад

    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.

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад

      No, there's no relay module in this project - the wires go into the GPIO pins of the Wemos D1 Mini.

  • @pansmuggler4388
    @pansmuggler4388 2 года назад

    Anyone have his source code cracked and would give link to it?

    • @PlayfulTechnology
      @PlayfulTechnology  2 года назад

      Every single line of code is shown in the video... just type it in.

  • @TournamentLocator
    @TournamentLocator 3 года назад +1

    Do you sell these?

    • @PlayfulTechnology
      @PlayfulTechnology  3 года назад +4

      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 :)

    • @stewsta
      @stewsta 3 года назад +2

      It would be a really bad idea to send something like this through the mail.

  • @drmgweldingandfabricationc1864

    This is legally for playing

  • @jigllegamingyt634
    @jigllegamingyt634 2 года назад

    Bhiari