The Arduino Primo combines the processing power from the Nordic nRF52 processor, an Espressif ESP8266 for WiFi, as well as several on-board sensors and a battery charger. The nRF52 includes NFC (Near Field Communication) and Bluetooth Smart. The sensors include an on-board button, LED and infrared receiver and transmitter.
- Tech Specs
The Arduino Primo is the first board developed in cooperation with Nordic Semiconductor. It brings new benefits for the IoT world all on one platform: advanced 32-bit microcontroller architecture, bluetooth low energy (BLE), Wi-Fi, near-field communications (NFC), and infrared (IR) transmit and receive capability.
There are three onboard microcontrollers:
- nRF52832, the main Arduino microcontroller with integrated BLE and NFC
- STM32f103, a service microcontroller used for advanced debugging and programming of the other microcontrollers
- ESP8266, for Wi-Fi and related internet connectivity functions.
The board has:
- 14 digital input/output pins (of which 12 can be used as PWM outputs)
- 6 analog inputs
- 64 MHz ceramic resonator
- micro-USB connector
- ICSP header
- battery charger
- Infrared receiver and transmitter
- NFC antenna
- BLE interface
- two service buttons
- reset buttons (to reset the various microcontrollers).
Arduino Primo can be connected to a computer using a micro-USB cable, or it can be powered using a battery, connected via a 2-pin JST-PH connector. Having both Bluetooth and Wi-Fi connectivity on board makes it easy to get started in the IoT world
WIFI Microcontroller Arduino Microcontroller Service Microcontroller Processor ESP8266 Nordic nRF52832 STM32F103RBT6 Architecture Tensilica Xtensa LX106 ARM Cortex-M4F ARM Cortex-M3 Operating Voltage 3.3 V 3.3 V 2.0 to 3.6 V Flash Memory 4 MB 512 KB 64 KB SRAM / RAM 8 MB instruction12 MB data 64 KB 20 KB Clock Speed 80 MHz 64 MHz up to 72 MHz WiFi 802.11 b/g/n 2.4 GHz - - Wake up time < 2ms - - Analog I/O Pins - 6 + 1 DAC - DC Current per I/O Pins - 15 mA - Bluetooth Smart - BLE4.0: TX power up to +4dBm -96dBm sensitivity in BLE mode - Other features - PDM interface, AES HW enc, NFC tag USB/Uart converter, CMSIS-DAP, GPIO expander, Board power management, IrDA
Arduino Primo is open-source hardware! You can build your own board using the following files:
ProgrammingThe Arduino Primo can be programmed with the Arduino IDE software, as well as 3rd party software. The Arduino is available from Arduino IDE 1.8.x version, downloading the corresponding platform (Arduino NRF52) from the Board Manager.
PowerThe Arduino Primo can be powered three different ways:
- using a micro-USB connector
- connecting a power supply to the Vin pin
- using an external battery connected via the 2-pin JST-PH connector.
When it runs an external 5V(4.75~5.25V ) then it cuts off the battery if the voltage is lower than 3.5V and the switching from a source at the other one is done automatically.
ChargerThe charge current is 340mA as default setting but you can close the solder bridges, in the back of the board, when you need more current .
-HIGH: 910mAThe power pins are as follows:
- VIN. The input voltage to the Arduino board can be supplied using an external power source or battery. It must supply between 2.7V and 5.5V.
- 5V. This pin outputs a regulated 5V power supply voltage that is generated from the onboard regulator. Connecting an input power source to the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.
- 3V3. This pin outputs a regulated 3.3V power supply voltage that is generated from the onboard regulator. Maximum current draw is 50 mA.
- GND. Ground pins.
- IOREF. This pin on the Arduino board provides the voltage reference at which the microcontroller operates. A properly configured shield can read the voltage on the IOREF pin to select the appropriate power source, or to enable voltage translators on the 5V or 3.3V outputs.
MemoryThe nRF52832 has 512 KB of Flash memory and 64 KB of SRAM. There is no onboard EEPROM memory.
Input and OutputEach of the 14 digital pins on the Primo can be used as an input or output, using pinMode(), digitalWrite() , and digitalRead() functions. They operate at 3.3V. Each pin can provide or receive a maximum corrent of 14 mA. In addition, some pins have specialized functions:
- Serial: 0 (RX) and 1 (TX): Pins 0 and 1 are used to receive (RX) and transmit (TX) TTL serial data. On Primo TX and RX LEDs are missing but the ON LED blinks every time you send data over the Serial port of the nRF52
- External Interrupts: all pins (digital and analog) can be used as external interrupts except pins 0 and 1. Keep in mind that you can’t use more than eight interrupt pins at the same time. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.
- PWM: pulse width modulation is available on all digital pins except pins 0 and 1. The 12-bit PWM output resolution can be adjusted using the analogWriteResolution() function.
- SPI: A serial peripheral interface (SPI) bus is available using pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK) as well as using the onboard ICSP header. SPI communication is available using the SPI library.
- LED: There is a built-in LED connected to digital pin 9. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.
- TWI: Two-wire interface (TWI) communication is available from the serial data line (SDA) and serial clock line (SCL) pins (located near AREF). TWI communication is supported using the Wire library.
- AREF. Unlike some other Arduino boards, the analog reference (AREF) pin cannot be used to connect an external reference voltage for the analogRead() command.
- RESET. Bringing the reset line LOW will reset the microcontroller. RESET pin will reset only nRF52832 microcontroller. In order to reset all the three microcontrollers on board use reset button instead
CommunicationThe Arduino Primo has a number of facilities available for communicating with a computer, tablet, or smartphone; another Arduino; or other microcontrollers and devices.
The easiest method to communicate is to use a USB cable between the micro-USB port on a Primo, and a standard USB port on a PC. This is the same method used to communicate between the classic Arduino UNO and a PC, in order to upload sketches. Also like the UNO, the Primo supports a serial monitor function, which enables checking the communication between the board and a PC, and sending text messages and sensor data to help debug or analyze the operation of a sketch.
A SoftwareSerial library allows for serial communication over any of the digital pins.
The nRF52832 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus and the SPI library for the SPI communication.
The board allows wireless communication with other devices via Bluetooth, NFC, WiFi and IR, using specific libraries for each protocol.
The BLE interface allows Primo to communicate with other BLE devices. It can also be used by PCs, tablets, and smartphones. The library used is BLE that allows peripheral and central capabilities.
The NFC peripheral supports type A communication signals at a106 kbps rate. The NFC library is contained in the NRF52 platform for Arduino software (Arduino IDE 1.8.x or later).
The Primo Wi-Fi communication is supported by the ESP8266 module, which includes a self-contained SoC with integrated TCP/IP protocol stack. This module allows connecting the Primo to a Wi-Fi network. The Primo Wi-Fi configuration supports access point (AP) mode, station (STA) mode, and the combination of the two: AP + STA by the WiFi Link library
The CIR library allows the Primo board to interact with a large number of IR sensors. The board has both receiver and transmitter capability, to give full flexibility to your sketches.
Physical CharacteristicsThe length and width of the Primo printed circuit board (PCB) is 2.7 x 2.1 inches respectively. It includes a micro-USB connector and a 2-pin adapter for power via a battery or external supply. Four screw holes allow the board to be attached to a surface or case.
Note that like the Arduino Uno and several other boards, the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.