Sorry, you need to enable JavaScript to visit this website.

You are here

Real Time SMS alerts for dropped devices

BY Michelle Howie 15 July 2021

 

So in part 1 and part 2 of this workshop series, we’ve gone through how we can poll for input from our remote IoT sensors and get data on demand, and push commands to remote devices via SMS. The fun part comes in when we automate alerts based on some environmental triggers!

We connected an Arduino IMU sensor to the IoT board that outputs things like acceleration of the device. To infer if the device has been dropped, we set a threshold for maximum acceleration (on the x, y and z axes). When that level is exceeded, the Arduino device triggers a message to the IoT broker, that puts together an SMS to a pre-defined emergency contact to let them know that the device has fallen.

Consider this device attached to a high value asset, or a patient with mobility issues, you can be alerted immediately if there is a sudden change in their orientation (i.e we can inference that they have fallen!)

 

The cool thing about defining all of this in a system like Node-Red is that you can bringing in various inputs and outputs, plug in other APIs, and it is all done with drag and drop connectors using low-code! (or even no-code if you find what you need open source)

 

For some use cases, it may be simpler to send an SMS alert directly from your Arduino device. This depends on how complex the process is, and if you need to input any other external data sources. For those who have purchases the Arduino MKR NB 1500 Dev Kit from TelstraDev with a Cat-M1/LTE-M SIM, I’ve outlined your options for sending SMS direct from the Arduino board in this forum: https://dev.telstra.com/content/sending-sms-my-iot-device

 

Here it is in action!

 

 

If you enjoyed this tutorial series, and want to take the next step in your API journey, let me know in our community forum! What should we cover next? 

Have you tried these out and taken it to the next level already? Share it with us!

 

For further details on this workshop:

GitHub Repo + ReadMe: https://github.com/MichelleHowie/Arduino-MKR-IMU-Fall-Detect

Watch the workshop in action at Telstra Health Hack for Digital Healthcare with me and DeveloperSteve Coochin, November 2020:

 

 

Related Blogs

anonymous's picture

By Michelle Howie

26/8/20

  • iot
  • captis

Capture more insights with Captis Data Loggers!

Calling all IoT makers and innovators, there’s a new device on our IoT Marketplace! It...
anonymous's picture

By Dave Bell

21/8/20

  • hackathon
  • innovation

Telstra Innovation Hackathon 2020

Calling all startups, partners and employees of Australian corporates with a global presence; Regist...
anonymous's picture

By Tiana Fong

18/8/20

  • iot
  • platform

Telstra's IoT Platform

The Internet of Things (IoT) is a network of physical objects which collects data from the environme...
anonymous's picture

By Michelle Howie

3/8/20

  • messagingAPI
  • Tutorials

Get Started with the TelstraDev Messaging API

Have you ever wondered what an API is and why you should care? Have you ever had a mid-career cri...
anonymous's picture

By Brendan Myers

8/4/19

  • arduino
  • mkr

Introducing the Arduino MKR NB1500

Last year we were proud to announce our partnership with Arduino to help create an (read more about...
anonymous's picture

By Christy Daguia

15/11/18

  • messagingAPI
  • replyRequest

Conversation via Telstra Messaging API

Creating a message thread can be done via Telstra Messaging API, whereby you can continue sending an...
anonymous's picture

By Rajeev Ramani

30/8/18

  • MMS
  • performance

Fine-tuning MMS performance on Telstra's Messaging API

  Here at TelstraDev, we strive to make the best possible developer experience, from the recen...