Digital pins for output 3v on Moteino R4 and R6 with RFM95

Started by d00m178, October 28, 2019, 12:36:18 PM

d00m178

Hello

Please advice - which of digital pins on Moteino R4 and R4 with RFM95 module I can use for get output 3v, for example, for controlling mosfet or power switch with load.

so far I can use 6 and 7 pins like:
#define LIGHT_PWR 6

setup()

//LIGHT
    pinMode(LIGHT_PWR, OUTPUT);
        digitalWrite(LIGHT_PWR, LOW);

.........

loop()

  digitalWrite(LIGHT_PWR, HIGH);

..........blabla

  digitalWrite(LIGHT_PWR, LOW);

  LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);


and when Moteino goes to sleep mode these pins are 0v on my multimeter.

but I suddenly realized that pin8 still == 3v in sleep mode which is lead to power my power switch TPS27081A and current drain in sleep mode.
So is there a list of pins that I can use without such behavior?

Felix

It's explained in the guide and on this pinout which pins are used by the FLASHMEM and radio modules.


d00m178

thank you!
pin 5 works better than pin 8 and I have 10uA in sleep mode)