Electronic – SIM800C GSM module works via PC but not on battery

#nodemcugsmpower supply

Before giving the specifications of my project, I'd like to say that I'm a total beginner in electronics but I do have a background in IT development.

I also want to apologize if this question has been answered already but I can't find any thread that answers this specific question.

I am trying to power a SIM800C GSM module via Li-Ion battery but it doesn't seem to work. The module is powering-up fine and SEEMS to work since it blinks every 3 seconds after a short period (seems it's connected to the network) but when I send the AT command via my PC (going through a NodeMCU), I got no response.

In the meantime, if I power up the module via my PC, it works just fine, the module is able to answer the AT command.

The SIM800C works in an 3.3-4.4 Volts DC input range and on 400mA up to 2A.
My battery outputs 10.8 up to 12.6 Volts DC and 4800mAh.

The amps seemed high to me so I unbuilt the battery and discovered 3 little batteries in series, each outputing 3.7 to 4.2 Volts and 1500mAh.

I then proceeded to power the module with a single little battery and by the led blinking 1 time every 3 seconds I could tell the module was powered-up and theorically working, but still no response on the console.

I also tried to power-it up via the charger of my phone and the same effect goes : The module is powered-up but doesn't take AT commands.

To sum up what works and what doesn't, I'll link two schemas, one is a "working" one and the other isn't.

Below is the working one :

Working schema

And then, the non-working one :

enter image description here

I read here and there that I should use capacitors or resistors, but I am totally lost under all the information.

Do you know how should I proceed to get the answer from AT commands ?

Thanks in advance and once again, sorry for my noobyness

Edit: Here is a photo of the montage. We can see the NodeMCU being powered by USB in the center, the battery in the bottom left as well as the GSM Module (SIM800C) in the bottom right of the picture.

hardware

Best Answer

Have you ensured that there is a shared ground between the SIM800 module and the NodeMCU module? In your first example this common ground would be provided by being connected to the PC over the USB connections but in your second schematic there doesn't appear to be a connection.

Even though you have the NodeMCU GND pin connected to the BOOT pin on the SIM800 you should provide a dedicated ground to make sure that everything shares the same point of reference.

See this post for further information: Why do networks need a common ground cable?