Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual [2020/11/30 19:57]
bgfdsuperadmin
manual [2020/11/30 20:40]
bgfdsuperadmin
Line 105: Line 105:
 === Wireless Serial Port Transparent Transmission === === Wireless Serial Port Transparent Transmission ===
 (1) Simple introduction of working principle (1) Simple introduction of working principle
 +
 +{{ hc12:hc12configuration.png }}
  
 As shown in the above diagram, two HC-12 modules can be used in place of As shown in the above diagram, two HC-12 modules can be used in place of
Line 115: Line 117:
 half-duplex link is available between modules, as they can not receive and send half-duplex link is available between modules, as they can not receive and send
 data over the air at the same time. data over the air at the same time.
-(2) Serial port transparent transmission+ 
 +=== (2) Serial port transparent transmission ===
 The HC-12 module has four serial port transparent transmission modes, expressed The HC-12 module has four serial port transparent transmission modes, expressed
 as FU1, FU2, FU3, and FU4. In operation, these modes hide all the details of as FU1, FU2, FU3, and FU4. In operation, these modes hide all the details of
Line 124: Line 127:
 baud rate. Different modes can not transmit data to each other, and the user baud rate. Different modes can not transmit data to each other, and the user
 should select the optimal mode according to practical circumstances. should select the optimal mode according to practical circumstances.
 +
 The modules are usually operated in pairs, with data transmitted by means of a The modules are usually operated in pairs, with data transmitted by means of a
 half-duplex link. For successful wireless transmission, the transparent half-duplex link. For successful wireless transmission, the transparent
Line 130: Line 134:
 are: FU3, 9,600bps (8N1: 8 data bits, no parity, 1 stop bit), CH001 (433.4MHz), are: FU3, 9,600bps (8N1: 8 data bits, no parity, 1 stop bit), CH001 (433.4MHz),
 20dBm power (100mW). 20dBm power (100mW).
 +
 The number of bytes that can be continuously sent to the serial port of the The number of bytes that can be continuously sent to the serial port of the
 module is unlimited in modes FU1 and FU3. However, considering ambient module is unlimited in modes FU1 and FU3. However, considering ambient
Line 136: Line 141:
 at each end of the link should have some sort of response and resending at each end of the link should have some sort of response and resending
 mechanism to avoid information loss. mechanism to avoid information loss.
-(3) The four serial port transparent transmission modes+ 
 +=== (3) The four serial port transparent transmission modes ===
 When the HC-12 module leaves the factory, its default serial port transparent When the HC-12 module leaves the factory, its default serial port transparent
 transmission mode is FU3. In this mode the module remains in full-speed state, transmission mode is FU3. In this mode the module remains in full-speed state,
Line 142: Line 148:
 rate of wireless transmission in the air according to the serial port baud rate, rate of wireless transmission in the air according to the serial port baud rate,
 with the corresponding relationship as shown in the table below: with the corresponding relationship as shown in the table below:
-Serial port + 
-baud rate +|Serial port baud rate |  1200 bps  |  2400 bps  |  4800 bps  |  9600 bps  |  19,200 bps  |  38,400 bps  |  57,600 bps  |  115,200 bps  | 
-1200 +|Baud rate over the air |  5000bps  ||  15,000bps  ||  58,000bps  ||  236,000bps  || 
-bps +
-2400 +
-bps +
-4800 +
-bps +
-9600 +
-bps +
-19,200 +
-bps +
-38,400 +
-bps +
-57,600 +
-bps +
-115,200 +
-bps +
-Baud rate in +
-the air +
-5000bps 15,000bps 58,000bps 236,000bps+
 To get the maximum communication distance, the serial port baud rate should be To get the maximum communication distance, the serial port baud rate should be
 set to be low (1200bps or 2400bps). For short-time transmission of mass data, set to be low (1200bps or 2400bps). For short-time transmission of mass data,