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

You are here

Real Time SMS alerts for dropped devices

BY Michelle Telstra 08 April 2021

So 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


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:


Here it is in action!



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


For further details on this workshop:

GitHub Repo + ReadMe:

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



If you liked these workshops, keep up to date with TelstraDev! Let me know if you have a hackathon project or workshop you'd like featured in a future blog.