HF -BL200A User Manual

HF -BL200A User Manual

Bluetooth low energy (ble 4.1) module
Table of Contents

Advertisement

Quick Links

HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual
Bluetooth Low Energy(BLE 4.1) Module
Overview of Characteristic
 Support IEEE 802.15.1 BT4.1 Wireless Standard
 Support wireless upgrade (OTA)
 UART Transparent Transmit Module
 Supper low sleep mode power 3.5uA,excellence power save scheme
suitable for battery-powered applications
 Support internal / external antenna options
 Single 2.7V~3.6V power supply
 Smallest size :
 internal antenna:12.7mm x 12mm x 2mm
 external antenna:9.5mm x 12mm x 2mm
 SIG QDID:91979
ROHS compliance
Shanghai High Flying Electronics Technology Co., Ltd
HF-BL200A
User Manual
V 1.0
www.hi-flying.com
- 1 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HF-BL200A and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for HF HF-BL200A

  • Page 1 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual HF-BL200A Bluetooth Low Energy(BLE 4.1) Module User Manual V 1.0 Overview of Characteristic  Support IEEE 802.15.1 BT4.1 Wireless Standard  Support wireless upgrade (OTA)  UART Transparent Transmit Module  Supper low sleep mode power 3.5uA,excellence power save scheme suitable for battery-powered applications ...
  • Page 2: Table Of Contents

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Table of Contents LIST OF FIGURES ........................... 5 LIST OF TABLES ............................ 5 PRODUCT OVERVIEW ........................7 1.1. General Description ......................... 7 1.2. Device Feature .......................... 7 1.3. Key Application ........................7 1.4.
  • Page 3 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 4.3.11. Query Transmit Power ....................29 4.3.12. Set Broadcast Parameter ....................30 4.3.13. Query Broadcast Parameter ..................30 4.3.14. Set User-define Broadcast Data ...................31 4.3.15. Query User-define Broadcast Data ................31 4.3.16. Set Auto-broadcast Switch ....................32 4.3.17.
  • Page 4 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual APPENDIX D: CONTACT INFORMATION ..................51 - 4 - Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 5: List Of Figures

    Package Information ......................48 Figure 13. UART Transparent Transmit Typical Application .............49 LIST OF TABLES Table 1 HF-BL200A Module Technique Specification ................8 Table 2 HF-BL200A Pin Function Definition ..................10 Table 3 Limited Specification ........................12 Table 4 Electrical Specification ......................12 Table 5 RF specification ........................12 Table 8 Module connect interval 20ms communication mode example ..........17...
  • Page 6 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual History V1.0 02-02-2018. First Version - 6 - Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 7: Product Overview

    PRODUCT OVERVIEW 1.1. General Description HF-BL200A Bluetooth Low Energy module is a high performance IOT module designed by High Flying. It is based on Cypress chip, and provide a solution for connecting things to Bluetooth wireless network and data transmitting via UART interface. With the feature of low power, small size, high anti-...
  • Page 8: Device Parameter

    Size HF-BL200A-0: 9.5mm x 12mm x 2mm Power details refer to Table 6 1.5. Order information As customer demand, HF-BL100-C can provide variant physical version, detail part number as below: - 8 - Shanghai High Flying Electronics Technology Co., Ltd...
  • Page 9: Figure 1. Hf-Bl200A Order Information

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual HF-BL200A-X Model 1-> Built-in PCB antenna 0-> External pad antenna Module Version BL100->Bluetooth BLE Single mode Company name HF->Hi-Flying Figure 1. HF-BL200A order information - 9 - Shanghai High Flying Electronics Technology Co., Ltd...
  • Page 10: Hardware Introduction

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 2. HARDWARE INTRODUCTION 2.1. Pin Definition Figure 2. HF-BL200A Pin Definition Table 2 HF-BL200A Pin Function Definition Net name Features Description 1,2,13 Power Ground 19,21 Power e-fuse parameter programming pin, please leave it blank.
  • Page 11 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Pull high for more than 5 seconds to restore the factory settings, IO03/SPI-M CSN/PWM3 WAKE DIG I/O Pull low to wake up Bluetooth IO04 / SPI-M MOSI / PWM4 BCTS DIG I/O The default output low, high data output is sent, used to...
  • Page 12: Electrical Specification

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 2.2. Electrical Specification Table 3 Limited Specification Parameter Description Typ. Unit Value Value value VPIN Pin voltage limit -0.1 T_VRISE Power up time ESD_HBM 4000 ESD_MM ESD_CDM Storage temperature ° C range Table 4 Electrical Specification...
  • Page 13: Mechanical Size

    Signal strength accuracy Signal accuracy 2.3. Mechanical size HF-BL200A physical size (unit: mm)as below: HF-BL200A-0 Pads: Size 9.5mm X 12mm, pad pitch 1.27mm HF-BL200A-0 Mechanical size Figure 3. HF-BL200A-1 Pads: Size 12.7mm X 12mm, pad pitch 1.27mm - 13 Shanghai High Flying Electronics Technology Co., Ltd...
  • Page 14: Antenna Layout

     Antenna can’t be shielded by any metal enclosure. High Flying suggests to locate HF-BL200A as Figure 5 to reduce the influence to antenna and wireless signal as much as possible, or contact High Flying technique people for support - 14 Shanghai High Flying Electronics Technology Co., Ltd...
  • Page 15: Figure 5. Hf-Bl200A Module Reference Placement

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Figure 5. HF-BL200A Module Reference Placement - 15 Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 16: Uart Transparent Transmit Mode

    Transparent Transmit means the two way communication between device and mobile terminal via the connecting with serial interface and device MCU. Device can set HF-BL200A baud rate and connect interval via AT command through serial interface (refer to “ Serial AT command Description”...
  • Page 17: Table 8 Module Connect Interval 20Ms Communication Mode Example

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual If module system status changed, module will send status notification character to MCU, such as disconnect, connect, broadcast. Bluetooth protocol require that the minimum connect interval is 7.5ms. Default connect interval is 20ms (comply with IOS regulation), if it is needed to save power and apply low speed transmit mode.
  • Page 18: Transparent Transmit Mode Pin Description

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Remark: user can set particular communication mode according to actual application, packet length can be set between 80byte < L < 200byte ,the relationship as below as per BLE protocol: If L<80 ,TS >= T ;...
  • Page 19: Factory Default Parameter

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 3.3. Factory Default Parameter 3.3.1. Device Name Device NAME:”HF-BL200A” 3.3.2. Broadcast Parameter Broadcast Min. interval:“0800”, means 500ms Broadcast Max. interval::“0800”, means 500ms Broadcast type:“0”, means public Broadcast channel :“7”,means apply channel index 37 38 39 3.3.3.
  • Page 20: Uart At Command Definition

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 4. UART AT COMMAND DEFINITION 4.1. Module Operation Mode Configure After HF-BL200A power on, module enter transparent transmit mode, default UART configuration parameter is as below: Figure 7. HF-BL200A Default UART Parameter User can configure the module via AT command through UART or use Evaluation Kit to test.
  • Page 21: Command Format

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual ”AT:HELP” list All command Figure 8. 4.2.1. Command Format AT: command based on ASCII code, format as below:  Format description  < >: mean the part must include  [ ]: mean optional part ...
  • Page 22: Command List

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual When input command,“AT:<CMD>” character is capital word, parameter parts is the same.  Feedback message AT:<RSP>[op] [para-1,para-2,para-3,para-4…]<CR><LF><CR><LF>  AT:: feedback message prefix;  RSP: feedback character string, include: “OK” : success  ...
  • Page 23 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:MAC?" (APP)MCU- Query Query MAC 4.3.9 >Module "AT:VER?" (APP)MCU- Query Query software version 4.3.10 >Module "AT:TPL-" +Data0+Data1 MCU->Module Set transmit power 4.3.11 "AT:TPL?" MCU->Module Query Query transmit power 4.3.12 "AT:ADP-" +parameters MCU->Module Set broadcast parameter 4.3.13...
  • Page 24: At Command

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:RELD" MCU->Module Restore factory setting via AT 4.3.35 command PIN32->WAKEUP high MCU->module Notific Enable module CPU 4.3.36 level outside ation subsystem deep sleep(BLE subsystem isolated operation) PIN29->MANUFACTURE MCU->Module Restore factory parameter via 4.3.37...
  • Page 25: Query Module Name

    Function: query module current Name Command "AT:REN?"+<CR><LF> ‘?’: means query Feedback "AT:REN-"+devicename+<CR><LF> means success Devicename: device name can be displayed, max 11 character, default factory name is “HF- BL200A” "AT:ERP\r\n\0" means invalid command, failed 4.3.4. Set Connect Parameter Function:set BLE connect parameter Effective time:effect immediately at connection status or effective after connection...
  • Page 26: Query Connect Parameter

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual IntervalMax*(Slave Latency+1)《=2 seconds IntervalMin>=20ms IntervalMin +20ms<=IntervalMax Slave Latency<=4 connSupervision Timeout<=6 seconds IntervalMax*(Slave Latency+1)*3<connSupervisionTimeout Feedback: "AT:WRONG\r\n" means invalid parameter, modify failed "AT:OK\r\n" means success, run with new connect interval "AT:ERP\r\n" means invalid command, modify failed 4.3.5.
  • Page 27: Set Baud Rate

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Slave Latency<=4 connSupervision Timeout<=6 seconds IntervalMax*(Slave Latency+1)*3<connSupervisionTimeout "AT:ERP\r\n" means invalid command, query failed 4.3.6. Set Baud rate Function:modify UART Baud rate Effective time:effective after receiving the success feedback data Command: "AT:BPS-"+baud rate+<CR><LF> Baudrate:6 character,’0’~’9’ means 0~9,”115200”-> decimal 115200 Feedback:...
  • Page 28: Get Mac Address

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 4.3.8. Get MAC Address Function:Get Bluetooth MAC Command: "AT:MAC?"+<CR><LF> APP Command do not need <CR><LF> Feedback: " AT:MAC-"+MAC+<CR><LF> MAC: 12 character can represent 6 byte data, each 2 character represent the four bit in high order and the four bit in low order of one byte.
  • Page 29: Query Transmit Power

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:TPL-"+Data0+Data1+<CR><LF> Data0: broadcast power, one character, ’1’~’8’ means 1~8, Data1: connect power, one character, ’1’~’8’ means 1~8, 1-> -18dbm 2-> -12dbm 3-> -6dbm 4-> -3dbm 5-> -2dbm 6-> -1dbm 7-> +3dbm 8-> 0dbm Feedback:...
  • Page 30: Set Broadcast Parameter

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 5-> -2dbm 6-> -1dbm 7-> +3dbm 8-> 0dbm "AT:ERP\r\n" means invalid command, query failed 4.3.12. Set Broadcast Parameter Function:set broadcast parameter, min. interval/max interval/broadcast type/broadcast channel Effective time:effect in next broadcast Command: "AT:ADP-"+parameters+<CR><LF>...
  • Page 31: Set User-Define Broadcast Data

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:ADP?"+<CR><LF> Feedback: "AT:ADP-"+parameters+<CR><LF> Parameters: include 13 character, min interval ->4 character, max interval->4 character, broadcast type->1 character, broadcast channel ->1 character Min interval:HighByte|...|LowByte,’0’~’9’ means 0~9(“100”-> decimal 100) , unit:0.625ms Max interval:HighByte|...|LowByte,’0’~’9’ means 0~9(“1200”-> decimal 1200) , unit:0.625ms Broadcast:’0’~’1’...
  • Page 32: Set Auto-Broadcast Switch

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:ADV-"+data+<CR><LF> means command successful received and feedback data Data: max length is 11 bytes, data format must follow Bluetooth regulation "AT:ERP\r\n" means invalid command, change failed 4.3.16. Set Auto-broadcast Switch Function: auto start broadcast when module power on and disconnection Effective time:effective when disconnect...
  • Page 33: Start Broadcast

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual "AT:ERP\r\n" means invalid command, query failed 4.3.18. Start Broadcast Function:device start broadcast Effective time: do not execute if under broadcast status and connect status, execute immediately under other status Command: "AT:ADVSTART"+ <CR><LF> Feedback:...
  • Page 34: Query Current Ble Subsystem Status

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Status: each character indicate a status ‘0’-> CYBLE_CNN_INITIALIZING ‘1’-> CYBLE_CNN_ADVERTISING ‘2’-> CYBLE_CNN_CONNECTED ‘3’-> CYBLE_CNN_DISCONNECTED ‘4’-> CYBLE_CNN_STOPPED ‘5’-> CYBLE_CNN_CONNECTING "AT:ERP\r\n" means invalid command, command failed 4.3.20. Query Current BLE Subsystem Status Function:query current device status Effective time:immediately...
  • Page 35: Set Device Verify Code

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Feedback: "AT:OK\r\n" means command received and executed "AT:CNN-"+status+<CR><LF> means command received, but not executed because status incorrect Status: each character indicate a status ‘0’-> CYBLE_CNN_INITIALIZING ‘1’-> CYBLE_CNN_ADVERTISING ‘2’-> CYBLE_CNN_CONNECTED ‘3’-> CYBLE_CNN_DISCONNECTED ‘4’-> CYBLE_CNN_STOPPED ‘5’->...
  • Page 36: Set Uart Output Data Latency

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Command: "AT:PID?"+<CR><LF> ‘?’: means query command APP command no need<CR><LF> Feedback: "AT:PID-"+ Data+<CR><LF> APP Command no need<CR><LF> Data:4 Character means 1 hexadecimal data, ’0’~’9’,’A’~’F’ means 0~9,A~F(“12AD”-> hexadecimal 0x12AD) "AT:ERP\r\n" means invalid command, query failed APP Command no need "\r\n"...
  • Page 37: Save Parameter

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Figure 9. Module UART Output Data Latency Set Map 4.3.25. Save Parameter Function:save the changed parameter( the save will stop BLE function and other interrupt, after save, system will restore) Effective time: immediately, save will stop BLE function and other interrupt, after save, system will restore Command:...
  • Page 38: Set Module Operate Mode

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 4.3.27. Set Module Operate Mode function:stop BLE subsystem,force system enter Deepsleep、hibernate、stop mode, Effective time:stop BLE function,immediately Command: "AT:SLEEP-"+command+<CR><LF> Command:1-> allow CPU system enter deep sleep, process via UART 2->force CPU enter Hibernate,BLE subsystem must stop, wake up through wake-up pin only 3->force CPU stop, BLE subsystem must stop , restore via wake-up pin and xres...
  • Page 39: Module Cpu Status Notification

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 4.3.29. Module CPU Status Notification Function:module provide current CPU status to MCU Notify time: notify when status changed Command: "AT:CPU-"+status+<CR><LF> Status: each character indicate one status ‘0’-> CPU power on ‘1’-> CPU deep sleep ‘2’->...
  • Page 40: Restore Factory Setting Via Hardware Method

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual PIN32->WAKEUP:high level ->CPU subsystem enter deep sleep , module UART don’t receive data PIN32->WAKEUP:low level-> CPU is not allowed to enter deep sleep, module UART able to 不允 receive data Need to pay attention to actual level and data sending sequence, sending data must wait 50 us...
  • Page 41: App Command

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 5. APP COMMAND 5.1. Channel and Data Description  APP command don’t send in groups  Maxium data of one group command is 20 bytes  Data Channel:0x2B13 send WriteWithResponse and receive notify 5.2.
  • Page 42: Command Content

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 5.3. Command Content 5.3.1. Command Type:0x0E Command: Function:data write in the form of 0x2B13 write with response , verify code command refer to AT command 4.3.23 &4.3.24, query version command refer to AT command 4.3.10 Feedback:...
  • Page 43: Table 14 Command Type 0X0F Feedback List

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual Table 14 Command Type 0x0F Feedback List Include bytes from Byte Data[0] 1 byte command type and command length content comman Data[1] 1 byte 0x0F Verified and feedback dtype Verification feedback 0x00: success...
  • Page 44: Basic Communication Mechanisim

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 6. BASIC COMMUNICATION MECHANISIM 6.1. Application Service Data Channel(user-define application service UUID: 0x2B00) Table 15 Description of User-define Service of All Channnel UUID Channel attribute function 0x2B10 Notify/WriteWithResponse APP send enable command to module via...
  • Page 45: App->Module,Ota Mode Switch【Feature Uuid:0X2B12

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 0x2B11 Read/WriteWithout null APP write data to module via “write” channel, Response module output data via UART Description :input from Bluetooth and output via UART. APP write data via ”Write” channel, the data will output via UART TX.
  • Page 46: App->Module,Battery Data Channel 【Feature Uuid:0X2A19

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual APP->Module,Battery Data Channel 【Feature UUID:0x2A19】 6.2.1. Table 21 0x2A19 Feature Battery Power Channel Feature Description Feature value Executable byte Default remark value UUID operation 0x2A19 Read null Unit is 20mV 6.3. OTA Service Data Channel OTA service UUID:00060000-F8CE-11E4-ABF4-0002A5D5C51B...
  • Page 47: Package Information

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 7. PACKAGE INFORMATION 7.1. Reflow Soldering Profile Reflow Soldering Profile Figure 11. Table 24 Reflow Soldering Specification Temp (℃) Number Item Time(s) 220 ℃ above Reflow time 35~55 s Max 260℃ Peak temp Remark: 1.
  • Page 48: Shipping Information

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual 7.3. Shipping Information Tape& reel Carton Size :TBD mm size: TBD mm(inside) Package Information Figure 12. - 48 Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com...
  • Page 49: Appendix A: Uart Transparent Transmit Typical Application

    HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual PPENDIX A: UART TRANSPARENT TRANSMIT TYPICAL APPLICATION Figure 13. UART Transparent Transmit Typical Application XRES------module reset signal, input, low level valid There is a pull-up resistor to VBAT, no need external pull up resistor. When module power on or failure, MCU will reset the module, pull down at least 10 ms then pull-up.
  • Page 50 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual UART Wakeup Enable: when WAKEUP is pull-up, all system enter into DEEPSLEEP ; when WAKEUP is pull-down, system enter into SLEEP mode. When sending data from external MCU to module, need to pull-down WAKEUP pin, after sending finished, pull-up WAKEUP to lower the power.
  • Page 51 HF-BL100-CU Low Energy Bluetooh(BLE 4.1)Module User Manual APPENDIX D: CONTACT INFORMATION ------------------------------------------------------------------------------------------------------------ Address: Room 1002 ,#1Building,No.3000 Longdong Avenue, Pudong District, Shanghai, China Post Code:201203 Web: www.hi-flying.com Online consult: 400-189-3108 Email: sales@hi-flying.com ----------------------------------------------------------------------------------------------------------- For more information ,please visit http://www.hi-flying.com/ © Copyright High-Flying, May, 2011 The information disclosed herein is proprietary to High-Flying and is not to be used by or disclosed to unauthorized persons without the written consent of High-Flying.

This manual is also suitable for:

Hf-bl200a-1Hf-bl200a-0Hf-bl100-cu

Table of Contents