2
\$\begingroup\$

I need to do when the module have connected power supply, it will automatically turn on the module. Because is there a PWRKEY button, probably grounding it or give on that pin VDD_EXT will not work. I've read whole Hardware documentation, but I found only schemes where is turning up via transistor or button, but nothing about automatically turn on. This feature have for sample SIM800L coreboard, but scheme of that board isn't available.

power logic timing

\$\endgroup\$
3
  • \$\begingroup\$ The question is unclear a bit. Do you want to power in the SIM800 module automatically? But when? \$\endgroup\$
    – User323693
    Commented Feb 19, 2017 at 2:13
  • \$\begingroup\$ @Umar Yes, I want to power in the SIM800 module automatically when module got power \$\endgroup\$
    – GAMELASTER
    Commented Feb 19, 2017 at 8:05
  • \$\begingroup\$ Do you have datasheet if that module, if yes, pls add it in the question. What kind if switch is it. Momentary or latch type? \$\endgroup\$
    – User323693
    Commented Feb 19, 2017 at 12:29

6 Answers 6

5
\$\begingroup\$

To automate the startup of sim800/sim900 module just keep the pwrkey shorted to ground always. As the supply will be provided modem will be on.

\$\endgroup\$
2
\$\begingroup\$

I've just been reading through the SIM5360 datasheet and it points out that you can just connect PWRKEY to GND to ensure automatic startup of the module (SIM5360_Hardware_Design_V1.06.pdf, page 28), and I think it's very likely applicable to the SIM800.

\$\endgroup\$
1
  • \$\begingroup\$ Yeah, it's very possible, but I can't test it now. I will try it later \$\endgroup\$
    – GAMELASTER
    Commented Jul 11, 2017 at 21:09
2
\$\begingroup\$

You can connect the the PWRKEY to ground through a resistor and then command the module with an MCU GPIO port. Make sure to keep the GPIO LOW all the time, specially during startup so that the module turns ON. To turn it off issue the AT commant AT+CPOWD=0, tu turn it back on, send a 1 second high, followed by 2 seconds low and then 1 second high.

This way you can turn it on / off at will and programatically.

Good luck.

\$\endgroup\$
1
  • \$\begingroup\$ "AT+CPOWD=0" turns off the module immediately, use "AT+CPOWD=1" for normal power off. \$\endgroup\$ Commented Dec 29, 2020 at 10:59
1
\$\begingroup\$

I have come up with my own discrete circuitry to generate the small negative going pulse after Power on. the green one is the final regulated power supply (3.3 V), The blue pulse will be initially high, goes low after about 10s of ms. And stays low for more than a second (requirement for Power button). then stays high for the whole duration of the operation.

enter image description here

you can tweak the values of C1 and R1 to vary the negative pulse width. C2 can be varied to smooth the rising edge of the pulse.

EDIT
You can also omit R4 as there is a 100k Pullup already internal to module.

\$\endgroup\$
1
  • \$\begingroup\$ Were you able to get the system working? \$\endgroup\$
    – User323693
    Commented Feb 21, 2017 at 12:31
0
\$\begingroup\$

for Sim800c you should add this code in setup

SoftwareSerial Kapadokya(10, 11); // tX, rX

void setup() {
  Serial.begin(9600);

  pinMode(9, OUTPUT);           //PWRKEY is connectted to pin 9
  digitalWrite(9, HIGH);
  delay(2000);
  digitalWrite(9, LOW);         //if you dont add LOW, it cant turn off anymore
  Kapadokya.begin(9600);

}
\$\endgroup\$
0
\$\begingroup\$

You can connect PWR KEY to ground always , but in that case you can't reset it via PWR KEY again. You need to do keep it disconnected from Ground after 1.5s < 55s

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.