GSM модуль SIM800L/C/H
Power — 3.7V – 4.2V
Serial port — 2.8V
Host must send “AT” first to sync baud rate. (115200 8N1, no flow control)
Scan cells around
Works without sim card installed
Switch to more verbose output that include LAC
AT+CNETSCAN=1
Perfrom scan
AT+CNETSCAN
AT+CNETSCAN
Operator:"Bee Line GSM",MCC:250,MNC:99,Rxlev:26,Cellid:A5D3,Arfcn:535,Lac:FDEC,Bsic:27
Operator:"Bee Line GSM",MCC:250,MNC:99,Rxlev:22,Cellid:9D55,Arfcn:49,Lac:FDEC,Bsic:10
Operator:"Bee Line GSM",MCC:250,MNC:99,Rxlev:20,Cellid:81CA,Arfcn:53,Lac:FDEC,Bsic:30
Operator:"MTS",MCC:250,MNC:01,Rxlev:36,Cellid:39DB,Arfcn:19,Lac:17D9,Bsic:30
Operator:"MTS",MCC:250,MNC:01,Rxlev:24,Cellid:39DE,Arfcn:872,Lac:17D9,Bsic:3C
Operator:"MTS",MCC:250,MNC:01,Rxlev:23,Cellid:0000,Arfcn:92,Lac:17D9,Bsic:1F
Operator:"MTS",MCC:250,MNC:01,Rxlev:16,Cellid:39DC,Arfcn:99,Lac:17D9,Bsic:38
Operator:"MTS",MCC:250,MNC:01,Rxlev:14,Cellid:0000,Arfcn:873,Lac:17D9,Bsic:2C
Operator:"MTS",MCC:250,MNC:01,Rxlev:20,Cellid:3977,Arfcn:23,Lac:17D8,Bsic:2A
Operator:"MegaFon",MCC:250,MNC:02,Rxlev:37,Cellid:2F49,Arfcn:114,Lac:1E3F,Bsic:33
Operator:"MegaFon",MCC:250,MNC:02,Rxlev:24,Cellid:043D,Arfcn:102,Lac:1E77,Bsic:12
Operator:"MegaFon",MCC:250,MNC:02,Rxlev:25,Cellid:2F4A,Arfcn:751,Lac:1E3F,Bsic:33
Operator:"MegaFon",MCC:250,MNC:02,Rxlev:16,Cellid:2F46,Arfcn:1020,Lac:1E3F,Bsic:33
To find coordinates of cell convert hex to decimal and use opencellid.org
- Operator name
- Mcc - Moblie country code
- Mnc - Moblie network code
- Rxlev- Signal strength
- Cellid - Cell id
- Arcfn - Absolute radio-frequency channel number
Set phone functionality
Minimize power consumption by set minimal phone functionality.
CNETSCAN
will not work in minimal mode.
AT+CFUN=0
- 0 — minimal functionality
- 1 — full functionality (Default)
- 4 — Disable transmit and receive RF
Engineering mode
Can show one neighbor cell. Works without SIM-card.
This mode is much less power consumption than AT+CNETSCAN
AT+CENG=2
Output every 5 seconds. Only one string have both cellID and LAC.
+CENG: 0,"0751,32,00,250,02,51,2f4a,05,00,1e3f,255"
+CENG: 1,"0114,33,51,250,02,1e3f"
+CENG: 2,"0757,05,05,250,02,1e3f"
+CENG: 3,"0752,09,00,,,0000"
+CENG: 4,"0000,00,00,,,0000"
+CENG: 5,"0000,00,00,,,0000"
+CENG: 6,"0000,00,00,,,0000"
Format
+CENG: nubmer,"arcfn,
rx_level,
rx_quality,
MCC,
MNC,
base_station_identity_code(dec),
CELL_ID(hex),
receive_level_access_minimum,
transmit_power_max,
LAC(hex),
timing_advance"
Sleep mode
Enable slow clock for sleep mode
AT+CSCLK=1
When DTR pin is high, module can etner sleep mode.
When DTR pin is low level, module can quit sleep mode.
Firmware version
AT+CGMR
Revision:1418B02SIM800C32_BT
Get IMEI
AT+CGSN
Power Voltage
AT+CBC
+CBC: 0,35,3681
Syntax: charging(0=no,1=yes),battery percents(calulated from voltage),voltage (3,68V in example)