MKR1000 Unboxing and Testing (7 Steps)

The first run and the first troubles with the Arduino MKR 1000. FAQ.

  • 4,136 views
  • 11 comments
  • 24 respects

Components and supplies

Apps and online services

About this project

Finally I've got the board Genuino/Arduino MKR1000. It was well packed and fast shipped. But I've not found any instructions or guides even at the internet. So, I've decided to start at random with my Windows PC. 

First, I've plugged in and seen that it requires some USB-driver:

Second, I've decided to let my system find this driver into the Arduino opensource repository. So, I've navigated to https://github.com/arduino/Arduino and downloaded all this repository as a single .ZIP file:

After I got it, I unpacked it and started installation of the driver.

Step 3: Device manager -> "Other Devices" -> Unknown Device -> Right click "Update Driver"

 Step 4: Choose "Browse my Computer..." -> Point it under the folder you just unzipped "\arduino-master" including subfolders.

Step 5: After that your board should appear under "ports" section like this:

Step 6: Next, I must prepare the IDE for this type of board. So, I've just started my Arduino IDE (at least 1.6.7 release) and in the library manager (sketch -> include library -> manage libraries) I've searched for the "mkr1000" string. 

I've seen the only one available library and installed it.

That's it! 

And of course the first program to test the board and to define the onboard LED pin (see below).  The number of blinks is equals to the LEDs port number.

So, in my board the LED is on the 6th pin. 

Enjoy your MKR1000! 

Code

Blink MKR1000Arduino
It uses to define the onboard LED's port
int _ledPin = 0;
void setup() 
{
  // setting up all IO ports as OUTPUT pins
  for(int i=0; i<=14; i++)  
    pinMode(i,OUTPUT);  
}

// method to blink 
void _blink(int port){
  for(int i=0; i<port; i++)
  {
     digitalWrite(port, HIGH);
     delay(300);
     digitalWrite(port, LOW);
     delay(200);
  }
}

void loop() {
  // The number of blinks is equals to the LED's port number
  _blink(_ledPin);
  if(++_ledPin>14)
    _ledPin=0;  
}

Comments

Similar projects you might like

MKR1000 Connecting to the WiFi (3 steps)

by Anton Nazarenko

  • 10,138 views
  • 3 comments
  • 16 respects

Arduino MKR1000 Getting Started

by Dr. Charif Mahmoudi

  • 44,022 views
  • 51 comments
  • 87 respects

MKR1000 Temp and Humidity Sensor

Project tutorial by Don Coleman

  • 17,363 views
  • 11 comments
  • 29 respects

MKR1000 to ThingSpeak.com

Project tutorial by Stephen Borsay

  • 3,316 views
  • 8 comments
  • 9 respects

Send MKR1000 Data to Google Sheets

Project tutorial by Stephen Borsay

  • 9,184 views
  • 27 comments
  • 27 respects

Home Automation with Arduino MKR1000 and Windows 10

Project tutorial by Ioannis Kydonis

  • 8,809 views
  • 1 comment
  • 30 respects
Add projectSign up / Login