AppconWireless RF1276MN Скачать руководство пользователя страница 26

 

RF1276MN Mesh LoRa module 

 

 

26

 / 

30

 

 

 

Example

05 00 01 10 00 02 00 07 03 03 00 03 00 04 00 05 03 AA AA AA BA

 

 

Frame Type

    This Frame is used for sending the user data. User should follow the Frame Format 

to send the data.   

Frame Number

    00 -Fixed   

Command Type

 01 -Sending the data. 

Load Length

10- The load length is the data byte length that beginning with frame load and end 

with the CRC check. 

Destination Address

00 02   

ACK Request

00—No ACK reply

01--ACK reply. We recommend No Ack reply in the 

application. 

Sending Radius

07 . There are 7 level hops in the network. It is fixed value. 

Routing Style

03—Source Routing. It is fixed value. 

The number of Repeaters in the path

03—00 03

 00 04

 00 05 

Data Length

03 Sending 3 bytes   

User Data

AA AA AA   

CRC Check

BA 

11

Wireless Firmware Upgrade 

The RF tool for RF1276MN integrates wireless upgrade functions so that users can upgrade and 

modify them via RF tool. The operation is described as follows. 

The prepared tool before upgrade: 

1: RF1276T standard module, that is used for transmitting upgrade program, a RF1276MN module 

to be upgraded. 

  2

Computer

RF tool

upgrade firmware. 

  3

RF1276MN,connecting wires. 

Procedure

 

      1, Connect the RF1276T module with Laptop via USB adapter. Select the firmware as 

click ’open’ in the upgrade tool. Choose the ‘No longer target device’. 

Frame Header 

Frame Load 

XOR 

Содержание RF1276MN

Страница 1: ...RF1276MN Mesh LoRa module 1 30 Spread Spectrum Wireless MESH Networking Module RF1276MN Distributed MESH Networking Instruction Manual Version V2 0 ...

Страница 2: ...Path Functionality 16 10 Details of operation command 16 10 1 Frame Format of command 16 10 1 1 Universal Frame Format 16 10 1 2 Instruction of Frame Header 16 10 1 3 Frame Load 18 10 1 3 4 Frame End CRC check 20 10 2 Frame Format of Parameter Configuration Command 20 10 2 1 Read and Write the Configuration Parameter 20 10 2 2 Read the Routing Information of Mesh network 22 10 2 3 Read the Version...

Страница 3: ...ture Based on LoRaTM spread spectrum modulation technology 380 510MHz 868MHz and 902 928MHz Free application frequency band Production without debugging 3 3 5 5V wide voltage range can be customized for 2 1 3 6V Micropower emission standard power is 100mw Seven levels can be set Receiving sensitivity up to 148dBm Maximum launch power 20dBm Adopt high efficiency forward error correction coding tech...

Страница 4: ...ater electricity gas and warm meter automatic centralized meter reading system Water conservancy oil field mine meteorological information acquisition equipment Street lamp control system grid monitoring wind solar hybrid system Industrial equipment data wireless transmission industrial environmental monitoring Everything else needs to be wireless instead of wired ...

Страница 5: ...RF1276MN Mesh LoRa module 5 30 4 Dimensions Construction ...

Страница 6: ...wer supply Power range 3 3V 5 5V customized 2 1 3 6V 14 GND PGND GND usually connected to the user s GND Note TXD RXD 3 3V level if the user s MCU is 5V it is suggested to make level conversion for stability 6 Technical Parameters Modulation Mode LoRaTM spread spectrum Working Frequency 380 510MHz 868MHz and 902 928MHz Transmission Power 20dBm Receiving Sensitivity 148dbm Serial Port Speed 1200bps...

Страница 7: ...in the network can be the target of communication 7 2 Introduction of Networking Applications A basic MESH network consists of multiple node modules slave or node and a concentrator module master or root The slave module and master module have two way data interaction which can be repeated by the slave module several times The data flow from master to slave is called down and vice versa The downst...

Страница 8: ...and stable distributed ad hoc network MESH network represents the most advanced level ad hoc network technology can replace the cable point to multipoint and centralized network mode greatly expand the network coverage and network robustness and can effectively reduce the equipment cost and maintenance cost The RF1276MN module is applied in the field of self organizing network such as sensor netwo...

Страница 9: ...ge scale network good robustness and extensibility The single path routing protocol is not suitable for MANET for the following reasons 1 Wireless network node mobility is high bandwidth resources are limited and the connection interrupt rate is high resulting in high network splitting opportunity Single path routing algorithm is too expensive and slow to converge 2 Routing need to be established ...

Страница 10: ...ughput Support 7 level routing network size Figure 8 1 Multipath schematic diagram MESH multipath routing schematic diagram as shown above network topology diagram as shown on the left black line represents the link between nodes The right side is the data link established by A and B the red line is the path from A to B and the blue line is the reverse path The route is built through flood and the...

Страница 11: ... A B C path interference for unstable link but this is also A to have another link quality good path C A D E C Although the path of a b c is closer the success rate of the receiving of the link instability message is very low which will greatly increase the probability of retransmission of the message However if a d e c is selected although the distance is far away it can guarantee the reliability...

Страница 12: ... communication protocol 9 1 Hardware Connection 1 Confirm the interface level of the module TTL 2 Switch the computer serial port to the corresponding level and then connect the module as shown in figure 9 1 Figure 9 1 Wireless module and computer connection diagram TTL 9 2 Parameter Configuration First the serial port parameters of the module can be confirmed and the serial port parameters can be...

Страница 13: ...module 13 30 Figure 9 2 1 Use serial debugging assistant to obtain the current serial port parameters and software version 9 3 The User interface of MESH Network configuration RF tool 9 4 Configuration RF tool Description ...

Страница 14: ...atically at the end of the lifetime Network ID configuration Can be configured as 1 65535 Only modules under the same network address can communicate Node ID configuration Can be configured as 1 65535 As an identifier in the network Uart rate The default is 9600bps configured to be the same as the connection device the baud rate read by the serial debugging assistant Uart check The default is unch...

Страница 15: ...nt the routing path will be filled in The module will push the data according to the set path and the maximum can be set to 6 routes 9 4 1 Check the Routing Function The following is the entire routing process for the 00 01 source sending data to the target of 00 03 of which 00 02 is the routing node between the source and target 00 01 00 02 00 03 00 02 00 01 00 01 00 03 00 03 00 03 00 02 00 01 Do...

Страница 16: ...d the field strength between the two points through the full path in the master device The larger the field strength the stronger the signal Note The customer can use this function to make the routing table of the whole network on the MCU 10 Details of operation command 10 1 Frame Format of command 10 1 1 Universal Frame Format Frame Type Frame Number Command Type Load Length Load CRC Check 1 byte...

Страница 17: ...ation 0x02 The acknowledge from Reading the configuration information 0x82 The acknowledge from Reading the configuration information 0X03 Reading the routing table of mesh 0X83 The acknowledge from Reading the routing table 0x06 Reading the version number 0x86 The acknowledge from Reading the version number 0x07 Reset the module 0x87 The acknowledge from Reset the module 0X08 Read the entire rout...

Страница 18: ... load and end with the CRC check The maximum load length of this agreement is 117 bytes 10 1 3 Frame Load The frame load refers to the parts beginning from the Load length and ending with the CRC check Its format is determined by the types of frames and the types of commands The universal format is as follows 10 1 3 1 The frame load about parameter Configuration and reading The command begins with...

Страница 19: ...ource Data Request Frame Load Format The command begins with 0x05 0x00 0x01 Destination Address ACK Request Sending radius Routing Type Data Length Data 2byte 3byte 1byte 1byte 1byte N byte Frame Load Destination Address ACK Request Sending radius Routing Type Repeater Number Repeater List Data Length Data 2byte 3byte 1byte 1byte 1byte 1byte N 2byte N byte Frame load ...

Страница 20: ...0 01 03 00 E2 Details about the command of Read the configuration parameter 01 Frame type This Frame is internal used The frame can read and write the configuration parameters of modules the route information and version number 00 Frame number fixed 00 02 Command type 02 represents Read configuration parameter 0D Load length There are 13 bytes in the frame load A5 A5 the fixed value for the comman...

Страница 21: ...C Check 10 2 1 2 Write the Configuration Parameter Command 01 00 01 0D A5 A5 6D 00 12 07 17 00 01 00 01 03 00 61 Acknowledge from module 01 00 81 0D A5 A5 6D 00 12 07 17 00 01 00 01 03 00 E1 39 36 30 30 20 20 4E 20 38 20 31 20 59 4C 5F 38 30 30 4D 4E 5F 31 30 30 4D 57 20 56 33 2E 35 0D 0A Details about the command of Write the configuration parameter 01 Frame type Read and write parameters data ty...

Страница 22: ...ll display the version number when it restart 10 2 2 Read the Routing Information of Mesh network We use the the route from source Node ID 00 01 to the Destination node 00 02 as the example to express the command of Read Routing Command 01 00 03 00 02 Acknowledge from module 01 00 83 3C 00 01 02 1D 00 02 00 00 02 7D 51 01 00 Details about the command of Read the Routing information 01 Frame type T...

Страница 23: ...dule firmware Command 01 00 06 00 07 Acknowledge from module 01 00 86 18 59 4C 5F 38 30 30 4D 20 56 31 2E 30 20 32 30 31 37 2D 30 39 2D 30 35 00 D1 Details about the command of Read the Version of module firmware 01 Frame type This Frame is internal used The frame can read and write the configuration parameters of modules the route information and version number 00 Frame number fixed 00 06 Command...

Страница 24: ...rame is internal used 00 Frame number fixed 00 87 Command type Acknowledge of Reset the module 01 Load length 00 Load length 87 CRC Check The version displays by the hex code The reset module will display the version number after reset the module 10 3 Frame Format of Application Data Such as sending the data packet There are two types Frame Format of Application Data The Frame Format depends on th...

Страница 25: ...e are 7 level hops in the network It is fixed value Routing Style 00 Prohibit Routing 01 Automatic Routing 02 Mandatory Routing 03 Source Routing We recommend 00 01 02 Data Length 03 There are 3 bytes of user data User Data AA AA AA CRC Check A0 10 3 2 Source Routing Data Frame Load Format Frame Type Frame Number Command Type Load Length Destination Address ACK Request Sending Radius Routing Type ...

Страница 26: ...s fixed value Routing Style 03 Source Routing It is fixed value The number of Repeaters in the path 03 00 03 00 04 00 05 Data Length 03 Sending 3 bytes User Data AA AA AA CRC Check BA 11 Wireless Firmware Upgrade The RF tool for RF1276MN integrates wireless upgrade functions so that users can upgrade and modify them via RF tool The operation is described as follows The prepared tool before upgrade...

Страница 27: ...e will not erase the setting parameters of the module 12 Antenna Selection The antenna is an important part of the communication system The performance of the antenna directly affects the index of the communication system and the user must pay attention to its performance when selecting the antenna There are generally two aspects 1 antenna type whether the radio coverage of the antenna meets the s...

Страница 28: ...low control In order to ensure the data integrity please try to compress the packet size of single sent avoid the data overflow due to insufficient cache and reduce the probability of packet loss 3 error control The RF1276MN module has strong anti interference ability but under extreme conditions it is inevitable to receive poor reception or packet loss At this point customers can increase the dev...

Страница 29: ...high gain antenna High transmission rate Reduced communication rate including serial port rate and air speed There may be a similar frequency or strong magnetic or power interference Replace the channel or away from the source Unable to communicate properly Incorrect connection Refer to the manual wiring diagram for correct wiring Poor contact Reconnect the power cord and signal wire and weld as s...

Страница 30: ... not match well Replace the good antenna feedback system Serial port or air baud rate setting is incorrect Device rate module serial port rate module air transmission rate are the same Excessive communication rate Communicate rate as low as possible especially in the air Large power ripple Replace the stable power supply The interface cable is too long Replace the cable or shorten the cable length...

Отзывы: