Configuring 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 four cloud variables to fetch different properties from the device. The network settings will be different as we are using a GSM series board instead of Wi-Fi. Figure 5.7 shows the complete overview of the Thing:
Figure 5.7 – A portable Thing tracker using the MKR GSM 1400 Thing setup
Set up a new Thing with the name A portable thing tracker using MKR GSM1400
. Then, follow these steps to create cloud variables, an associate device, a network configuration, and finally, the code:
- Firstly, we need to set up four cloud variables for location, altitude feet, satellite count, and speed. The complete details regarding these cloud variables are available in the following section.
- Then, we need to associate the device with the Thing. In the current project...