How to Use/Configure GPIO Pins on an RN2483 Device

How do I use/configure GPIO pins on an RN2483 device?

The RN2483 module has 14 GPIO pins. These lines can be connected to switches, LEDs, or relay outputs. The pins can be either logic inputs or outputs, and some pins have analog input capability that can be accessed via the module firmware. These pins have limited sink and source capabilities.

The command sys set pinmode <pinname> <pinmode> can be used to set a GPIO as digital output, digital input or analog. The pin name is represented by the string <pinname>. Parameter values can be GPIO0-GPIO13, UART_CTS, UART_RTS, TEST0, TEST1. The pin mode is represented by the string pinmode. Parameter values can be digout, digin, ana. The response is ok if the parameters are valid or invalid_param if the parameters are not valid. More about this command can be found in the "RN2483 LoRa® Technology Module Command Reference User's Guide", which can be found under Documents > User Guides of the RN2483 product page.

© 2025 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.