Arduino IDE Setup
The first thing you will need to do is to download the latest release of the Arduino IDE. We recommend to use version 2.0 or higher :
After you have downloaded and installed the latest version of Arduino IDE, you will need to start the IDE and navigate to the Preferences menu. You can access it from the File menu in Windows or Linux, or the Arduino menu on OS X.

In the Preferences window, look for the setting labelled Additional Boards Manager URLs. Here, you can add the necessary URLs to access additional boards and libraries. Click on the button at the right of the text field :

This will open a window with a list of URLs (it should be empty if you have a fresh install of the IDE) :

We will be adding a URL to this list, and you will only have to add each URL once. New ElectroSeed boards and updates to existing boards will automatically be picked up by the Board Manager each time it is opened. The URLs point to index files that the Board Manager uses to build the list of available & installed boards.
Copy and paste the link below into the Additional Boards Manager URLs option in the Arduino IDE preferences :

This will add support for ElectroSeed boards in the board manager :
ElectroSeed SAMD Boards - Includes support for Tiny SamD21 M2, SamD21 WB, MicroMod SamD21 and MicroMod SamD21J
Once done click OK twice to save the new preference settings. Now we will look at installing boards with the Board Manager.
Click on the board icon on the left side of the IDE and type "electroseed" in the "Filter your search..." field :

Then click INSTALL, this will install all ElectroSeed SAMD boards.
If you are using an older version of the IDE, you may also open the Boards Manager by navigating to the Tools->Board menu :

Next you can install the ElectroSeed SAMD package to add the board file definitions
Make sure you have Type All selected to the left of the Filter your search... box
You can type electroseed in the top search bar, then when you see the entry, click Install
Quit and reopen the Arduino IDE to ensure that all of the boards are properly installed. You should now be able to select and upload to the new boards listed in the Tools->Board menu.
Select the matching board, the current options are:
Tiny SamD21 M2
SamD21 WB
MicroMod SamD21
MicroMod SamD21J

Windows 7 and 8.1
Windows 7 and Windows 8.1 have reached end-of-life and are no longer supported. They required driver installation. A limited set of drivers is available from Adafruit for older boards, but drivers for most newer boards are not available.
Blink
Now you can upload your first blink sketch!
Plug in the SAMD21 WB or any other ElectroSeed board, and wait for it to be recognized by the OS (just takes a few seconds). It will create a serial/COM port, you can now select it from the drop-down, it'll even be 'indicated' as SAMD21 WB or whatever the board is named!
In the File menu, click on 'Examples/01.Basics/Blink', this will load the blink example.

And click upload button !

You can also select 'Upload' in the Sketch menu, or type CTRL-U on your keyboard.

Successful Upload
If you have a successful upload, you'll get a bunch of red text that tells you that the device was found and it was programmed, verified & reset
That's it, you will be able to see the LED blink rate change as you adapt the delay() calls.
If you are having issues, make sure you selected the matching Board in the menu that matches the hardware you have in your hand.
Manually bootloading
If you ever get in a 'weird' spot with the bootloader, or you have uploaded code that crashes and doesn't auto-reboot into the bootloader, click the RST button twice (like a double-click) to force the board into the bootloader mode.
The red LED will pulse and/or RGB LED will be green, so you know that it is in bootloader mode.
Once it is in bootloader mode, you can select the newly created COM/Serial port and re-try uploading.
Last updated

