Help Needed: Controlling RAK5860 Module Power State with RAK4630 via WIS_PWRKEY

Hi,

I am working with a RAK4630 module paired with an RAK5860, and I am trying to control the power state of the RAK5860 module using the WIS_PWRKEY as mentioned in the documentation. I believe that WIS_PWRKEY is connected to pin 29, but I am unsure if this is correct or if I am implementing the control sequence properly.

Here’s the code snippet I’ve been testing:

#include <Wire.h>
#include <Adafruit_TinyUSB.h>
#include "Arduino.h"

#define WIS_PWRKEY_PIN 29 // Assuming pin 29 is the WIS_PWRKEY

void setup() {
  pinMode(WIS_PWRKEY_PIN, OUTPUT);
}

void loop() {
  // Turn on the module
  digitalWrite(WIS_PWRKEY_PIN, HIGH);
  delay(1000); // High for 1 second to turn on
  digitalWrite(WIS_PWRKEY_PIN, LOW);
  delay(15000); // Wait for 15 seconds

  // Turn off the module
  digitalWrite(WIS_PWRKEY_PIN, HIGH);
  delay(1500); // High for 1.5 seconds to turn off
  digitalWrite(WIS_PWRKEY_PIN, LOW);
  delay(15000); // Wait for 15 seconds before toggling the power again
}

I’m attempting to toggle the power state of the RAK5860 every 15 seconds using the above code. Can anyone confirm if pin 29 is indeed the correct pin for WIS_PWRKEY on the RAK5860, or should I be using a different pin? Any guidance or corrections on my code would also be greatly appreciated.

Thank you!

ah! I think I just figured it out from another thread. WB_IO1 controls the PWRKEY

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.