Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670 A7608 SIM7672 series
MIT License
96 stars 42 forks source link

shut down modem #60

Closed rgusso closed 9 months ago

rgusso commented 9 months ago

hi, i'm using the example and i'm able to start the modem using this part:

//A7670 Reset
pinMode(RESET, OUTPUT);
digitalWrite(RESET, LOW);
delay(100);
digitalWrite(RESET, HIGH);
delay(3000);
digitalWrite(RESET, LOW);

pinMode(PWR_PIN, OUTPUT);
digitalWrite(PWR_PIN, LOW);
delay(100);
digitalWrite(PWR_PIN, HIGH);
delay(1000);
digitalWrite(PWR_PIN, LOW);

But now i want to turn it off , how do i do?

HDC67 commented 9 months ago

Have you looked at the AT command reference?

AT+CPOF

Or the Chinese datasheet shows a 2.5 sec pulse for Toff in section 3.2.2

metarsul commented 9 months ago

Or the Chinese datasheet shows a 2.5 sec pulse for Toff in section 3.2.2

This did the trick Thank you