HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD.
FAX:+86-755-23981007 E-MAIL
:
-
30 -
Input
“
ATSM 1<CR>
”
command, the module returns
“
OK
”
, it is used for enabling sleep.
Input
“
ATWR <CR>
”
command, the module returns
“
OK
”
, it is used to save the setting to keep
enabling sleep after restart the module.
Input
“
ATCN <CR>
”
to exit from the AT Command mode. Now, if the pin 9 (DIO5/SLEEP) of
module is high level, it will enter sleep mode, will not response for sending or receiving data.
Setting methods of awaking and canceling the sleep enable:
Keep the pin 9 (DIO5/SLEEP) as low level, the module can be awaken from the sleep mode.
Input 3-character command sequence
“
+++
”
and wait the module returns
“
OK
”
Input
“
ATSM 0<CR>
”
command, the module returns
“
OK
”
, it is used to disable sleep.
Input
“
ATWR <CR>
”
command, the module returns
“
OK
”
, it is used to save the setting to keep
disabling sleep after restart the module.
Input
“
ATCN <CR>
”
to exit from the AT Command mode.
Note: when plugging HAC-LBee/S into the testing board HAC-DEV, the pin 9 (DIO5/SLEEP) is
high level. So when the module with sleep enable function plugs into the testing board, or set the
module work for sleep mode, the module will keep sleeping and will not response for any
commands.
5.4.5 How to change the baud rate?
Using ATBD command, users can change the baud rate. For example change the baud rate to
38400bps (the corresponding parameter is 5):
Input 3-character command sequence
“
+++
”
and wait the module returns
“
OK
”
Input
“
ATBD 5<CR>
”
command, the module returns
“
OK
”
, it is used to set the baud rate as
38400bps.
Input
“
ATWR <CR>
”
command, the module returns
“
OK
”
, it is used to save the setting to keep
38400bps after restart the module.
Input
“
ATFR<CR>
”
command, it is used to restart the module. After restart the module, the serial
port baud rate is 38400bps.
Note: the baud rate of HAC Studio should be same with the serial port baud rate of module. After
changing the baud rate of module, the baud rate of HAC Studio is also needed to be changed for the
same baud rate.
VI.
Assistant Software
We offer a upper software called HAC Studio to help users to test, evaluate and setup the
HAC-LBee/S module. There are 5 parts in total.