Features
Supply voltage:3.2V~5.5V. (If the module you want to work long hours in the emission state, it is recommended that when the supply voltage exceeds 4.5V threaded a 1N4007 diode to prevent module built-in LDO heated)
Default address range (open field test):About 600m (maximum communication distance adjustable reach 1000m, the baud rate is 5000bps)
Default idle current:16MA (In different working modes operating current is different)
Module dimensions:27.8 x 14.4 x 4mm
Operating frequency range:433.4-473.0MHz, up to 100 channels of communication
The maximum transmit power:100mW (settable)
Module support software upgrade
Default factory settings:Mode FU3, baud rate is 9600bps, communication channels CH001 (433.4M)
AT command set
Module parameters, AT command set
AT command is used to set the parameters of the function module and switching modules need to exit the setting mode after setting to take effect. Meanwhile, modify the parameters and functions, power-down is not lost.
Enter the command mode
The first entry mode – normal use (has the power) in the first 5-pin inchSETinch is set low;
The second mode of entry – power, 5th pin inchSETinch again first set low on power.
Both methods can make the module into AT command mode, release (inchSETinch pin is not connected low) to exit command mode. After the exit command mode, if you change the module function, the function will be cut to the appropriate state.
The second way is fixed in serial format 9600, N, 1 into the AT.
Instructions
1. AT
Test instructions
Example:Send module commands inchATinch, the module returns inchOKinch.
2. AT + Bxxxx
Change the serial port baud rate command. You can set the baud rate is 1200bps, 2400bps, 4800bps, 9600bps, 19200bps, 38400bps, 57600bps and 115200bps. The factory default is 9600bps.
Example:Set the module serial port baud rate is 19200bps, please send module command inchAT + B19200inch, the module returns
inchOK + B19200inch.
3. AT + Cxxx
Change the wireless communication channel, selectable from 001 to 127 (more than 100 radio channels after the communication distance not guaranteed). The default value is 001 radio channels, operating frequency is 433.4MHz. Step channel is 400KHz, the operating frequency of the channel 100 is 473.0 MHz.
Example
Set module to channel 21, please send module command inchAT + C021inch, the module returns inchOK + C021inch.
After exiting the command mode, the module in the first 21 channels, operating frequency is 441.4 MHz.
Note:Because the wireless receiver module sensitivity HC-12 is relatively high, the baud rate is greater than when air 58000 bps, 5 must be shifted to the adjacent channel use. When the air baud rate is not greater than 58000 bps, if the short distance (10 meters) communication, but also need to stagger five adjacent channel use.
4. AT + FUx
Change the module serial pass-through mode, there FU1, FU2 and FU3 three modes. Module default mode is FU3, two serial pass-through mode module must be set to the same communication. See detailed above, inchwireless serial pass-throughinch part.
Example:Send module commands inchAT + FU1inch, the module returns inchAT + OKinch.
5. AT + Px
The default setting is 8, maximum transmit power, communication distances. Transmit power level is set to 1, the minimum transmission power. In general, the transmission power of each drop 6dB, communication distance will be reduced by half.
Example:Send module commands inchAT + P 5inch, the module returns inchOK + P5inch. After exiting the command mode, the module transmit power is +11 dBm.
Package included
3 x HC-12 module
Additional information
Weight | 0.045 kg |
---|
Reviews