www.dragino.com
RS485-BL waterproof, battery power , RS485 LoRaWAN Converter User Manual 2 / 38
1. Introduction .............................................................................................................................. 4
1.1 What is RS485-BL RS485 to LoRaWAN Converter ....................................................................... 4
1.2 Specifications .............................................................................................................................. 5
1.3 Features ...................................................................................................................................... 5
1.4 Applications ................................................................................................................................ 6
1.5 Firmware Change log ................................................................................................................. 6
1.6 Hardware Change log ................................................................................................................. 6
2. Pin mapping and Power ON Device ........................................................................................... 7
3. Operation Mode ....................................................................................................................... 8
3.1 How it works? ............................................................................................................................. 8
3.2 Example to join LoRaWAN network ............................................................................................ 8
3.3 Configure Commands to read data .......................................................................................... 13
3.3.1 Configure UART settings for RS485 or TTL communication ............................................ 13
3.3.2 Configure sensors ........................................................................................................... 14
3.3.3 Configure read commands for each sampling ................................................................ 15
3.3.4 Compose the uplink payload .......................................................................................... 18
3.3.5 Uplink on demand .......................................................................................................... 21
3.3.6 Uplink on Interrupt ......................................................................................................... 22
3.4 Uplink Payload .......................................................................................................................... 22
3.5 Configure RS485-BL via AT or Downlink ................................................................................... 23
3.5.1 Common Commands: ..................................................................................................... 23
3.5.2 Sensor related commands: ............................................................................................. 23
Choose Device Type (RS485 or TTL) ......................................................................................... 23
RS485 Debug Command (AT+CFGDEV) .................................................................................... 24
Set Payload version .................................................................................................................. 25
Set RS485 Sampling Commands ............................................................................................... 25
Fast command to handle MODBUS device ............................................................................... 26
RS485 command timeout ......................................................................................................... 27
Uplink payload mode ............................................................................................................... 27
Manually trigger an Uplink ....................................................................................................... 27
Clear RS485 Command ............................................................................................................. 27
Set Serial Communication Parameters ..................................................................................... 28
Control output power duration ................................................................................................ 28
3.6 Buttons ..................................................................................................................................... 29