Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino IoT Cloud for Developers

You're reading from   Arduino IoT Cloud for Developers Implement best practices to design and deploy simple-to-complex projects at reduced costs

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781837637171
Length 402 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Muhammad Afzal Muhammad Afzal
Author Profile Icon Muhammad Afzal
Muhammad Afzal
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Introduction to IoT and Communication Technologies and the Arduino IoT Cloud
2. Chapter 1: Introduction to the IoT and Arduino FREE CHAPTER 3. Chapter 2: First Look at the Arduino IoT Cloud 4. Chapter 3: Insights into the Arduino IoT Cloud Platform and Web Editor 5. Part 2: Getting Hands-On with Different Communication Technologies
6. Chapter 4: Project #1 – a Smarter Setup for Sensing the Environment 7. Chapter 5: Project #2 – Creating a Portable Thing Tracker Using MKR GSM 1400 8. Chapter 6: Project #3 – a Remote Asset Tracking Application with LoRaWAN 9. Part 3: Exchanging Data between Nodes and Cloud Applications
10. Chapter 7: Enabling Communication between Different Devices 11. Chapter 8: Working with the Arduino IoT Cloud SDK and JavaScript 12. Chapter 9: Project 4 – Collecting Data from the Soil and Environment for Smart Farming 13. Chapter 10: Project #6 – Making Your Home Smarter with a Voice Assistant 14. Part 4: Learning Advanced Features of the Arduino IoT Cloud and Looking Ahead
15. Chapter 11: Implementing the Arduino IoT Cloud Scheduler and Over-the-Air Features 16. Chapter 12: Project #6 – Tracking and Notifying about Your Heart Rate 17. Chapter 13: Scripting the Arduino IoT Cloud with Cloud CLI 18. Chapter 14: Moving Ahead in the Arduino IoT Cloud 19. Index 20. Other Books You May Enjoy

Initial setup – Thing, network credentials, cloud variables, and code

After setting up the hardware, it’s time to set up Thing in the Arduino IoT Cloud. For this project, we need one cloud variable to control the LED brightness and color, and turn on/off the WS2812 ring, but I am using three different cloud variables so you will get an idea of when and why we need to use these cloud variables, and every variable connects with a specific widget. The network settings will be different from Arduino development boards due to using ESP series board.

Figure 10.8 – Air quality monitoring system Thing setup

Figure 10.8 – Air quality monitoring system Thing setup

Set up a new Thing with the name Voice Controlled Smart Lamp and follow these steps to create variables, associate a device and network configuration, and finally, write the code:

  1. Firstly, we need to set up three cloud variables for the WS2812. Complete details regarding cloud variables are available in the following section.
  2. ...
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 $19.99/month. Cancel anytime