This GSM modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phone number. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embedded applications. Applications like SMS control, data transfer, remote control and logging can be developed easily.
The modem can either be connected directly to the PC serial port or to any microcontroller through MAX232. It can be used to send and receive SMS or to make/receive voice calls. It can also be used in GPRS mode to connect to the internet and do many applications for data logging and control. In GPRS mode you can also connect to any remote FTP server and upload files for data logging.
To communicate with the network we use ELEMENTZ GSM Modem Test Utility software. It is an executable file which supports serial data transmission and reception similar to HyperTerminal in Windows XP.
How to connect to computer ?
- Firstly insert the SIM card in the sim holder. Make sure to use a normal SIM card (Micro or nano SIM cards are not supported)
- Connect the GSM modem to the usb2serial hardware via DB9 connector. Then using a USB A to B cable connect to the computer.
- Connect a 12V/9V 1A adapter to the power jack provided on the GSM modem. The LM317 voltage regulator regulates the voltage to 3.6V.
- Please note when you connect the power, a RED LED will glow. It shows that the modem has got the power required for its operation.
- When you connect the power , a BLUE LED will glow for approximately 1sec. After that it will blink with a delay of approximately half sec. That means the SIM card is searching for network. If the SIM card has connected to a network, then the BLUE LED will blink with a delay of approximately 4sec. Depending on the network strength, the time to connect to a network may vary. If there is no SIM card in the modem, the BLUE LED blinks with a delay approximately half sec.
The steps required for connecting the modem to the PC is shown below:
Right click My Computer → select the Device manager →Ports(COM & LPT).
Double click ‘GSM Tester.exe→click on Scan ports
Click on “Port” dropdown menu. Select COM Port for your device. Here its COM3.
Connect the 12V/9V 1A adapter to the power jack of the modem. You can see the following details in the status box.
“+CFUN: 1 ”
“CALL READY” This means that the modem is ready for normal functioning.
Please note if SIM is not inserted then it will show “+CPIN: NOT INSERTED”.
Making a CALL
If a call is coming to the GSM modem, a series of “RING” will appear on ths Status box. If you want to connect to the call ,then type “ATA” in the AT command window and press “Execute“.
The first thing you have to do before sending a message is to make the modem to text mode. To do that type ” AT+CMGF=1;&W ” in the AT command window and press execute. DO NOT TYPE THE DOUBLE QUOTES. &W is used to write to the SIM900a memory permanently.
To send a message, type the phone number in Phone number window and the message content in the Message window and press the Send button.
You can see that after the message has been sent, the modem gives a response”+CMGS: 234″. From this you can confirm that message has been sent successfully.
The number 234 means 234 messages has been sent from the modem.
The AT command for sending message is AT+CMGS=”9036800569″. When you press enter , “>” prompt will appear. Type the content of the message and after that press Ctrl+z to send the message.
Which power adapter should I use?
You can use 9V or higher with ampere rating 1A or more. If you use adapter with ampere rating less than 1A there is a chance of modem getting reset when making a call or sending a message, because even though rated at 1A, it may supply only around 800mA.
My modem is showing ‘yyyy’ recurringly?
This is because the modem is getting reset, most probably a power issue. Check the connection for any loose contact. Also check if the power supply is working properly. Consider changing the power adapter with more ampere rating.
No ports are shown in the software after scanning ports. Why?
The USB to UART driver has not been installed correctly or the hardware was not correctly connected to the computer. This can be confirmed by checking for the USB to UART port information in the device manager.
My modem is not connecting to a network?
One reason is the network strength in your area is poor. Move the modem to an area with more network strength.
Another reason is when you put a SIM of different service provider in the modem for the first time. In that case take the SIM back from the modem and reinsert it into your phone and connect to the network. Power OFF the GSM modem. After connecting to the network, take the SIM from the phone and then reinsert it into the modem. Power ON the GSM modem. This should work.
I cannot see anything I type in the modem ?
One reason is that the baud rate is different. The computer and the modem should be set at the same baud rate for proper communication. Try opening modem test utility or putty with different baud rates and try any AT command.For example if the modem is set at 115200 baud rate and computer(modem test utility) is set at 9600 baud rate then it will not communicate. Try opening modem test utility with different baud rates . So when the modem test utility is set at 115200 it will communicate.
Another reason is that ECHO is off. You can easily know the echo is off because the modem responds to your AT commands but the only problem is that you cannot see what you are typing. To turn on echo type ATE1&W<press ENTER>.