User Manual
HC‐12WIRELESSRFUARTCOMMUNICATIONMODULEV2.4USERMANUAL
WEB:www.hc01.com
PAGE 6
⑵ Command explain
① AT
Test command
Example:
Send the module command “AT”, module returns “OK”。
② AT+Bxxxx
Change the UART baud rate command. Can set the baud rate of 1200bps, 2400bps, 4800bps,
9600bps, 19200bps, 38400bps, 57600bps and 115200bps. Factory defaults to 9600bps.
Example:
Setting module UART baud rate is 19200bps, please send the module command
"AT+B19200", module returns "OK+B19200".
③ AT+Cxxx
Change the channel of the wireless communication, from 001 to 127 (more than 100 after
the wireless channel, communication distance is not guaranteed). The default value of the
wireless channel is 001, and the working frequency is 433.4MHz. The step of the channel is
400KHz, the frequency of channel 100 is 473.0MHz.
Example:
Set the module to work to channel 21, please send the module command "AT+C021", the
module returns "OK+C021". After exiting the AT command mode, the module works in the
channel 21, and the operating frequency is 441.4 MHz.
Note: due to the wireless receiver sensitivity of HC-12 module is relatively high, when the
UART baud rate is greater than 9600 bps, must be staggered 5 adjacent channels to use. When
the UART baud rate is less than 9600 bps, if the short distance (10 meters) communication, also
need to stagger 5 adjacent channels.
④ AT+FUx
Change module UART transmission mode, there are FU1, FU2, FU3 and FU4 four modes.
Module default mode is FU3, the UART transmission mode of the two module must be set to the
same as the normal communication. Please see the above "wireless UART transmission" section
of the introduction.
Example:
Send the module command "AT+FU1", the module returns "OK+FU1".