Please Note: This version is obsolete. It is left for reference only! See the changes.md file for details.
The Milli Shield CoAP Server consists of two folders:
Folder Name | Content |
---|---|
mshield | The Arduino Sketch dependent on the CoAP Server library |
ssni_coap_server | The Itron CoAP Server Library |
-
From the Milli5-Arduino CoAP Server repository, copy the sub-folder
mshield
toC:\Users\<user>\Documents\Arduino
Note: Replace with your Windows user name. -
Download the folder
ssni_coap_server
toC:\Users\<user>\Documents\Arduino\libraries
-
Download and install the Arduino IDE 1.8.7 from https://www.arduino.cc/en/Main/Software
-
In the preferences, locate the field "Additionial Board Manager URLs". Add this URL to the list:
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
-
Using the board manager, add the Adafruit SAMD boards. Select the Adafruit Metro M0 Express board.
-
In the folder Arduino\mshield, click on mshield.ino and your Arduino IDE will launch
-
In the IDE, go to the Sketch menu and choose Include Library, and select ssni_coap_server from the Contributed Libraries section
-
In the IDE, go to Sketch/Include Library/Manage Libraries
-
In the search bar, type RTCZero
-
Click on "More info"
-
In the drop-down menu, select v1.5.2 and click Install
-
The following libraries are needed to support the DHT-11 temp sensor (these are needed even if you do not hook a DHT-11 up):
-
Use Manage Libraries to locate and install the following libraries:
-
Adafruit Unified Sensor v1.0.2
-
DHT Sensor Library v1.3.0
-
Build and upload the application to your Adafruit Metreo M0 Express board. Explore and have fun!