8/2/10

Procedure for Sending AT Commands to a Mobile Phone or GSM/GPRS Modem Using MS HyperTerminal

To use MS HyperTerminal to send AT commands to your mobile phone or GSM/GPRS modem, you can follow the procedure below:
1. Put a valid SIM card into the mobile phone or GSM/GPRS modem.
2. Connect mobile phone or GSM/GPRS modem to a computer and set up the corresponding wireless modem driver.
3. Run MS HyperTerminal by selecting Start -> Programs -> Accessories -> Communications -> HyperTerminal.
4. In the Connection Description dialog box, enter a name and choose an icon you like for the connection. Then click the OK button.

5. In the Connect to dialog box, choose the COM port that your mobile phone or GSM/GPRS modem is connecting to in the Connect using combo box. For example, choose COM1 if your mobile phone or GSM/GPRS modem is connecting to the COM1 port. Then click the OK button.
6. The Properties dialog box comes out. Enter the correct port settings for your mobile phone or GSM/GPRS modem. Then click the OK button.
20
7. Type "AT" in the main window. A response "OK" should be returned from the mobile phone or GSM/GPRS modem. Type "AT+CPIN?" in the main window. The AT command "AT+CPIN?" is used to query whether the mobile phone or GSM/GPRS modem is waiting for a PIN (personal identification number, i.e. password). If the response is "+CPIN: READY", it means the SIM card does not require a PIN and it is ready for use. If your SIM card requires a PIN, you need to set the PIN with the AT command "AT+CPIN=".


When we get the responses as above, our mobile phone or GSM/GPRS modem is working properly. Now we can start typing your own AT commands to control the mobile phone or GSM/GPRS modem.

No comments:

Post a Comment