Book Image

Arduino IoT Cloud for Developers

By : Muhammad Afzal
Book Image

Arduino IoT Cloud for Developers

By: Muhammad Afzal

Overview of this book

The Arduino IoT Cloud offers a variety of features for building modern IoT solutions while reducing time and costs for prototyping and deployment. This book is a step-by-step guide, helping you master the powerful Arduino IoT Cloud ecosystem. This book begins by introducing you to the IoT landscape including its architecture, communication technologies, and protocols and then to the capabilities of the Arduino IoT Cloud platform and the Cloud Editor. With practical projects, such as monitoring air quality, building a portable asset tracker, and creating a remote alarm system using the LoRaWAN specification, you'll learn how to implement real-world IoT applications. Next, you'll explore communication between IoT devices and cloud platforms as well as the implementation of the Arduino IoT Cloud SDK and JavaScript for advanced customization. You'll also find out how to program IoT nodes, analyze the surrounding environment data, and visualize it on dashboards. Additionally, you’ll get to grips with advanced features such as task scheduling, synchronization, remote over-the-air updates for IoT nodes, and scripting with CCLI, through hands-on examples. By the end of this book, you’ll have learned how to work with the Arduino IoT Cloud platform and related hardware devices and will be able to develop industry-specific and cost-effective IoT solutions, such as smart homes and smart agriculture.
Table of Contents (21 chapters)
1
Part 1: Introduction to IoT and Communication Technologies and the Arduino IoT Cloud
5
Part 2: Getting Hands-On with Different Communication Technologies
9
Part 3: Exchanging Data between Nodes and Cloud Applications
14
Part 4: Learning Advanced Features of the Arduino IoT Cloud and Looking Ahead

What this book covers

Chapter 1, Introduction to IoT and Arduino, covers IoT architecture along with security and Arduino.

Chapter 2, First Look at the Arduino IoT Cloud, explores the practical demonstration of the Arduino IoT Cloud with MKR Wi-Fi 1010 and Node-RED to connect old friends (older/non-compatible devices) with the Arduino IoT Cloud.

Chapter 3, Insights into the Arduino IoT Cloud Platform and the Cloud Editor, provides an overview of the Arduino IoT Cloud features, including things, devices, and dashboard widgets, and finally, we will take a deeper look at the Cloud Editor.

Chapter 4, Project #1 – A Smarter Setup for Sensing the Environment, offers a project that will practically demonstrate how to deploy a smart sensing node using WeMos D1 Mini, DHT22, and MQ-135 to send environment data to the Arduino IoT Cloud, visualizing it with stunning widgets.

Chapter 5, Project #2 – Creating a Portable Thing Tracker Using MKR GSM 1400, examines asset tracking and demonstrates how to track assets using MKR GSM 1400 and GPS module, visualizing the data using a map widget in the Arduino IoT Cloud.

Chapter 6, Project #3 – A Remote Asset Tracking Application with LoRaWAN, explores long-range communication using LoRaWAN technology. We will set up the LoRaWAN node, including the LoRaWAN Gateway, to track assets using MKR WAN 1300 and a GPS module.

Chapter 7, Enabling Communication between Different Devices, provides a practical demonstration of how to set up cloud variable sync across multiple things, enabling Thing to Thing communication by simply using a graphical user interface without any coding.

Chapter 8, Working with the Arduino IoT Cloud SDK and JavaScript, explores how developers can interact with the Arduino IoT Cloud using the JavaScript SDK, which includes API key setup and performing operations on Things, devices, cloud variables, and dashboards using JavaScript.

Chapter 9, Project #4 – Collecting Data from the Soil and Environment for Smart Farming, focuses on smart agriculture. We will explore how to sense soil moisture, soil temperature, and so on to make our agriculture smarter and more robust.

Chapter 10, Project #5 – Making Your Home Smarter by Voice Assistant, delves into smart homes. We will create a smart lamp using the WS2812 RGB ring and XIAO ESP32C3 and link the device to the Arduino IoT Cloud, as well as integrate the Arduino IoT Cloud with Amazon Alexa for a voice assistant experience.

Chapter 11, Implementing the Arduino IoT Cloud Scheduler and Over-the-Air Features, provides a practical demonstration of how to use the Cloud Scheduler in Arduino IoT Cloud to automate operations that are time-dependent. In the second part of the chapter, we will explore Over-the-Air (OTA) update features, which help us to send updates over the air without any physical connectivity to devices.

Chapter 12, Project #6 – Tracking and Notifying about Your Heart Rate, offers a practical demonstration of a smart health project, where we will use XIAO ESP32C3 with a heart rate monitoring sensor to build a wearable product, which will send data to the Arduino IoT Cloud. Then, we will use Webhooks to send our beats per minute (BPM) to Zapier for notification alerts.

Chapter 13, Scripting the Arduino IoT Cloud with Cloud CLI, teaches you how to perform operations on the Arduino IoT Cloud using the command-line tool, which includes operations on devices, Things, and dashboards, as well as OTA. This chapter will help you learn the commands and prepare you to create your own batch scripting for automated operations.

Chapter 14, Moving Ahead in the Arduino IoT Cloud, provides details about the different Arduino IoT Cloud pricing plans, including the features of each plan. It also looks at Arduino PRO Hardware and Software for Industrial IoT and provides a complete list of resources for further explorations.