MKR1000 Unboxing and Testing (7 Steps)

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

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
× 1

Software apps and online services

Arduino IDE
Arduino IDE

Story

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.

Code

Blink MKR1000

Arduino

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;  
}

Source :  MKR1000 Unboxing and Testing (7 Steps)


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top