Skip to main content

RAK GPIO Pin Mapping

RAK GPIO Pin Mapping

The RAK4631 uses symbolic labels for its I/O Pins on the module and baseboard silk screens. The following table shows the mapping of the RAK4631 GPIO pins to the corresponding Arduino pins and the MCU Port numbers.

RAK PinnRF52840 PinArduino GPIORemark
IO1P0.1717used for GPS PPM signal if GPS module is connected
IO2P1.0234used to power all peripheral modules, not available for user application
IO3P0.2121
IO4P0.044
IO5P0.099The 'User Button' is mapped here.
IO6P0.1010
IO7P0.2828
SW1P0.011
A0P0.04/AIN2A2
A1P0.31/AIN7A7
SPI_CSP0.2626

When configuring GPIO pins in your device settings, the Arduino GPIO numbers should be used.

Example
meshtastic --set external_notification.output 10

This will use IO6 on a RAK4631

Note

There is no usable GPIO pin on any RAK base board except the 'big' baseboard RAK19001 without adding a RAK13002 IO module or a third party IO sensor breakout.