Download Print this page

HAC -LBee/S Manual

2.4g low power data radio module

Advertisement

Quick Links

HAC-LBee/S
2.4G
Low Power Data Radio Module
(Based on 802.15.4 protocol)
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
: webmaster@rf-module-china.com
Website
: http://www.rf-module-china.com
V3.X

Advertisement

loading

Summary of Contents for HAC HAC-LBee/S

  • Page 1 HAC-LBee/S 2.4G Low Power Data Radio Module (Based on 802.15.4 protocol) V3.X SHENZHEN HAC TELECOM TECHNOLOGY CO., LTD Address : Fl.6, Building 2, Jiuxiangling New Industry Park, No.4227, Xilihu Road, Nanshan, Shenzhen, China. : +86-755-23981078 23981076 : +86-755-23981007 E-mail : webmaster@rf-module-china.com Website : http://www.rf-module-china.com...
  • Page 2: Table Of Contents

    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-LBee/S Wireless Module ...............6 V. Working Mode of HAC-LBee/S Wireless Module ..............11 VI. Assistant Software ........................30 VII. Appendix ..........................32 FAX:+86-755-23981007 E-MAIL:...
  • Page 3: Features Of Hac-Lbee/S Wireless Module

    SHENZHEN HAC TECHNOLOGY CO., LTD. I Features of HAC-LBee/S Wireless Module HAC-LBee/S is a kind of low power wireless module based on 802.15.4 protocol stack. The features are shown as follow: 1. Low power transmission with 100mW(20dBm), and receiving sensitivity is -105dBm (BER=10-2).
  • Page 4: Applications Of Hac-Lbee/S Wireless Module

    HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. II. Applications of HAC-LBee/S Wireless Module HAC-LBee/S low power wireless module is suitable for: ﹡Home appliances intelligent control. ﹡Auto Meter Reading system. ﹡Industry telemetry and automatic data collection system. ﹡Security and alarm.
  • Page 5 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 3.2 The Size of HAC-LBee/S (35.1x24.4x4mm) Picture 1 The Size of HAC-LBee/S 3.3 Pin Definition of HAC-LBee/S Definition Input/Outp Function Instruction Power Supply, +3.0~3.6V Output serial data Input serial data DIO1 IN/OUT...
  • Page 6: Development Kit For Hac-Lbee/S Wireless Module

    Data I/O13/Analog Input 2 DIO14/ADC1 IN/OUT Data I/O14/Analog Input 1 DIO15/ADC0 IN/OUT Data I/O15/Analog Input 0 Table 2 Pin Definition of HAC-LBee/S IV. Development Kit for HAC-LBee/S Wireless Module 4.1 General Information for HAC-DEV Development Kit Picture 2 HAC-DEV FAX:+86-755-23981007 E-MAIL: webmaster@rf-module-china.com www.rf-module-china.com...
  • Page 7 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Connector Definition: a. J1 (DC_PLUG ) 5V power supply input b. J2 (DC_CONNECTOR) 5V power supply input Pin Name Definition Pin1 Pin2 c. J3 (USB_ PLUG) USB port, USB to Serial port. Please refer to the Appendix 2 for the installation for USB Driver.
  • Page 8 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Pin1 3.3V Output Pin2 OUT1 Digital Output 1 Pin3 OUT2 Digital Output 2 Pin4 OUT3 Digital Output 3 Pin5 OUT4 Digital Output 4 Pin6 h. J8 (DS18B20) Temperature Sensor DS18B20 port Pin Name...
  • Page 9 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 4.2 Connecting Methods between HAC-LBee/S and HAC-DEV Picture 3 Connecting Methods between HAC-LBee/S and HAC-DEV 4.3 Schematic Diagram for HAC-DEV FAX:+86-755-23981007 E-MAIL: webmaster@rf-module-china.com www.rf-module-china.com...
  • 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: Working Mode Of Hac-Lbee/S Wireless Module

    SHENZHEN HAC TECHNOLOGY CO., LTD. Working Mode of HAC-LBee/S Wireless Module 5.1. Working Mode of HAC-LBee/S Wireless Module There are three working modes for HAC-LBee/S. They are: Transparent Mode, API Mode, AT Command Mode. 5.1.1 Transparent Mode By default, Modules operate under transparent working Mode. When operating under transparent mode, the modules act as a serial line replacement - all UART data received through the RXD pin is queued up for RF transmission.
  • Page 12 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. information instead of using command mode to modify addresses. The module will send data frames to the application containing status packets; as well as source, RSSI and payload information from received data packets. The API operation option facilitates many operations such as the examples cited below: •...
  • Page 13 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. saved to non-volatile memory using the WR (Write) Command. Otherwise, parameters are restored to previously saved values after the module is reset. System Response: When a command is sent to the module, the module will parse and execute the command.
  • Page 14 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. API mode. 4. Under the API mode, input 3-character command sequence “+++” will let the module switch to AT Command mode. 5. Under API mode, when using AT Command to setup transparent mode (ATAP 0), the module will switch to transparent mode.
  • Page 15 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Diagnostics Firmware Version. Read firmware version 0 - 0xFF >=0x1000 of the RF module. (Read only) 5.2.1 AP <Serial Interfacing> The AP command is used to enable the RF module to operate using a frame-based API instead of using the default Transparent (UART) mode.
  • Page 16 <Networking {Addressing}> The CH command is used to set/read the operating channel on 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.
  • Page 17 64-bit destination address. When combined with the DL (Destination Address Low) parameter, it defines the destination address used for transmission. Under transparent mode, HAC-LBee/S sends data with this destination address. When the destination address (DH + DL parameters) is 0x000000000000FFFF, HAC-LBee/S will send the data through broadcasting.
  • Page 18 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. HAC-LBee/S will send the data according to the 16-bit destination address. Command ATDL (Destination Address Low) Parameter Range 0x00 - 0xFFFFFFFF Default Value 0xFFFF Effective Conditions Validate immediately Minimum Firmware Version Required:0x1000 The examples for changing the lower 32-bit of destination address: Input 3-character command sequence “+++”...
  • Page 19 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Command ATID (PAN ID) Parameter Range 0x00 - 0xFFFF Default Value 0x234 Effective Conditions Validate immediately Minimum Firmware Version Required:0x1000 The examples for changing the PAN ID of module: Input 3-character command sequence “+++” and switch to the AT Command mode.
  • Page 20 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Default Value 0 = Min Power Value 4 = Max Power Effective Conditions Use WR command to save setting, it will be effective after restart the module again. Minimum Firmware Version Required:0x1000 With different transmitting power, the corresponding current is shown as the following table.
  • Page 21 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 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.
  • Page 22 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Command ATSM(Sleep Mode) Parameter Range Default 0 = Disable Value Sleep Enable Sleep Enable Sleep Enable Sleep Enable Sleep Enable Validate immediately after finishing the AT command state Effective Conditions Minimum Firmware Version Required:0x1000 The examples for changing the sleep state: Input 3-character command sequence “+++”...
  • Page 23 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 5.3 API Operation By default, RF Modules act as a serial line replacement (Transparent Operation) - all UART data received through the RXD pin is queued up for RF transmission. When the module receives an RF packet, the data is sent out the TXD pin with no additional information.
  • Page 24 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. To test data integrity, a checksum is calculated and verified. To calculate: Not including frame delimiters and length (1-3 bytes), add all bytes keeping only the lowest 8 bits of the result and subtract from 0xFF.
  • Page 25 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Figure. Example: API frames when reading the DL parameter value of the module. 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.
  • Page 26 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. mes-sage. Some commands will send back multiple frames. These commands will 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 module to send RF Data as an RF Packet.
  • Page 27 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. Figure . TX Packet (16‐bit address) Frames TX (Transmit) Status API 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.
  • Page 28 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 5.4 Frequently Asked Questions. 5.4.1 How to broadcast transmission? When one module broadcast data, the other modules in the same network (Same PAN ID and same channel) will receive the broadcasting data.
  • Page 29 5.4.3 How to make the module work under the API mode after power up? Users can use AT command to make the module enter API mode: Enter the AT Command page of HAC Studio. Input 3-character command sequence “+++” and wait the module returns “OK”...
  • Page 30: Assistant Software

    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.
  • Page 31 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. "COM Setup" page is used to setup the computer’s serial port. Only when the settings of serial port are correct, the software can communicate with the module normally. "AT Command" page is used to input and output AT Command.
  • Page 32: Appendix

    HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 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 this time’ and click ‘Next’.
  • Page 33 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 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 message dialog box will appeared as below. Click ‘Continue Anyway’...
  • Page 34 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 5. After the installation is completed, the following dialog box will appear. Click on the ‘Finish’ button to complete the installation. FAX:+86-755-23981007 E-MAIL:webmaster@rf-module-china.com www.rf-module-china.com 34 -...
  • Page 35 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 6. To verify and set the parameters of the serial port, open the Computer Manager window and select on Device Manager on the left window. Open the COM port field in the right window.
  • Page 36 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 7. Right click on ‘ Prolific USB-to-Serial Bridge (COMx)’ and select on Properties. Make sure that the parameters of the properties dialog box has all the fields set as below. FAX:+86-755-23981007 E-MAIL:webmaster@rf-module-china.com www.rf-module-china.com...
  • Page 37 HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD. 8. Open additional setting by click on ‘Advanced’ button on the properties dialog box. Double check and make sure that the advanced setting for selected COM ports has the following settings. Click OK when it’s done.