Arduino Mkr1000

Hi, i'm new in this world. Can you help me? i have arduino MKR1000 and i don't know how to connect it with WIfi. I download library WiFi101 but how can use it?
Thank you!!! :slight_smile:

Open the IDE.
Click TOOLS , BOARD, BOARD MANAGER.
Select "Arduino SAMD Boards (23-bits ARM Cortex-M0+)
Install that.
Restart the IDE.

Pick one of the examples for the MKR1000 from the WiFo101 examples and upload it to your board.

I would suggest something like the "ScanNetworks.
Once it has uploaded open the serial monitor in the IDE and it should start to list some details.

Examine the example carefully (or the other examples) to see how the sketch works.
Once you understand a little about the sketch you should be able to understand the WiFi side of things a little better

Ensure you have downloaded the CORE files and installed those too.

I hope that these references can help you to solve the problem!

Reference:
"Arduino MKR1000 - DHT - Artik cloud - Hackster.io"

In here, you can see the example about mkr1000+cloud

#include <WiFi101.h>

WiFiSSLClient client;
char ssid[] = "<YOUR SSID>";      //  your network SSID (name)
char pass[] = "<YOUR SSID PASSWORD>";
int status = WL_IDLE_STATUS;

void setup() {

  Serial.begin(9600);
  while (status != WL_CONNECTED){
    Serial.println("Attempting to connect to WiFi");
    status = WiFi.begin(ssid,pass);
  }
  Serial.println("connected to WiFi ");
  
}

I edited from it to connect to wifi

  • the other way that you can connect to wifi is

if you installed "wifi101 library" from library manager, you can see the wifi101 example on arduino ide

It can supports about connection

enjoy with mkr1000!