background image

  HAC-LBee/S manual V3.X                            SHENZHEN HAC TECHNOLOGY CO., LTD. 

FAX:+86-755-23981007                E-MAIL

[email protected]

            www.rf-module-china.com       

21 -

 

5.2.13 SH 

<Diagnostics> The SH command is used to set and read the high 32 bits of the RF module's unique 

IEEE 64-bit address.   

Note:  The  64-bit  address  has  been  set  by  the  chip  manufactory  of  the  module  in  the  factory.  The 

chip manufacture ensures the unique 64-bit address for each chip.  In a Zigbee network, the 64-bit 

address  of  each  module  is  unique,  otherwise,  it  will  cause  communication  chaos.  So  we  don

recommend the users to change the 64-bit address (Serial Number). 

 

Command 

ATSH(

Serial Number High

Range 

0-0xFFFFFFFF 

Parameter 

Default Value 

Minimum Firmware Version Required

0x1000 

 

5.2.14 SL 

<Diagnostics> The SL command is used to set and read the low 32 bits of the RF module's unique 

IEEE 64-bit address.

 

Note:  The  64-bit  address  has  been  set  by  the  chip  manufactory  of  the  module  in  the  factory.  The 

chip manufacture ensures the unique 64-bit address for each chip.  In a Zigbee network, the 64-bit 

address  of  each  module  is  unique,  otherwise,  it  will  cause  communication  chaos.  So  we  don

recommend the users to change the 64-bit address (Serial Number). 

 

Command 

ATSL(

Serial Number Low

Range 

0-0xFFFFFFFF 

Parameter 

Default Value 

Minimum Firmware Version Required

0x1000 

 

 

5.2.15 SM 

The  SM  command  is  used  to  set  and  read  the  sleep  state  of  the  module.  The  parameter  is  0-5,  0 

means working state, 1-5 means the sleep state. 

When setting the sleep enable, it is controlled by the pin 9 (DIO5/SLEEP). When it is high level, it 

is sleeping. When it is low level, it is working. 

Under the sleep state, the sleep current is less than 1

µ

A. 

Summary of Contents for HAC-LBee/S

Page 1: ...ol V3 X SHENZHEN HAC TELECOM TECHNOLOGY CO LTD Address Fl 6 Building 2 Jiuxiangling New Industry Park No 4227 Xilihu Road Nanshan Shenzhen China Tel 86 755 23981078 23981076 Fax 86 755 23981007 E mail...

Page 2: ...rf module china com 2 Catalogue I Features of HAC LBee S Wireless Module 3 II Applications of HAC LBee S Wireless Module 4 III Using Methods of HAC LBee S Wireless Module 4 IV Development Kit for HAC...

Page 3: ...Spread Spectrum The 16 CRC verify bits can be used to check mistake 4 The transmitting speed in the air can reach up to 250kbps 5 Transmission Distance Within the visible range the reliable transmissi...

Page 4: ...cs active RFID POS system and wireless handheld terminal III Using Methods of HAC LBee S Wireless Module 3 1 Technical Parameter of HAC LBee S Parameter Name Minimum Typical Value Maximum Unit Electri...

Page 5: ...e Size of HAC LBee S 3 3 Pin Definition of HAC LBee S Pin Definition Input Outp ut Function Instruction 1 VCC IN Power Supply 3 0 3 6V 2 TXD OUT Output serial data 3 RXD IN Input serial data 4 DIO1 IN...

Page 6: ...T Data I O8 14 DIO9 IN OUT Data I O9 15 DIO10 IN OUT Data I O10 16 DIO11 IN OUT Data I O11 17 DIO12 ADC3 IN OUT Data I O12 Analog Input 3 18 DIO13 ADC2 IN OUT Data I O13 Analog Input 2 19 DIO14 ADC1 I...

Page 7: ...stallation for USB Driver d J4 DB9 F RS232 data port Pin Name Definition Pin2 TXD Pin3 RXD Pin5 GND Other pins No Definition e J5 Programming CC2530F256 Program Port Pin Name Definition Pin1 GND Pin2...

Page 8: ...ture Sensor DS18B20 port Pin Name Definition Pin1 GND Pin2 TEP_SEN Pin3 GND i J9 SENSOR I2 C port connect with sensor Pin Name Definition Pin1 3 3V Pin2 SCK Pin3 DATA Pin4 GND j J10 Analog Signals IN...

Page 9: ...LOGY CO LTD FAX 86 755 23981007 E MAIL webmaster rf module china com www rf module china com 9 4 2 Connecting Methods between HAC LBee S and HAC DEV Picture 3 Connecting Methods between HAC LBee S and...

Page 10: ...HAC LBee S manual V3 X SHENZHEN HAC TECHNOLOGY CO LTD FAX 86 755 23981007 E MAIL webmaster rf module china com www rf module china com 10...

Page 11: ...data the serial data is stored in the RXD Buffer The data is packetized and sent at timeout or when 100 bytes maximum packet size are received The destination address under the transparent mode compos...

Page 12: ...y OK It is used to save the setting So the module will enter API mode automatically when restart the module next time Input ATCN CR command to exit from the AT Command mode Now the module works under...

Page 13: ...nd the ATCN Exit Command Mode command followed by a carriage return OR If no valid AT Commands are received within 10 seconds 5 1 4 How to select the working mode The default setting in the factory is...

Page 14: ...ess When combined with DL it defines the destination address used for transmission 0x000000000000FFFF is the broadcast address for the PAN 0 0xFFFFFFFF 0x00 0x1000 DL Networking 64 bit Destination Add...

Page 15: ...he working mode you want such as ATAP 0 CR or ATAP 1 CR If the setting is still needed to be validated after restart the module next time using ATWR CR command to write the setting into Non volatile m...

Page 16: ...n which RF connections are made between RF modules HAC LBee S provides 16 channels 0x0B 0x1A In order for modules to communicate with each other the modules must share the same channel number Differen...

Page 17: ...mode and DT 0 the setting will be effective Command ATDH Destination Address High Range 0x00 0xFFFFFFFF Parameter Default Value 0x00 Effective Conditions Validate immediately Minimum Firmware Version...

Page 18: ...and to write the setting into Non volatile memory Input ATCN CR command to exit from the AT Command mode 5 2 7 FR Special The FR command is used to force a software reset on the RF module The reset si...

Page 19: ...ead the 16 bit source address of the RF module Command ATMY 16 bit Source Address Range 0x00 0xFFFE Parameter Default Value 0x0001 Effective Conditions Validate immediately Minimum Firmware Version Re...

Page 20: ...g ATPL command to setup the power level you want such as ATPL 4 CR Using ATWR command to write the setting into Non volatile memory Input ATCN CR command to exit the AT command mode 5 2 12 RE Special...

Page 21: ...14 SL Diagnostics The SL command is used to set and read the low 32 bits of the RF module s unique IEEE 64 bit address Note The 64 bit address has been set by the chip manufactory of the module in the...

Page 22: ...to write the setting into Non volatile memory Input ATCN CR command to exit the AT command mode 5 2 16 VR Diagnostics The VR command is used to read which firmware version is stored in the module Som...

Page 23: ...ommunication with the module be done through a structured interface data is communicated in frames in a defined order The API specifies how commands command responses and module status messages are se...

Page 24: ...ure as follows Figure UART Data Frame API Specific Structure The cmdID frame API identifier indicates which API messages will be contained in the cmdData frame Identifier specific data Refer to the se...

Page 25: ...Length Bytes API Identifier Frame ID AT Command R value was arbitrarily selected Figure Example API frames when modifying the DL parameter value of the module Length Bytes API Identifier Frame ID AT...

Page 26: ...l end by sending a frame with a status of ATCMD_OK and no cmdData Figure AT Command Response Frames TX Transmit Request 64 bit address API Identifier Value 0x00 A TX Request message will cause the mod...

Page 27: ...PI Identifier Value 0x89 When a TX Request is completed the module sends a TX Status message This message will indicate if the packet was transmitted successfully or if there was a failure Figure TX S...

Page 28: ...input from the serial port of module can be transmitted by broadcast Broadcast under the API mode Under the API mode if users want to send data by 64 bit destination address the command word is 0x00...

Page 29: ...eturns OK Input ATAP 1 CR command the module returns OK it is used to setup the module work under the API mode Input ATWR CR command the module returns OK it is used to save the setting to keep the wo...

Page 30: ...ng 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 mod...

Page 31: ...can communicate with the module normally AT Command page is used to input and output AT Command Range Test is used for the communication test of module it only can run under the API mode AP 1 Setup i...

Page 32: ...ule china com 32 VII Appendix Appendix Installation instruction for USB driver MU series USB to RS232 1 Connect MU USB port to the USB port of your computer A dialog box popups as follow Select No not...

Page 33: ...rf module china com www rf module china com 33 3 In the next dialog box please specify the path where your Windows XP driver located and click next after the correct path is selected 4 A warning messa...

Page 34: ...C TECHNOLOGY CO LTD FAX 86 755 23981007 E MAIL webmaster rf module china com www rf module china com 34 5 After the installation is completed the following dialog box will appear Click on the Finish b...

Page 35: ...86 755 23981007 E MAIL webmaster rf module china com www rf module china com 35 6 To verify and set the parameters of the serial port open the Computer Manager window and select on Device Manager on t...

Page 36: ...FAX 86 755 23981007 E MAIL webmaster rf module china com www rf module china com 36 7 Right click on Prolific USB to Serial Bridge COMx and select on Properties Make sure that the parameters of the p...

Page 37: ...g box Double check and make sure that the advanced setting for selected COM ports has the following settings Click OK when it s done Now the configuration of the serial port has been done You may use...

Reviews: