Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GSM module sending Garbage value.

Status
Not open for further replies.

ALTAMSH

Newbie level 5
Joined
Apr 20, 2019
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
66
When antenna is connected to GSM module, it starts giving garbage values. And if you want to execute any commad it starts giving this +CREG 0 then +CREG 2 after that +CREG 1.
GSM is connected to PC using USB to TTL converter. I am using terminal software(putty).
Lithium Ion battery, 4.4v, is used to power.
 

What GSM module?
What TTL to USB converter?

The message suggests you have a poor GSM signal, the different messages say it is having trouble connecting to the network.

Brian.
 

sim900a GSM module.

What do you mean by poor GSM signal.
 

Hi,

I assume it's caused by your wiring.
--> show us a couple of detailed fotos of the wiring. Power supply, serial connection, modem...

Klaus
 

At first it was operational with the same wiring, power supply and serial connection. but suddenly it started giving garbage values.
 

Maybe it got damaged because it did not had 5V TTL level pins for UART and you directly connected it with 5V MCU's UART pins without using a voltage level translator.

4.4V from battery powers GSM modue but did you set TTL2USB adapter voltage selection jumper to 3.3V side and connected UART pins of it to GSM module? If the jumper on TTL2USB adapter was set to 5V and you connected its UART pins to GSM module then your GSM module's UART module is damaged.
 

im using pl2303 usb to ttl. it gives 3.3v at UART pins
 

Those messages are telling about the connection state to the network. They are saying it is intermittently able to connect, which implies a weak or corrupted link to the GSM network. If there was a problem with the serial link it would show as random characters, not complete messages.

+CREG is the message sent when the module connects, disconnects or is retraining it's data stream to the cell station. Nothing whatsoever to do with the USB link.

Brian.
 

GSM.PNG
This is a screenshot of the GSM response.

This time again, at first it was working. But when i tried to send a massage network was disconnected. Could it be the problem in antenna?
What should I do?
GSM1.PNG
GSM2.PNG
 

Looks like multiple problems at once.
- changing CREG: either antenna or power supply problem
- garbage characters: UART problems, defective modem or a strange kind of broken modem configuration. Try reset to factory configuration
- implausible ERROR messages: different possible reasons, use verbose error messages for distinction

Generally regarding "suddenly it started giving garbage values". Looks like broken solder joint, defective power supply or modem.
 

The module works properly, for commands which don't need network connection, only till it is not searching for network, either you have removed the sim-card or antenna is disconnected.

The persists during connectivity.

UART works fine until the module starts searching for the network.

Some times, once in a while, it does connect to the network and works normal. After some time it goes to the same condition.
 

The symptoms still suggest the problem is due to signal strength. If the USB link was faulty you would not see the correct characters at all.
It could be due to the power source you use, those modules consume a lot of current when transmitting and the actual amount depends on the signal strength at the cell base station. If your power supply is inadequate, the voltage could be dropping during transit bursts and resetting or corrupting the data flow.

Can you show us how you are powering the module and USB interface please.

Brian.
 

I have tried many different power supplies but could not help.

Can this problem induce due to the restrictions on GSM Devices in the country??

Or unregistered device??
 

As a quick test to check whether you have issues with insuficient power supply capacity, and if you have the chance, try making experiments with different telephony operators (e.g replacing current GSM module SIMcard by another) which do not share the same radio base station antennas. If incoming signal strenght is weak, it will force the RF stage of the module to drain more power.

Anyway, just out of curiosity, I would suggest you try monitor received data with a terminal capable of displaying non ASCII data just to check if there exists some pattern on the "garbage" characters, even thought from the images above it seems to happen quite randomly.
 

i have tried different simcards of different operators. i think this is not the issue.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top