The baud rate is an important parameter when setting the wireless module. This article explain show to set the baud rate correctly.
Firstly,introduce the baud rate briefly. The baud rate indicates the number of symbolsymbols transmitted per second. It is an index to measure the data transmission rate. It is expressed by the number of times the carrier modulation statechanges in a unit time. MCU or computer speed in serial communication. Refersto the change in the unit time after the signal is modulated, that is, thenumber of times the carrier parameter changes in the unit time. For example,the data transmission rate is 240b/s, and each character format contains 10bits (1 start bit, 1 Stop bit, 8 effective data bits). At this time, the baudrate is 240 baud (baud), and the bit rate (effective data bit transmissionrate) is 240 * 10 = 2400 bps (bits per second). (But generally the modulationrate is greater than the baud rate, such as Manchester encoding). The baud ratecan be commonly understood as how many symbols of data a device sends (orreceives) in one second. It is a measure of the symbol transmission rate. 1baud means that one symbol symbol is transmitted per second (through differentmodulation methods, multiple bits of information can be carried on one symbolsymbol). One bit per second It means 1 bit per second. The unit"Baud" itself already represents the number of modulations persecond, and it is a common mistake to use "Baud per second" as aunit.
After understanding the basic concept ofbaud rate, we will know how to set the baud rate. In fact, setting the baudrate indicates setting a communication parameter, and the set value should bebased on actual requirements.
Take the wireless LoRa610 wireless module as an example, our company provides two settingmethods, one is through PC software, and the other is to modify parametersthrough serial port commands. The following is the interface of the PC software. With this PC software, almost all parameters can be set. The interface is as follows.
When setting through serial command, you need to input the command set by our company. For LoRa610 module, the command to modify the baud rate of the serial port is 03,the parameter setting command, the parameters are 14 bytes, the order is as follows: send and receive channel-working frequency band-air communicationrate-transmit power-serial baud rate-serial data —Serial stop bit—Serial check bit—NET ID—NODE ID
Theconfiguration instructions are: AA FA 03 XX XX XX XX XX XX XX XX XX XX XX XX XXXX
Returninstruction: "OK \ r \ n" or "ERROR \ r \ n".
The above is to set the baud rate. I hope to help you.
+86-755-23080616
sales@nicerf.com
Website: https://www.nicerf.com/
Address: 309-314, 3/F, Bldg A, Hongdu business building, Zone 43, Baoan Dist, Shenzhen, China
Privacy Policy
· Privacy Policy
There is currently no content available
Email:sales@nicerf.com
Tel:+86-755-23080616