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 Michelle Howie

20/12/21

  • Telstra Messaging API
  • REST API

Good APIs start with the docs

With our new docs experience, it's easier than ever to get started with Telstra APIs. ...
anonymous's picture

By Daniel Simpson

17/12/21

  • azure
  • microsoft

A code-first approach to digital twins

Find out how to use code-first digital twins with the Telstra Digital Twins library.   ...
anonymous's picture

By Michelle Howie

25/10/21

  • iot
  • arduino

AgTech and sustainable agribusiness

Our GovHack 2021 challege explored how AgTech can improve sustainable agribusiness.  ...
anonymous's picture

By Quinn Tran

25/9/21

  • iot
  • microsoft

Creative projects with Microsoft Azure

Get your creative juices flowing with the latest in computer vision innovation.   ...
anonymous's picture

By Michelle Howie

15/7/21

  • arduino
  • iot

Get environmental sensor data via SMS

Learn how to set up on-demand SMS updates for your IoT devices.  Potential use cases If y...
anonymous's picture

By Michelle Howie

15/7/21

  • arduino
  • iot

Use SMS to control your IoT device

In this blog, we look at how to use SMS commands from the Telstra Messaging API to control your IoT...
anonymous's picture

By Michelle Howie

2/7/21

  • iot
  • arduino

Changes to our IoT Developer Kit offer

The IoT Marketplace and Developer Kit trial were retired in July 2021.    Where we...
anonymous's picture

By Tim McMahon

2/6/21

  • Telstra Messaging API
  • bushfire

Air quality SMS alerts during bushfire season

I woke up one morning in January 2020 to discover that the air quality in Melbourne had dropped...
anonymous's picture

By Alan Quayle

18/5/21

  • iot
  • REST API

Unlocking the IoT: Telstra Track and Monitor API

As Australia’s longest serving telco, Telstra is expanding their developer program to provide...
anonymous's picture

By Sri Amirthalingam

31/3/21

  • iot
  • regional

Your regional mobile coverage questions answered

When developing an IoT solution for your business, coverage and access to a reliable network is crit...
anonymous's picture

By Michelle Howie

23/12/20

  • TDev
  • documentation

TelstraDev End of Year Wrap: 2020

We made it! Welcome to the end of 2020, may it soon be just a distant memory. Though it wasn’t...
iot home garden project with arduino and azure
anonymous's picture

By keith coutlemanis

10/11/20

  • arduino
  • azure

Azure IoT garden project with Arduino

In this blog, I'll showcase some of the interesting things you can do with the Internet of Thing...