View Single Post
Old 05-07-2012, 09:26 AM   #11
longtu
Đệ tử 6 túi
 
longtu's Avatar
 
Tham gia ngày: Jul 2007
Bài gửi: 146
:
Send a message via Yahoo to longtu
Có bạn email hỏi tôi như sau:
Trích:
bạn có thể cho mình xin cái hướng dẫn sử dụng modul sim908 được không?
Tôi trả lời các bạn như sau:
- Đây là một số lệnh/các bước để bắt đầu làm việc với Sim908:
Chú ý: Lắp SIM vào nhé.
1. Test Commands:
AT Command Description
AT Check communication between the module and PC/Microcontroller.
ATD<Caller Phone Number>; Call to phone number. Ex: ATD0988434887;
ATDL Reial last telephone number.
ATI Display Product Identification Information. Ex: Return:SIM900 R11.0
AT&V Display Current Configuration.
AT+GSV Display Product Identification Information. Ex: SIMCOM_Ltd - SIMCOM_SIM908 - Revision:1137B02SIM908M64_ST
AT+CSQ Signal Quality Report.Ex: +CSQ: 28,0 (<99 Signal is good)
AT+CPIN? Check Sim status. Ex: +CPIN: READY
AT+IPR? Check(Test/Set/Read) Baud rate. Ex: +IPR: 0(Auto_bauding)
AT+CSCA? SMS Service Center Address. Ex: +CSCA: "+84980200030",145
AT+CMTE? Read the temperature when the module is running. Ex: +CMTE: 0,38
AT+CGREG? Network Registration Status. Return: +CREG: 1,1 - Enable Network and Registed.
AT+CGMI Get manufacturer information. Ex: SIMCOM_Ltd
AT+CGMR Get software version. Ex: Revision:1137B02SIM908M64_ST
AT+CGSN Get device IMEI. 861001000034104
AT+COPS? Display the current network operation: +COPS: 0,0,"VNM and VIETTEL"

Trên đây là 1 số lệnh để các bạn Test việc giao tiếp giữa PC/Microcontroller với SIM908.

2. Configuration Command:
* These AT Command will be used in the first times to configuration for SIM908.
1. ATZ Reset default configuration.
2 Echo:
- ATE0 Echo Off. //Nếu muốn tắt Echo
- ATE1 Echo ON.//Nếu muốn mở Echo
3. AT+CLIP=1 Enable display phone number of calling.
4. AT&W Save Active(ATE0 and AT+CLIP=1) Profile.
5. AT+CMGF=1 SMS Text Mode.
6. New message indication:
- AT+CNMI=1,1,0,0,0 New message indication enable and select SIM memory storage.
Return only: +CMTI: "SM",<index>(+CMTI: "SM",1)
Or:
- AT+CNMI=2,0,0,0,0 New message indication enable and select SIM memory storage.
Return:+CMT: "+84988434887","","12/04/21,17:00:26+28"[Noi dung tin nhan]

7.AT+CSAS Save SMS Setting.

Thân,
__________________
--------------------------------------------------------------------------------------
Phùng Minh Tuân
Email: tuan.phmt@gmail.com
"Cuộc đời sóng gió nuôi ta lớn
Bao lần thất bại dạy ta khôn".
longtu vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn