2

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

GAMELASTER
  • 135
  • 1
  • 1
  • 5

6 Answers6

4

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.

Pi M
  • 56
  • 2
2

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.

2

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.

Mario
  • 21
  • 1
1

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.

User323693
  • 9,151
  • 4
  • 21
  • 50
0

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);

}
mehmet
  • 1,049
  • 11
  • 32
0

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