My use case for my Postcard+PortabilityShield is to walk around for 1-2 hours during which I take 10-20 RTK position readings. I keep the Postcard on and connected to the RTN to avoid the hassle and delay of connecting and getting a fix each time. However, while walking around I have no need for the OLED display to be on. So, it was a simple change to RTK_EVerywhere to have the OLED off by default. For me, it comes on when I press a button and stays on for a set amount of time (I use 15 seconds, but that could easily be a configuration setting). The OLED typically only consumes 10-15 mA, but turning the display off helps since I’m using a small LiPo battery.
Hi. That’s a good idea. Did you modify the firmware yourself? How did you connect the button to turn on the screen?
Regards, Angel
Originally, I soldered a wire to GPIO 08, which is the only unused GPIO that is accessible on the PC boards. Today, however, I modified gpioExpanderISR() in Buttons.ino so that any press of the Shield switch can be used:
void IRAM_ATTR gpioExpanderISR()
{
gpioChanged = true;
millisDisplayOn = millis();
}
millisDisplayOn is then used in Display.ino to control how long to keep the display on.
Len