MKR1000 Unboxing and Testing (7 Steps)

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

  • 3,238 views
  • 11 comments
  • 21 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

Pac-Man LED Pixel Panel Costume

Project tutorial by Ben Muller

  • 5,430 views
  • 4 comments
  • 90 respects

LoRa Gateway for DeviceHive

Project tutorial by DeviceHive IoT team

  • 1,423 views
  • 2 comments
  • 18 respects

IoT Bird Feeder with Sigfox and Tweeter

Project showcase by Gaël Porté

  • 495 views
  • 0 comments
  • 8 respects

Raspberry Pi and Arduino Laptop

Project tutorial by Dante Roumega

  • 18,072 views
  • 6 comments
  • 45 respects

Arduino-Based Automatic Guitar Tuner

Project tutorial by Ben Overzat

  • 3,954 views
  • 0 comments
  • 13 respects

Carfox: A Device to Find Them All

Project tutorial by Luis Roda Sánchez

  • 1,703 views
  • 0 comments
  • 13 respects
Add projectSign up / Login