Wednesday, 8 February 2012

Week 1 : Testing and commissioning GSM/GPRS modem




Objective:
  • To establish the connection between server and the GSM/GPRS modem
  • To test the command and sending message to mobile phone using hyper terminal

Content / Procedure:
  • Use USB converter to serial port to link up server and GSM
  • Establish the connection using hyper terminal 
  • Set up communication port for GSM/GPRS modem
  • Set up parameter for the communication properties
  • Apply the AT command 

Result / Analysis:

The USB converter has been use in this project because of the GSM/GPRS modem itself  only be able to connect with serial. So the USB converter to serial extremely need to connect the server to GSM/GPRS modem. After hardware been connected, hyper terminal application take over to drive the connection. To make sure the connectionreally establish, hardware and software communication port of number must be same. Communication port known as COM port can verify through the device manager. From there, the number of COM port will be know. Then later on, set up the connection using the hyper terminal same with. In hyper terminal, to make sure all the parameter in properties of connection according to require. The most important parameter are baundrate value is 115200 bits per sec should be select and flow control must be select to hardware. This parameter is required in order to establish the connection . ASCII format also need to set in ASCII set up in order ASCII format working. Make sure all the parameter selected as required. After all the connection and parameter has been setup, the command can be apply in hyper terminal window. To see weather GSM/GPRS modem connection status, command AT+CMGS to send be use to check this matter. Hyper terminal will show 'OK' if the message been send to phone target. If hyper terminal not show 'OK' means the message not deliver to target. It may cause of the SIM card password still enable. It needs to disable the password first using command AT+CPIN in order message can be deliver to target. The message is indicating that all the connection of GSM/GPRS modem with server success.

Conclusion:
Hyper terminal is the application we can use to give a command to send a message to mobile phone. The connection consider estalish when the mobile phone able to receive the message from the GSM/GPRS modem exactly same message send from the hyper terminal.



Figure 1: Modem MOD 9001D RS232 GSM/GPRS Modem



Module connection with Hyper Terminal.

1. To connect server to GSM/GPRS modem, RS232 converter has been use to establish the connection.
Once the server has been connect to GSM/GPRS modem through the converter, check the computer device  manager to verify the port connected with the GSM/GPRS modem.

(1). Establish connection.

 -  Establish or Open Hyper Terminal from All Programs --> Accessories --> Communication --> Hyper Terminal
 -  Enter the Name the connection and select the icon as figure 2
 -  Basically this step only for testing the command send to the GSM/GPRS modem through the server


         Figure 2: Connection Description




(2). Setting up usage port.



Figure 4: Device manager



(3). Setting up port parameters.




(4). Setting up property in File Menu of Hyper Terminal




  2.  Input word “AT” then press “Enter” key, it should be response word “OK” means work property. All  commands are executed by pressing “Enter” key.







No comments:

Post a Comment