O'Reilly logo

Internet of Things with Arduino Cookbook by Marco Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

M2M alarm system

In this recipe, we are going to apply what we have learned so far about M2M communications to build a simple alarm system that will be completely based on cloud M2M interactions. There will be one or many motion sensors that will send alarm triggers to a central station composed of an LED and a small buzzer.

Getting ready

There are two parts in this project: the motion sensor module, and the central base module with an LED and a sound buzzer.

This is the list of the required components for this recipe, not counting the Arduino MKR1000 boards and the breadboards and wires:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required