Start with Arduino Primo Core

The Arduino Primo Core is the new wearable board based on the Nordic nRF52832 microcontroller.
The board is powered using an external coin battery or using the VIN pin.
For programming the board there are different ways, using:
  • the Bluetooth (soon);
  • an external programmer, for example Atmel ICE;
  • an Arduino Primo.
In all these cases you need of a software called Arduino IDE.

Arduino IDE - download and install


The board is available from Arduino IDE 1.8.x  version, downloading the latest version of platform called Arduino NRF52 from the Board Manager.
You can download the Arduino IDE  from here.

After that you have downloaded the latest version Arduino IDE, extract it using 7-zip.
Now double click to install it, if you have downloaded the installer file.

Launch the Arduino IDE


Click on Arduino icon to launch the IDE:

Arduino IDE

Wait the initialization.
It will appear a screen like this:

Arduino IDE 1.8.1

Download the platform


Follow these simple steps to import the platform on the Arduino IDE 1.8.x:
- Select Boards Manager... from Tools>Boards menu.

Board Manager

- Search the Arduino NRF52 platform. You can scroll the drop down menu or write the name in the top field of the page.

Board Manager

Click on Install.
After the installation the Primo Core will appear in the boards list


Programming using an Arduino Primo


This procedure uses an Arduino Primo to program the board. 
First connect the Arduino Primo Core to the Arduino Primo using a SWD connector.
After plug-in the Arduino Primo to PC by an USB data cable and check that the button onboard is ON position.

IMG_20170525_180159.jpg

Select the board


Select the Arduino Primo Core from Tools>Board menu. 

Select Arduino Primo Core as board.jpg

Note:
The board is available from Arduino IDE 1.8.x  version, downloading the corresponding platform from the Board Manager.

Select port


Select the corresponding port of the Arduino Primo from Tools>Port menu

getting started PrimoCore.jpg

Open the Blink Sketch


Select the Blink sketch from File>Examples>1.Basics menu. 

Select Blink on PrimoCore.jpg

Upload the sketch


Now you can upload the sketch, clicking on Upload button as shown in the below image: 

Blink on PrimoCore.jpg

Wait the end of uploading. 

Blink uploaded on PrimoCore.jpg

If the Uploading is correctly completed then Led onboard will blink.

BLink.jpg


Programming using an external programmer


Another way to program the board is via an external programmer as the Atmel ICE.
First  make sure that the board is powered via coin battery and check that the button onboard is ON position.
After use a SWD connector to connect the Arduino Primo Core to the Atmel ICE and finally plug-in the Atmel ICE to PC using an USB data cable, as shown in the image below.

IMG_20170606_095103.jpg

Select the board


Select the Arduino Primo Core from Tools>Board menu.

Select Arduino Primo Core as board.jpg

Note:
The board is available from Arduino IDE 1.8.x  version, downloading the corresponding platform from the Board Manager.

Select port


It doesn't need to select the port in the Arduino IDE if you are using an external programmer.

Open the Blink Sketch


Select the Blink sketch from File>Examples>1.Basics menu.

Select Blink on PrimoCore.jpg

Upload the sketch


Now you can upload the sketch, clicking on Upload button as shown in the below image:

Blink on PrimoCore.jpg

Wait the end of uploading.

Blink uploaded on PrimoCore.jpg

If the Uploading is correctly completed then Led onboard will blink.

BLink.jpg


Now try to upload another examples or try to create your custom sketch.
For other examples visit the tutorials section.

Note:
In Arduino Primo Core are been created some define that can be used in your sketches, below the complete list:

DEFINE

Note

USER_LED

LED_BUILTIN

Blue  Led onboard

RED_LED

Red Led of RGB

GREEN_LED

Green Led of RGB

BLUE_LED
BLE_LED

Blue Led of RGB


For more information about the board look the below image and visit the Techical Specifics:

PrimoCore Details without magnetometer.jpg