Setting up things, networks, and cloud variables
After setting up the hardware, it’s time to set up a thing in the Arduino IoT Cloud. For this project, we need 10 cloud variables to fetch monitoring parameters from the device; the network settings will be different due to the ESP series board. The following figure gives a complete overview of the AgriStack Thing we will set up.
Figure 9.14: Smart agriculture system thing setup
Set up a new thing with the name AgriStack
. Follow these steps to create variables, an associated device, network configuration, and, finally, the code. We have marked the preceding figure with different red boxes and assigned numbers. These numbers correspond to the following steps, which will help you to set up the Thing:
- Firstly, we need to set up 10 cloud variables, as shown in Figure 9.14. There are two cloud variables for outdoor temperature and humidity; these values will be taken from DHT22. There are four...