Mạch thu phát RF NRF24L01 giao thức TTL
Mạch thu phát RF NRF24L01 giao tiếp qua cổng TTL, dễ dàng kết nối với vi điều khiển hoặc máy tính, module sử dụng tập lệnh AT
This is a NRF24L01+ to Serial TTL interface.
All communication can be done via the serial port and AT commands.
The system parameter is set to power down without loss , after power-up , keep the previous state . Built-in watchdog times to prevent lock ups. It is possible to operate in a noisy industrial control environment. It has a RFX2401C RF front-end amplifier chip to maximize the wireless signal. Large 22dBm, effectively increasing the communication distance.
NOTE that many of the command replies are in Chinese!
A maximum of 32 bytes can be sent and received. The first byte indicates the number of data bytes to follow, meaning 1-31 data bytes can be sent in a single message.
For example, we we sent “ABC” (3 bytes), then the actual transmission will be 4 bytes long, with the first by being the number 3 = “3ABC”.
|Length||Byte 1||Byte 2||Byte 3||Byte ..||Byte ..||Byte 31|
|Set the serial baud rate||AT+BAUD=n||n=1,2,3,4,5,6,7, corresponds to 4800,9600,14400,19200,38400,57600,115200|
|Wireless communication transmission rate||AT+RATE=n||n=1,2,3 corresponds to 250Kbps,1Mbps, 2Mbps|
|Wireless receiving local address||AT+RXA=0x??,0x??,0x??,0x??, 0x??||0x?? For the address to be set, the comma must be a comma in English.|
|Wireless destination address||AT+TXA=0x??,0x??,0x??,0x??,0x??||Ox?? Gives the destination address or addresses|
|Wireless communication channel setting||AT+FREQ=2.xxxG||The channel 2.xxx is set to a frequency range of 2.400 GHz to 2.525 GHz, and the over range is invalid.|
|Wireless CRC checksum setting||AT+CRC=n||n is equal to 8 or 16, and the AT+CRC-8 setting check mode is an 8-bit CRC check.|
|Parameter information query||AT?||The system replies to the current system parameters.|
|Initialization command||AT+init||System parameter reset to factory settings|
|Query firmware version||AT+VER||It is convenient to determine the software version and solve system bugs.|
Special Note: The parameters set above will be effective immediately after setting; the system will be powered on again, the parameters will not be lost. After the system parameters are set, they will be automatically stored in the communication module, avoiding the customer’s next use after each setting. The trouble of setting parameters again.