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?
It's explained in the guide (https://lowpowerlab.com/guide/moteino/out-of-box/) and on this pinout which pins are used by the FLASHMEM and radio modules.
(https://farm4.staticflickr.com/3818/10585364014_df2e1604bc_o.png)
thank you!
pin 5 works better than pin 8 and I have 10uA in sleep mode)