Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Internet of Things with Arduino Cookbook

You're reading from  Internet of Things with Arduino Cookbook

Product type Book
Published in Sep 2016
Publisher Packt
ISBN-13 9781785286582
Pages 188 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Marco Schwartz Marco Schwartz
Profile icon Marco Schwartz

Table of Contents (14) Chapters

Internet of Things with Arduino Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Connecting an Arduino to the Web 2. Cloud Data Monitoring 3. Interacting with Web Services 4. Machine-to-Machine Interactions 5. Home Automation Projects 6. Fun Internet of Things Projects 7. Mobile Robot Applications Index

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:

  • PIR motion sensor (https://www.sparkfun.com/products/13285)

  • LED (https://www.sparkfun.com/products/9590)

  • 330 Ohm resistor (https://www.sparkfun.com/products/8377)

  • Small buzzer (https://www.adafruit.com/products/160)

Let's now see how to assemble those modules. We are going to start with the motion sensor module. Simply connect the VCC pin of the PIR motion to the VCC of the Arduino board, GND to GND, and finally...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}