Search icon CANCEL
Subscription
0
Cart icon
Cart
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
Arrow up icon
GO TO TOP
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
Toc

Table of Contents (14) Chapters close

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

Basic local M2M interactions


In the first project of this chapter, we are going to learn how to make a very simple case of Machine-to-Machine interaction, by using two Arduino MKR1000 boards. To illustrate M2M communications, we are just going to make them talk via the local Wi-Fi network.

Getting ready

This project will be composed of two Arduino boards. One board will be connected to a simple push button, and the other one to a simple LED. The goal is that whenever the button is pressed, the first board will send the signal to the other board to light up the LED.

These are the components that we will need for this recipe:

  • Arduino MKR1000 board x2 (https://www.adafruit.com/products/3156)

  • Push button (https://www.sparkfun.com/products/97)

  • 1K Ohmresistor (https://www.sparkfun.com/products/13760)

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

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

Let's now see how to assemble the board with the push button. The first step is to place the push button...

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}