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

You are here

Trigger an SMS alert when a device is dropped

BY Michelle Howie 15 July 2021

Learn how Arduino can be used to trigger an SMS alert when a device has been dropped. 

Automate alerts using environmental triggers

In part 1 and part 2 of this workshop series, we demonstrated how to poll for input from our remote IoT sensors and get data on demand, as well as how to push commands to remote devices via SMS. Now it's time for the fun part: automating alerts based on 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 fallen or 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, which in turn puts together an SMS to a pre-defined emergency contact to let them know that the device has fallen.

Potential use cases 

Imagine if the device was attached to a high value asset, or a patient with mobility issues – with real-time alerts, you could be notified immediately if there is a sudden change in their orientation (i.e we can infer that they've fallen).

The cool thing about defining all of this in a system like Node-Red is that you can bring in various inputs and outputs, plug in other APIs, and it's 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 purchased 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.

See it in action

If you enjoyed this tutorial series, and want to take the next step in your API journey, let us 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.

Find out more

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 Trent Steenholdt

10/11/20

  • iot
  • azure

A home IoT project using Azure

In this blog series, I'll explan how I used the Internet of Things (IoT) to enable my gate, gara...
anonymous's picture

By DIYODE Magazine

9/11/20

  • arduino
  • iot

IoT Arduino MKR NB 1500 and Telstra NB-IoT

We put the Arduino MKR NB 1500 to the test using the Telstra network and show you how to g...
anonymous's picture

By Michelle Howie

20/10/20

  • hackathon
  • iot

GovHack 2020: IoT sustainability

In the second TelstraDev challenge for GovHack 2020 (read part one: emergency comms and the Telstra...
anonymous's picture

By Michelle Howie

20/10/20

  • hackathon
  • Telstra Messaging API

GovHack 2020: emergency comms with the Telstra Messaging API

What do you get when you give 700 hackers, hustlers and hipsters across Australia and New Zealand, a...
anonymous's picture

By Michelle Howie

1/9/20

  • iot
  • developer experience

IoT guidelines for wireless developers

The Internet of Things (IoT) is an all-encompassing suite of technologies, with dozens of options fo...
anonymous's picture

By Michelle Howie

26/8/20

  • iot
  • captis

Introducing Telstra Captis

UPDATE [15/7/21]: This product is no longer available for purchase on TelstraDev. More details...
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
  • Telstra IoT Platform

Telstra's IoT Platform

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

By Michelle Howie

7/7/20

  • developer experience
  • REST API

New Developer Feature: API Service Status Page

You asked, we listened. Our developer community told us that they wantedgreater transparency and...
anonymous's picture

By Michelle Howie

25/5/20

  • developer experience
  • REST API

Getting virtual in times of uncertainty

Here at TelstraDev, we hope you're continuing to thrive and innovate, staying safe and healthy i...
anonymous's picture

By Brendan Myers

8/4/19

  • arduino
  • MKR NB1500

Introducing the Arduino MKR NB1500

Last year, we were proud to announce our partnership with Arduino to help create an IoT-network...
anonymous's picture

By

11/1/18

  • REST API
  • Telstra Messaging API

Welcoming in the New Year

Happy New year, I hope you had an awesome break and were able to recharge, reset and prepare for...