Examples for the MKR1000, MKR1010, and Nano 33 IoT

View the Project on GitHub tigoe/Wifi101_examples


These examples are for the Arduino WiFi101 and WiFiNINA libraries. The former works with the Arduino MKR1000 board, and the latter work with the MKR1010, Nano 33 IoT, and Uno WiFi rev 2 boards. Many of these examples are also compatible with the ESP8266WiFi library, which has a similar API to the WIFi101 and WiFiNINA libraries.

Many of these examples also use the ArduinoHttpClient and Arduino_JSON libraries.

Credentials Header file

All of these examples expect you to add an arduino_secrets.h header file to the sketch with the following information:

#define SECRET_SSID "" // your WiFi access point name
#define SECRET_PASS "" // your WiFi password

Some sketches will add other constants to that file as well. These files are ignored by the git repo using .gitignore.

WiFi Connection

Arduino HTTP Clients

HTTP Servers

TCP and UDP Examples

OSC Examples