SIM800

From ElectroDragon
Revision as of 02:47, 21 June 2019 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RTU

GIF
  • UART1 - for data transfer and parameter setting
  • UART2 - for standard AT command communication
  • The baud rate is 115200, 8bit data, 1bit stop, no parity
  • NETLIGHT PIN - is used to indicate the network registration status
  • STATUS PIN - is used for power on indication, high level is for power on

To set commands, first enter into commands mode by +++, confirm password by AT+DTUW=900,12345678; after setup, save configuration by AT+DTUW=999; exit commands mode and enter into data mode by ATO

Commands read write
password - AT+DTUW=900,12345678
APN AT+DTUR=1 AT+DTUW=1,CMNET
Link Status - AT+DTUS
IP address AT+DTUR=102 AT+DTUW=102, 167.88.114.101
Port AT+DTUW=103 AT+DTUW=103,9999
Save AT+DTUW=999
exit commands mode ATO
Fail times AT+DTUW=921,3
Restart Module if still fail AT+DTUW=922,1
enter into commands mode +++

SMS

The format is: $SMS number # SMS content SMS$ (Do not add any characters after SMS$)

E.g:  $SMS10086#Test SMS SMS$

When a text message is received, it will be output through the serial port in the same format as the text message sent:

$SMS number # SMS content SMS$

The content of the SMS is GBK code. On Chinese computers, the default is GBK code.

Write the MCU program can be written directly like this:

Sprint(buffer,"$SMS%s#%sSMS$", "10086", "Test SMS");

SIM800C Version Definition

PN Header text Note AT+GMR Split Test China Mobile Test China Unicom
S2-1068S-ZIL1D 24M, basic version 1068S 1418B06SIM800C24 1418B 06 SIM800C24 +CREG: 0,3 0 / 2 loop
S2-10686-ZIL19 24M+BT 10686 stopped 1418B07SIM800C24_BT 1418B 07 SIM800C24 _BT +CREG: 0,1 0 / 2 loop
  • S2-10686-ZIL1E
  • S2-1068F-ZIL1E
24M+BT 10686 1418B08SIM800C24_BT 1418B 08 SIM800C24 _BT +CREG: 0,1 0 / 2 loop
S2-10686-ZIL0T 24M+BT 10686 ? ? ? ?


S2-10688-ZIL0S EAT version 10688 (series are EAT version) -
S2-10698-ZIL0S EAT version 10688 (series are EAT version) -