Setting up a Thing
After setting up the hardware, it’s time to set up a thing in Arduino IoT Cloud. For this project, we need three cloud variables. Later on, we will associate MKR Wi-Fi 1010 with our thing. Next, we will perform the Wi-Fi network configuration. Figure 7.3 shows a complete overview of the Thing:
Figure 7.3 – Indoor device MKR Wi-Fi 1010 thing setup
Set up a new thing called Indoor Device MKR Wi-Fi 1010
. In Figure 7.3, the following steps are marked with red boxes. Follow these steps to create variables, associate a device, configure the network, and, finally, write the code:
- Firstly, we need to set up three cloud variables for the green LED, the red LED, and temperature (which will be synced with another thing cloud variable). A more detailed discussion of cloud variables is in the upcoming section.
- After that, we need to associate the device with the Thing. In the current project, we are using MKR Wi-Fi 1010...