Home Creators Posts Import Register Favorites Logout

Content

Here's a fun Christmas-themed Arduino project that demonstrates a metal sensor, water sensor, and flame sensor used to create an elaborate trap to catch that notorious fat, red, Yuletide intruder "Santa Claus".

Using a mince pie, glass of milk, and a lit candle as bait, an Arduino monitors the three sensors to detect when the fat man has fallen into the trap. When he unwittingly eats the mince pie (removing its aluminium foil case from the metal sensor), drinks the milk (draining the conductive liquid from the water sensor), and blows out the candle (so that the infrared radiation from the flame is no longer detected by the flame sensor), the Arduino triggers a relay which releases a maglock, dropping the cage and capturing the festive trespasser. The same sensors could be used in many Escape Room scenarios in which players must either create, or remove, a source of metal, water, or flame in order to solve a puzzle (in which case, the maglock would probably also open a door to another area rather than dropping a cage onto their head!).

Components Used

---

Flame Sensor £0.30

https://www.aliexpress.com/item/Smart-Electronics-4pin-KEYES-KY-026-IR-Flame-Sensor-Fire-Detection-Module-Detects-Infrared-Receiver/32955566788.html

Water Level Sensor £0.30

https://www.aliexpress.com/item/Free-shipping-Water-Sensor-for-Arduino-water-droplet-detection-depth-with-demo-code/32280702980.html

Metal Sensor £1

https://www.aliexpress.com/item/Metal-Detector-Scanner-Unassembled-Kit-Project-3-5V-DIY-Kit-Suite-Trousse-Boards-Module-Integrated-Circuits/32843504919.html

12V Cabinet Maglock, £4.50

https://www.ebay.co.uk/itm/150KG-330lb-Electric-Magnetic-Lock-Door-Access-Control-DC-12V-Cabinet-Drawer-FP/273039396009

Timings

---

00:00-03:37 Demonstration

03:38-10:22 Explanation of Components Used

10:22-12:42 Wiring

12:43-22:43 Arduino Code

22:44-23:47 Wrap-Up

Patrons can access the Arduino code listing, wiring diagram, and Fritzing project at https://www.patreon.com/posts/23272395. Hope you like it, and please ask if you have any comments, questions, or suggestions!

Files

The Santa Trap

Here's a fun Christmas-themed Arduino project using a metal sensor, water sensor, and flame sensor to create an elaborate trap to catch that notorious fat, red, Yuletide intruder "Santa Claus". Using a mince pie, glass of milk, and a lit candle as bait, an Arduino monitors the three sensors to detect when the fat man has fallen into the trap. When he unwittingly eats the mince pie (removing its aluminium foil case from the metal sensor), drinks the milk (draining the conductive liquid from the water sensor), and blows out the candle (so that the infrared radiation from the flame is no longer detected by the flame sensor), the Arduino triggers a relay which releases a maglock, dropping the cage and capturing the festive trespasser. The same sensors could easily be used in a wide variety of Escape Room puzzles, in which the player needs to either add, or remove, a source of metal, water, or flame in order to solve a puzzle. Timings --- 00:00-03:37 Demonstration 03:38-10:22 Explanation of Components Used 10:22-12:42 Wiring 12:43-22:43 Arduino Code 22:44-23:47 Wrap-Up For more details on this or other similar projects I've done, please check out my Patreon page at https://www.patreon.com/playfultech

Comments

sandy

Hi Alistair! i just found this video.Its so much fun watching it. Thanks a lot for all your posts.

Josh Kendrick

This looks awesome! I may have missed it, but it looks like that lock does well under load (I know the weight of that laundry basket would have prevented a solenoid from retracting). Any issues with heavy things causing it to bind?