S3-915M User manual S3-915M User Manual LoraWan Module 1
S3-915M User manual Content 1. OVERVIEW.............................................................................................................................................................................................3 1.1 MAIN PARAMETER.......................................................................................................................................................... 3 1.2 PARAMETER DESCRIPTION................................................................................
S3-915M User manual 1. Overview S3-915M is a standard LoraWan node Module designed and manufactured by BuildingLink, working frequency band 902-928MMHZ, supports CLASS-A/CLASS-C node type, supports ABP/OTAA two network access modes, and at the same time, this module With a variety of low-power modes, the external communication interface uses a standard UART. Users can easily access the standard LoraWan network through AT commands, making it an excellent choice for IoT applications. 1.
S3-915M User manual 2. Terms and definitions 2.1 LoRa LoRa is one of the LPWAN communication technologies, the full name is Long Range Radio; the company that currently dominates the technology is the semtech company; LoRa's main ISM brand is available worldwide for free bands: 433MHz, 470MHz, 868MHz, 915MHz, etc. Features: Low power consumption, long distance, low cost. 2.2 LoRaWAN The LoRa Alliance is an open, non-profit organization led by Semtech in March 2015.
S3-915M User manual 3. Mechanical properties 3.1 S3-915M Dimensions 3.2 Pin definition No. Name Direction Function 1 GND 2 VCC 3 SETB 4 DIO1 Input/output NC (reserved pin) 5 BUSY Input/output NC (reserved pin) 6 I2C_SDA Input/output NC (reserved pin) 7 I2C_SCL Input/output NC (reserved pin) 8 UART_CTS Input/output NC (reserved pin) 9 UART_RTS Input/output NC (reserved pin) 10 GND Ground wire, connected to the power reference ground Power supply, range 2.5-3.
S3-915M User manual ground ★ Antenna interface, stamp hole (50 ohm characteristic 11 ANT 12 GND 13 GND 14 GND 15 GND 16 XRES Input External reset pins 17 ADC_IN Input NC (reserved pin) 18 AUX Input/output NC (reserved pin) 19 SETA Input/output NC (reserved pin) 20 UART_RX Input/output UART RX pin 21 UART_TX Input/output UART TX pin 22 SWD_DATA Input/output SWD Data pin 23 SWD_CLK Input/output SWD Clock pin 24 GND 25 SPI_MISO Input/output 26 SPI_NSS Input/
S3-915M User manual 4. LoraWan application model diagram The complete LoraWan network system consists of: node, gateway, Lora NetWork Server, application server, the node is generally designed by LORA chip; the gateway is designed by SX1301 provided by semtech; Lora NetWork Server now has open source loraserver or commercial TTN (The ThingsNetwork), users can build their own; application server is designed and developed by users, mainly used for data exchange with Lora NetWork Server applications.
S3-915M User manual 5.
S3-915M User manual Note: For the TTN creation device and corresponding configuration process, please refer to 《LORAWAN Node + Gateway TTN Server Configuration Tutorial》 9
S3-915M User manual 6. AT command a) Command format: [op][ para1, para2, para3,…] :Command prefix CMD:Control command [op]:Command operator。Can be the following: “=”:indicates the parameter setting. “?”:Indicates the current value of the query parameter. “”:indicates the execution of the command. “=?”:Indicates the parameters of the query setting instruction. [para-n]:Indicates the set parameter value or specifies the parameter to be queried.
S3-915M User manual CRSSI Get the RSSI value of the channel CNBTRIALS Set the read NbTrans parameter CRM Set the read report mode CTXP Set the read transmit power CLINKCHECK Enable Link check CADR Enable or disable ADR CRXP Set the read receive window parameters CRX1DELAY Set the delay to read TX and RX1 CSAVE Save configuration CRESTOREMAC Restore default configuration IREBOOT System reset CLPM System low power settings ECHO Serial command echo configuration Command Command cha
S3-915M User manual (Read version command identifier) Parameter Description Return value OK : version number description AT+CGMR? Example +CGMR=V4.
S3-915M User manual Description 0:OTAA Return value 1:ABP description Example Precautions Command Command character Type Test AT+CJOINMODE=0 OK Different mode nodes have different network access modes. ABP should use this command before sending data.
S3-915M User manual (Set AppKey) command Query command Setting command AT+CAPPKEY? AT+CAPPKEY = + CAPPKEY: OK OK Parameter Description : Node AppEUI Return value description AT+CAPPKEY=AABBCCDD00112233AABBCCDD00112233 Example Precautions Command Command character Type Test OK Used in OTAA, set or read AppKey, return Y1Y2...Y16, hexadecimal format, and take 16 bytes.
S3-915M User manual OK Precautions Command Command character Type Test Used in ABP, set or read AppSKey, return Y1Y2...Y16, hexadecimal format, which takes 16 bytes.
S3-915M User manual Parameter Description Return value description Example Precautions Command Command character Type Test : 1:Same frequency mode 2:Different frequency mode AT+CULDLMODE=2 OK Set before Join Command Format response AT+CWORKMODE=? +CWORKMODE:“mode” command Query OK AT+CWORKMODE? command Setting CWORKMODE (Set working mode) command +CWORKMODE: OK AT+CWORKMODE= OK Parameter Description : Return value 2:Normal operation mode description Example Precau
S3-915M User manual ( Query the current status of the device ) command Query OK AT+CSTATUS? command Setting : command 00 – No data operation +CSTATUS: OK 01 – Data transmission 02 – Data transmission failed 03 – Data sent successfully Parameter 04 – JOIN succeeded (only in the first JOIN process) Description 05 – JOIN failed (only in the first JOIN process) 06 – The network may be abnormal (Link Check result) 07 – Successful data transmission, no downstream 08 – Send data success
S3-915M User manual 0 – turn off automatic JOIN 1 – The automatic JOIN. module automatically starts JOIN after entering the transparent mode. [ParaTag3]indicates the JOIN period,Range of values:7~255, The unit is s. Factory default: 8。 [paratag4] indicates the maximum number of join attempts.
S3-915M User manual OK+SENT and OK+RECV messages are output. Unconfirm type data: The downlink response will not be requested after the data is sent, and the OK+SEND, OK+SENT message will be returned at the end of each transmission. If the downlink data is received, the OK+RECV message is sent.
S3-915M User manual Command Command character Type Test command Query Command Format AT+DRX=? AT+DRX? command DRX (Receive data) Return value Payload:Hexadecimal string data; description Ono exception in receiving data packet; character Type Test command Query command Setting command Parameter Description Return value description Example Precautions Command Command character Type Test command Query command CAPPPORT (Set the upstream data port number) OK Length: 0 means empty packet; Comma
S3-915M User manual Command Command character Type Test command Query command Setting command CDATARATE (Set the AT+CDATARATE=? AT+CDATARATE? AT+CDATARATE = response +CDATARATE:“value” OK +CDATARATE: OK OK Parameter : as follows: Description Rate value, the factory value is 3, the value range: 0 - SF12, BW125 communication rate) Command Format 1 - SF11, BW125 Return value 2 - SF10, BW125 description 3 - SF9, BW125 4 - SF8, BW125 5 - SF7, BW125 Example Precautions Comma
S3-915M User manual OK Precautions Command Command character Type Test Command Format response AT+CNBTRIALS=? +CNBTRIALS: “MType”,“value” command Query OK AT+CNBTRIALS? +CNBTRIALS:, command Setting CNBTRIALS command OK AT+CNBTRIALS=, OK (Set the number Parameter of times to send) Description :0:unconfirm 包, 1:confirm 包。 Return value :the maximum number of times to send, value range: 1~15; description AT+CNBTRIALS=1,2 Example OK Precautions
S3-915M User manual Example Precautions Command Command character Type Test AT+CRM=1,10 OK Need to set before sending data Command Format response AT+CTXP=? +CTXP:“value” command Query OK AT+CTXP? command Setting command +CTXP: OK AT+CTXP= OK Parameter
S3-915M User manual Y2 is NbGateways Y3 is the downstream RSSI Y4 is the downstream SNR AT+CLINKCHECK=1 Example Precautions Command Command character Type OK +CLINKCHECK: 0, 0, 1, -68, 8 Need to set before sending data Command Format response +CRXP:“RX1DRoffest”,”RX2DataRate Test AT+CRXP=? ”,”RX2Frequency ” command OK +CRXP:,, OK AT+CRXP=,< RX2DataRat
S3-915M User manual OK Precautions Command Command character Type Test command Setting Set how long the rx1 window will open after sending, and set before sending data. It is the protocol default value when not set. Command Format AT+CSAVE=? AT+CSAVE command CSAVE response +CSAVE OK OK Parameter (Save MAC Description : 0: unconfirm package, 1: confirm package.
S3-915M User manual After receiving the instruction, the communication module will reply to OK Precautions and restart the communication module. No further AT commands are received until the restart is complete.
S3-915M User manual 7. FAQ 7.1 Communication range is too short The communication distance will be affected when obstacle exists. Data lose rate will be affected by temperature, humidity and co-channel interference. The ground will absorb and reflect wireless radio wave, so the performance will be poor when testing near ground. Sea water has great ability in absorbing wireless radio wave, so performance will be poor when testing near the sea.
S3-915M User manual 9. Important statement 1. BuildingLink reserves the right of final interpretation and modification of all contents in this manual. 2. As the hardware and software of the product continue to improve, this manual may be subject to change without further notice, and the final version of the manual shall prevail. 3.