Set up your computer for Arduino development.
Install the Arduino IDE from https://arduino.cc/downloads
Use the Arduino Boards Manager to install the Arduino SAMD Board definitions. Open the Boards Manager using the menu Tools -> Boards -> Boards Manager
Search for "1010" and install the Arduino SAMD Boards (32-bit ARM Cortex-M0+) definitions.
Install the following Arduino Libraries using the Library manager.
- WiFi101 library (search for "WiFi101 WINC")
- WiFiNINA library (search for "NINA")
- Arduino MQTT Client library (search for "ArduinoMQTTClient")
- Arduino BearSSL library (search for "ECCX")
- Arduino ECCX08 library (search for "ECCX")
- DHT sensor library by Adafruit (search for "DHT")
- Adafruit Unified Sensor library (search for "adafruit abstraction")
Open the library manager using the menu Sketch -> Include Libraries -> Manage Libraries
Search for "NINA" and install the WiFiNINA library.
Search for "ArduinoMQTTClient" and install the Arduino MQTT Client library.
Search for "ECCX" and install the ArduinoBearSSL library and the ArduinoECCX08 library.
Search for "DHT" and install the DHT sensor library by Adafruit.
Search for "adafruit abstraction" and install the Adafruit Unified Sensor library.
Linux users probably need to add their user to the dialout group in order to access the serial port.
sudo usermod -a -G dialout <username>
See the Linux Installation Guide for more details.