LoRa AI thinker Deep sleep

Hi

I have searched for how to sett my LoRa in sleep/stop/brake/deep or what mode to save power, I struggle to find examples.

My module is:

Ai-Thinker-Ra-01H

Datasheet

ChatGPT writes this, use AT commands:

// Set low power mode (change the command according to your firmware version)
    ra01hSerial.println("AT+LOWPOWER=1");    delay(500);
// Exit AT command mode
    ra01hSerial.println("AT+EXIT");
    delay(1000);
    Serial.println("Module exited AT command mode.");

My connections are:

//define the pins used by the LoRa transceiver module
#define SCK 14    //D5
#define MISO 12   //D6
#define MOSI 13   //D7
#define SS 15     //D8
#define RST 16    //RST
#define DIO0 D0   //D0 

Any tip you can give me?

Dont use ChatGPT.

That is an SPI based module, it does not accept serial style 'AT' commands.

As for putting the LoRa module to sleep than the unknown LoRa library you are using probably has sleep commands, check its documentation.

1 Like

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