TinyGSM icon indicating copy to clipboard operation
TinyGSM copied to clipboard

How to set power mode by tinyGSM

Open asadi2021 opened this issue 3 years ago • 1 comments

Hi, I am using TinyGSM library for Sim800 connected to esp32 , I want to use deep sleep mode for power saving. but when I use modem.poweroff(); with digitalWrite(SIM800_RST_PIN,LOW); my modem is restart after seconds . Has TinyGSM any function for setting power mode or sim800 power off completely? Thank you

asadi2021 avatar Oct 31 '22 21:10 asadi2021

Something like this happens with Sim7000. powerOff "toggles" PWR_PIN instead of bringing it low, and it happens to work every other time (like powerOn/powerOff cycles brings the module down once every two cycles). I changed powerOff to actually pull down PWR_PIN after sending a poweroff command. That seems to hold...

tronar avatar Feb 14 '24 12:02 tronar