Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.23 KB

exercise1.md

File metadata and controls

64 lines (38 loc) · 2.23 KB

Exercise 1 - Development Environment

Set up your computer for Arduino development.

Arduino IDE

Install the Arduino IDE from https://arduino.cc/downloads

Arduino IDE Download

Arduino SAMD Board Definitions

Use the Arduino Boards Manager to install the Arduino SAMD Board definitions. Open the Boards Manager using the menu Tools -> Boards -> Boards Manager

Arduino Boards Manager

Search for "1010" and install the Arduino SAMD Boards (32-bit ARM Cortex-M0+) definitions.

Arduino SAMD Board Definitions

Arduino Libraries

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

Arduino Library Manager Menu

Search for "NINA" and install the WiFiNINA library.

Arduino Library Manager WiFiNINA

Search for "ArduinoMQTTClient" and install the Arduino MQTT Client library.

Arduino Library Manager MQTT

Search for "ECCX" and install the ArduinoBearSSL library and the ArduinoECCX08 library.

Arduino Library Manager Search ECCX

Search for "DHT" and install the DHT sensor library by Adafruit.

Arduino Library Manager Adafruit DHT

Search for "adafruit abstraction" and install the Adafruit Unified Sensor library.

Arduino Library Manager Adafruit Unified Sensor

Linux

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.

Next Exercise 2: Assemble the Hardware