series:

WT5105-L1

name:

WT5105-L1

 

The WT5105-L1 module integrates a 2.4G channel BLE chip and a 433MHZ frequency band LORA chip. BLE is mainly used for short-distance two-way communication with mobile devices, while LORA can do long-distance two-way communication of tens of meters or even kilometers. The module can be connected to the user MCU through the serial port, and establish short-distance two-way communication between the user MCU and the mobile device through BLE

WT5105-L1规格书 V1.0.0(1) 2020-02-01

describe

This module integrates 2.4G channel BLE chip and 433MHZ frequency band LORA chip. BLE is mainly used for short-distance two-way communication with mobile devices, while LORA can do long-distance two-way communication of tens of meters or even kilometers. The module can be connected to the user MCU through the serial port, establish short-distance two-way communication between the user MCU and the mobile device through BLE, and establish ultra-long-distance two-way communication between the user MCU and the mobile device through LORA. The user can read and set some parameters of BLE and LORA through the serial port using the specified AT command. Users can also use the specified channel to read and set some parameters of BLE and LORA through the APP.

sign

Serial port hardware protocol: 115200bps, 8 data bits, 1 stop bit, no parity bit.

The LORA communication packet format is fixed and cannot be modified through AT commands and UUID channels. Packet format: 8symbols preamble, 8symbols sync, variable payload, 2-byte CRC.

After the module is successfully connected, the “BLE_CONNECTED!rn” string will be given from UARTTX, and the P20 pin will output a high level, which can be used to determine whether the normal forwarding operation can be performed according to this string or pin level. When the connection is actively disconnected by the APP side, the “BLE_DISCONNECTED!rn” string prompt will be given from the TX, and the P20 pin will output a low level. If it is abnormally disconnected, the “BLE_DISCONNECTED_FOR_TIMEOUT!rn” string prompt will be given from the TX, and the P20 pin will output a low level.

The size of the serial port data packet can be variable, and the length is preferably any value below 244 bytes.

When LORA is turned on, when UARTRX and BLE terminals come in data, they can be sent out through LORA. When LORA receives external data, it will also be forwarded to UARTTX and BLE.

When LORA is off, LORA will not forward data from UARTRX and BLE, nor will it receive data from other LORAs.

Because the rate of BLE and the rate of UART are too fast, the transmission rate of LORA is relatively slow. So when LORA is sending a data packet, it will pull the P18 pin high, and when there is no data to send, it will pull the pin low. When the user sends data through the serial port, try to check the level status of the P18 pin first. When using BLE to send data, first read the FFA8LORA send status indication channel. Send data when LORA is idle.

The data from UARTRX, if LORA is open, will be uploaded to the APP and LORA to another LORA through BLE respectively. If LORA is off, only upload to APP through BLE alone

BLE receives the data sent by APP, if LORA is open, it will output UARTTX and LORA to another LORA respectively. If LORA is off, only output to UARTTX alone.