Setting up the Thing, network credentials, cloud variables, and code
After setting up the hardware, it’s time to set up the Thing in the Arduino IoT Cloud. For this project, we need three cloud variables to fetch the monitoring parameters from the device, and the Wi-Fi network settings will be different as compared to Arduino development boards, due to the ESP series-based development board. The following figure provides an overview of the Thing, including Cloud Variables, Associating a device, and Network settings with numbers, which will be discussed next step by step:
Figure 4.7 – The air quality-monitoring system Thing setup
Set up a new Thing with the name Sense the Environment
. Follow the next steps to create variables, the associated device, the network configuration, and finally, the code:
- Firstly, we need to set up three cloud variables regarding air quality, humidity, and temperature. The complete details regarding cloud...