Home Creators Posts Import Register Favorites Logout

Content

Hi folks!

Landline phones are a popular puzzle type in escape rooms - dialling a certain number to hear a pre-recorded message or activate a lock, and I covered this in a previous tutorial: Smooth Operator. But what about controlling a prop or receiving a clue via an SMS text message from a mobile cell phone instead?

In this video, I'll show you how to use an Arduino GSM shield (around £10, from e.g. BangGood - https://bit.ly/31Qr9Ka) to send SMS text messages or make outbound calls over the regular mobile cellphone network, and to control other components based on incoming text messages or calls received. 

00:00 - 04:50 Introduction and Demonstration

04:51 - 09:40 Explanation and Usage of the SIM900 GSM Shield

09:41 - 40:48 Arduino Code Explanation

40:49 - 43:42 Wrapup

While there are some existing companies that offer similar functionality to place SMS messages or make calls via an online service, they either incur a cost (e.g. Twilio), or are only available in certain countries (e.g. Google Voice). They also introduce a dependency on third-party servers to process your data. But since mobile phone providers don't generally charge for incoming calls or to receive text messages, you can use a free Pay-As-You-Go SIM card (from, e.g. http://freesim.vodafone.co.uk/) to send SMS text messages or call your Arduino and it will cost you nothing to use!   

This project could have lots of playful applications - and, although it's unusual for players to be allowed to use their own mobile phones in an escape room, there are many similar puzzle hunt experiences in which players interact with characters in the game. I'll show you how to adapt the script to configure different behaviour and responses based on the time, incoming caller ID, or content of an incoming SMS message. You could extend this to create an "A.I." bot that could have complex dialogue trees and narrative interation with a player. And, because the player is using their own phone to text a real mobil phone number from which responses are sent back, it can create a highly-immersive storytelling experience.

I'll be putting a link to Patreon-only access to the code and wiring diagram up shortly!

Files

Arduino GSM Shield Tutorial

In this video, I'll show you how to use an Arduino GSM shield (around £10, from e.g. BangGood - https://bit.ly/31Qr9Ka) to send SMS text messages or make outbound calls from an Arduino UNO over the regular mobile cellphone network, and to control components - maglocks, lights, motors, or pretty much anything else you can imagine - based on incoming messages or calls received. While there are some existing companies that offer functionality to place SMS messages or make calls via an online service, they either incur a cost (e.g. Twilio), or are only available in certain countries (e.g. Google Voice). They also introduce a dependency on third-party servers to process your data. But since mobile phone providers don't generally charge for incoming calls or to receive text messages, in this project you can use a free Pay-As-You-Go SIM card (from, e.g. http://freesim.vodafone.co.uk/) to send SMS text messages or call your Arduino and it will cost you nothing to use! This project could have lots of playful applications - and, although it's unusual for players to be allowed to use their own mobile phones in an escape room, there are many similar puzzle hunt experiences in which players interact with characters in the game. I'll show you how to adapt the script to configure different behaviour and responses based on the time, incoming caller ID, or content of an incoming SMS message. You could extend this to create an "A.I." bot that could have complex dialogue trees and narrative interation with a player. And, because the player is using their own phone to text a real mobile phone number from which responses are sent back, it can create a highly-immersive storytelling experience. Download the code, diagrams, and additional resources for all my projects on my Patreon page: https://www.patreon.com/playfultech

Comments

Ruben van Tienen

Allister, this code saved me :-) so i became a Patreon right away. I did found out that I had to change the location of the jumpers for the rx and tx on some website, and it all worked. Now I’m unsure if that really was the problem I had, but it all works. Thanks. Trying to create a solution to send an sms (on or off) that opens a door (using a 1 channel relay) and inserted a delay so it closes again after x sec. Just need to test removing all code that’s not needed :-) newbie here.

Charles Stern

New patron here! Not seeing the link for code and wiring diagrams for this project. I found this project on Youtube, and joined as a supporter here because I was hoping to get the access to the Patreon-only code and diagrams. Am I missing something or perhaps that link hasn't been posted yet? Thanks!

Chris Grant

Hi Alastair. This is a great tutorial. Thanks so much! I banged my head against the kitchen table a lot this evening as things weren't playing ball. After a few hours, I realised that the jumpers were not configured for software serial!!