Hello,
My Moteino Mega is drawing 1.5 mA during sleep and I'm not sure what the issue to cause such a high draw would be. My setup is as follows:
- Moteino Mega with RFM69HCW (unaltered except the addition of a μ.FL connector)
- 3 AA batteries in series, connected to VIN and GND.
#include "LowPower.h"
void setup() {
Serial.begin(115200);
}
void loop() {
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
delay(8000);
}
With a Current Ranger, I'm measuring 1590 μA during sleep and ~12 mA out of sleep.
Am I missing a step to possibly disable the RF module?
Thanks,
Kyle
Thank you for the quick and detailed reply. I cleaned any residual flux from the board with ethanol (photo attached of board). I do not have flash memory installed. And indeed, adding radio.sleep() reduced the current draw.
#include "LowPower.h"
#include <RFM69.h>
RFM69 radio;
void setup() {
Serial.begin(115200);
}
void loop() {
radio.sleep();
LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);
radio.initialize(RF69_915MHZ, 1, 1);
delay(8000);
}
Using the above code, I'm now measuring ~23 μA during sleep and ~12 mA out of sleep. This is adequate for my use, but I'm a little curious about the ~10 μA discrepancy.
My production code uses the LMIC library (https://github.com/matthijskooijman/arduino-lmic) for LoRaWAN with ABP. Should I be using RFM69 to take the radio in and out of sleep if I were to use the LMIC library (use them both together), or are you familiar with a similar function within LMIC I should be using instead of radio.sleep()?