MKR1000 Unboxing and Testing (7 Steps)

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

  • 3,549 views
  • 11 comments
  • 22 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

Web-Controlled LED Animations with Raspberry Pi and Arduino

Project tutorial by Bruno Portaluri

  • 3,563 views
  • 6 comments
  • 17 respects

Valentine Blink: Wireless LED Hearts

Project showcase by AdiK

  • 1,761 views
  • 13 comments
  • 16 respects

Programming ATtiny13 with Arduino Uno

by Tauno Erik

  • 1,976 views
  • 4 comments
  • 7 respects

Solar Panel Sun Tracker - Phone Charger

Project tutorial by FIELDING

  • 9,712 views
  • 3 comments
  • 50 respects

Bluetooth Controlled Pick and Place Robot

Project tutorial by Ahmed Ebrahem Ahmed

  • 3,985 views
  • 12 comments
  • 25 respects

LEGO Wall-E with Arduino

Project tutorial by monsterbacke

  • 9,015 views
  • 7 comments
  • 56 respects
Add projectSign up / Login