nRF9160 DK v1.1.0

Buttons, slide switches, and LEDs

The nRF9160 DK has four LEDs, two buttons, and two switches for simple user interaction. By default, they are connected to nRF9160 General-Purpose Input/Output (GPIO)s as shown in the following table.

To change default nRF9160 GPIO connections, see nRF9160 DK board control

Table 1. Button and LED connection
Part GPIO
LED 1 P0.02
LED 2 P0.03
LED 3 P0.04
LED 4 P0.05
Button 1 P0.06
Button 2 P0.07
Switch 1 P0.08
Switch 2 P0.09

The nRF52840 System on Chip (SoC) can be used to control the connection of any of the LEDs, slide switches, or buttons. Optionally, any LED, slide switch, or button can be routed to an I/O expander. See I/O expander for more information.

The buttons and switches are active low, meaning that the input will be connected to ground when the buttons are pushed or switches slid to the GND position. The buttons and switches have no external pull-up resistor, and therefore the P0.06, P0.07, P0.08, and P0.09 pins must be configured as an input with an internal pull-up resistor.

The LEDs are active high, meaning that writing a logical one (1) to the output pin will illuminate the LED. The nRF9160 GPIOs control power transistors and LEDs are fed from a separate 3.0 V domain. Therefore, LED current will not be drawn from nRF9160 GPIOs or the nRF9160 supply.

Figure 1. Buttons and switches
Schematic: Buttons and switches
Figure 2. LEDs
Schematic: LEDs