Filter results by

GPIO Header Maps

General-Purpose Input/Output (GPIO) pins are generic pins that can be configured for input or output. They are controlled by kernel-level code, but user-level applications can configure and access them through the Linux® sysfs interface (read about it here).

ARTIK 5 and ARTIK 10 modules have several programmable pin interfaces exposed on the developer board, with GPIO pins specifically on headers J26 and J27. ARTIK 7 modules have a similar signal set on a smaller form factor connector. For access:

  • If using the Arduino IDE, the Arduino mappings for the ARTIK 5, 7, and 10 boards are shown below – just use the pin numbers themselves in your code. For the ARTIK 5 and 10, the numbers are also silk-screened (printed) on the boards themselves.

  • If using native development, you will need to map each pin to various GPIO numbers in your program. Refer to the Exploring GPIO tutorial for an overview of how this works, and to Programmable I/O Pins for details of the underlying chip registers.

Once you are familiar with the scheme, the information below provides a quick visual reference to GPIO pin and fixed-purpose programmable pin mapping to both Arduino and sysfs access methods. (The "GPXx" labels refer to ARTIK module signal names.)

Note that the mappings are different for ARTIK 5, ARTIK 7, and ARTIK 10. Be sure you reference the correct tables!

"External" Pin Mapping

If you look at the ARTIK developer board schematics, you’ll see that the pin numbers don’t match the ones in these articles. For the purposes of this guide, we’ve chosen to reference the Arduino pin labeling convention. We call them "external" pins.

ARTIK 710 Pin Mapping

ARTIK 710 Interface Board

The signal names are silk-screen printed on the board. The board provides buffering for tolerance of different voltages, as set by the jumpers.

If you intend to wire these signals for use with Arduino applications, note that the connector layout and signal naming on this board are not compatible with Arduino shields.

ARTIK 710 Headers

A-710 GPIO Mapping

Pin mapping is to the GPIO pin number that is silk-screen printed on board. These are shifted by 2 from the "external" (Arduino shield) signal naming used on the ARTIK 520 and ARTIK 1020 boards.

Silk-screen
printing
sysfs Mapping Related
External signal
[GPIO0] GPIO 128 [2]
[GPIO1] GPIO 129 [3]
[GPIO2] GPIO 130 [4]
[GPIO3] GPIO 46 [5]
[GPIO4] GPIO 14 [6]
[GPIO5] GPIO 41 [7]
[GPIO6] GPIO 25 [8]
[GPIO7] GPIO 0 [9]
[GPIO8] GPIO 26 [10]
[GPIO9] GPIO 27 [11]

The mapping below is for test features specific to the ARTIK 710 board – signals that control or monitor the on-board devices indicated (no external connections are available).

on-board device sysfs Mapping Notes
SW403 GPIO 30 nearest board edge, next to red LED
SW404 GPIO 32 next to blue LED
Red LED GPIO 28  
Blue LED GPIO 38  

ARTIK 710 Test Header Pin Mapping

If you don't need the buffering provided by the interface board, you can attach wires directly to the connector on the main board assembly test header. The view shown looks at the small form-factor connector on the side of the Interposer + Platform board assembly, without the Interface board attached.

Only the Arduino-related signals are shown. Refer to the schematics for complete information.

ARTIK 520 Pin Mapping

The development board provides external connectors J24, J26, and J27 to map ARTIK signals to an Arduino-friendly configuration. Accordingly, the J26-27 signals are numbered as a single run of 0 to 13 from left to right.

ARTIK 520 Commercial Ver. 0.5

The header layout for the most recent ARTIK 5 development board is illustrated below. The red-lined areas hightlight a difference in pinout between this revision and earlier ones: The PWM pins are in a reversed order from previously released boards. Review the PWM Interface section for details. Do not attach an Arduino shield before reviewing.

ARTIK 5 GPIO

ARTIK 5 earlier versions 3.0, 3.3

In addition to the PWM assignment difference noted between the 3.x boards and the newer 0.5 board, one set of headers is on the other side of the level shifter ICs. However, the pins remain the same.

ARTIK 520 Headers

A-520 Header J24 (analog inputs)

external pin Mapping
[A0] Analog input 0
[A1] Analog input 1

A-520 Header J26

external pin sysfs Mapping Notes
[Rx-0] Rx  
[Tx-1] Tx  
[2] GPIO 121 (GPX0[0])
[3] GPIO 122 (GPX0[1])
[4] GPIO 123 (GPX0[2])
[5]
[6]
(pwm functions) These pins are reversed between
rev. 0.5 boards and 3.x boards.
Refer to this section.
[7] GPIO 124 (GPX0[3])  

A-520 Header J27

external pin sysfs Mapping           Notes
[8] GPIO 125 (GPX0[4])
[9] GPIO 126 (GPX0[5])
[10] GPIO 127 (GPX0[6])
[11] GPIO 129 (GPX1[0])
[12] GPIO 134 (GPX1[5])
[13] GPIO 135 (GPX1[6])
[GND] GND  
[Vref] VextIN  
[SDA] I2C7 SDA  
[SCL] I2C7 SCL  

ARTIK 1020 Pin Mapping

The development board provides external connectors J24, J26, and J27 to map ARTIK signals to an Arduino-friendly configuration. Accordingly, the J26-27 signals are numbered as a single run of 0 to 13 from left to right.

ARTIK 1020 Board

Commercial version 0.5 and early version 3.x boards all use the same pinout.

ARTIK 10 GPIO

The ARTIK 1020 early Ver. 2.0 - 2.2 boards had no Arduino-friendly connector; they can be found here.

ARTIK 1020 Headers

Note that the XPWM pins and I2C pins were not activated in the Fedora 20 build.

A-1020 Header J24 (analog inputs)

external pin Mapping
[A0] Analog input 0
[A1] Analog input 1
[A2] Analog input 2
[A3] Analog input 5
[A4] Analog input 6
[A5] Analog input 7

A-1020 Header J26

external pin sysfs Mapping Notes
[Rx-0] Rx  
[Tx-1] Tx  
[2] GPIO 8 (GPX0[0])
[3] GPIO 9 (GPX0[1])
[4] GPIO 10 (GPX0[2])
[5] XPWMO0  
[6] XPWMO1  
[7] GPIO 11 (GPX0[3])

A-1020 Header J27

external pin sysfs Mapping Notes
[8] GPIO 12 (GPX0[4])
[9] GPIO 13 (GPX0[5])
[10] GPIO 14 (GPX0[6])
[11] GPIO 16 (GPX1[0])
[12] GPIO 21 (GPX1[5])
[13] GPIO 22 (GPX1[6])
[GND] GND  
[Vref] VextIN  
[SDA] I2C7 SDA  
[SCL] I2C7 SCL  
Last updated on: