Download Print this page

Advertisement

Quick Links

 
DFRobot BLE4.1 Module SKU: TEL0120 
Introduction
BLE4.1 Module is DFRobot newly developed Bluetooth 4.1 transmission module, adhering to the
same usage of Bluno, and increasing the star network function, KISS connection (Approach
Connection). The new Bluetooth is designed based on BLE 4.1 technology. It has low power
consumption and other special features. In the BLE transmission, the point-to-point output rate is
4Kbps, equivalent to the original Bluno twice the rate.
BLE4.1 Module uses DA14681 high-performance BLE chip, it integrates advanced power
management system, coming with 3.7V lithium battery charging circuit. It obtains power directly from
the USB port. Support 400mA maximum charge current,
Feature
Support BLE 4.1 master and slave switch
Support Bluetooth serial data transmission
Support Bluetooth point-to-point wireless programming
Support Bluetooth 4.1 multi-device cascade (up to 4)
Support Arduino Bluetooth library (support for multi-Bluetooth connection)
Support low power consumption Bluetooth (standby 25uA; interrupt 70uA)
Two-way interrupt wake up:
* BLE4.1 wake up controller via P4_2 (high level wake up)
* The controller wakes up BLE4.1 via WAKEUP (low level wake)
Support KISS connection method (Approach Connection)
Support Bluetooth firmware update
Support lithium battery powered
Support USB to charge the lithium battery
LED status indicator
 

Advertisement

loading

Summary of Contents for DFRobot BLE4.1

  • Page 1 DFRobot BLE4.1 Module SKU: TEL0120  Introduction BLE4.1 Module is DFRobot newly developed Bluetooth 4.1 transmission module, adhering to the same usage of Bluno, and increasing the star network function, KISS connection (Approach Connection). The new Bluetooth is designed based on BLE 4.1 technology. It has low power consumption and other special features.
  • Page 2: Specification

    Specification  Processor: DA14681 (ARM Cortex-M0 CPU)  Operating Voltage: 3.3V  USB input Voltage: 4.2V ~ 5.0V  Lithium battery powered: 3.7V  Support USB charging (chip comes with charging function)  Charging current: 10mA ~ 400mA (max)  Allow external lithium battery capacity: 20mAh ~ 500mAh (max) ...
  • Page 3 Fig2: DFRobot_BLE4.1_Module PinMap Note: VBUS and GND are USB Power port; BAT+ and BAT- are battery power po Note: There is a 0.1 ohm resistor between BAT- and GND. The battery can also be used directly between BAT + and GND when in use Dimension ...
  • Page 4 AT Command To get a ‘better’ Bluetooth experience on BLE 4.1 modules, we highly recommand you to update the newest firmware first. AT is the abbreviation of attention. AT command is the communication command used to configure Bluetooth parameters. It begins with AT, end with <CR+LF> (carriage return and line feed). ...
  • Page 5 “OFF” Turn off the USB monitor Get help from AT+HELP=<X> “ALL” Query all AT commands help information AT command Query device information in AT+NET_INF=<X> “?” Query device network information the current network Query the AT+VERSION=<X> firmware “?” Query firmware version information version Query the AT+RSSI=<X>...
  • Page 6 Fig1: +++ enter the AT CMD Mode 7. Select the "Both NL & CR"(①) and 115200 baud(②) in the pull-down menu 8. Type or copy the AT command in the dialog(③) like this and press send button(④) 9. If the BLE is successfully configured , you will receive "OK"(⑤) from it. Fig1: enter the AT command,remember selecting the Both NL &...
  • Page 7: Bluetooth Connection

    Fig1: Enter AT+HELP=? to get AT Command List Bluetooth Connection Before using BLE4.1 series devices, it is better to know some key buttons first.  BOOT: Update Bluetooth firmware/Enable the approach connection (<10cm). Firmware update**: Press and hold the "BOOT" button until you plug USB cable, entering firmware update mode.
  • Page 8 Therefore, it needs a the third party APP, such as BunoBasicDemo (published by DFRobot), BLE Device Monitor from TI .etc. In this section, we'll take BunoBasicDemo published by DFRobot as an example.
  • Page 9 Fig1: Scanning  Click the device to connect. Once it connected successfully, it will show Connected and LINK will light for 3s and blink for every 3s.
  • Page 10 Fig2: Connected  Send data frome the Data sending Area...
  • Page 11 Fig3: Send Data  Click Send Data to send data.
  • Page 12 Bluetooth P2P Communication The procedure of BLE4.1 P2P connection is similar to BLE4.0, and the only difference is the P2P mode command. There are two devices in all, one should be set as the master device(ROLE_CENTRAL) and the other one should be set as the slave device(ROLE_PERIPHERAL).
  • Page 13 Fig1: set the connection mode  AT Command: AT+ROLE=ROLE_CENTRAL, AT+ROLE=ROLE_PERIPHERAL, Fig2: set the device as central mode...
  • Page 14 Fig1: Set Star Network Connection NOTE: Star network connection is only for BLE4.1 device, not applicable to Bluno 1st generation (BLE4.0) and other BLE brands device. In the star connection, Bluetooth device adopt special data packet compression method. You can use Arduino library to realize network data transmit.
  • Page 15 #include <DFRobot_Bluno2.h> #include <ArduinoJson.h> DFRobot_Bluno2 blunoNet; int blunoID=0; void setup() Serial.begin(9600); blunoNet.begin(Serial);//获取id void loop() uint8_t event=blunoNet.getEvent();//queue switch(event) case EVENT_NETINFO: eventNode e = blunoNet.popEvent(); StaticJsonBuffer<200> jsonBuffer; JsonObject& root = jsonBuffer.parseObject((const char *)e.payload); if (!root.success()) { return; int s = root["r"].size(); for(int i = 0; i < s; i++){ if(root["r"][i]["s"].as<int>()){ blunoID = root["r"][i]["i"].as<int>();...
  • Page 16 With command AT+LOWPOWER=ON, BLE4.1 device will enable low power consumption mode after you reboot the device. BLE4.1 device will enter this mode in 10s. You can also use AT+BOOT to make a software reboot.
  • Page 17: Wireless Programming

    Similar to P2P connection, set one as host and plug to the PC; set the other one as slave. Pairing the host and the slave, download is available. Firmware Upgrade DFRobot BLE4.1 has the firmware method to BLE 4.0, click to download BLE4.1 firmware update tool, BLE4.1 firmware address...
  • Page 18 Q: Why the Bluetooth data been received is gibberish in the baud rate 115200? A: The bootloader that FireBeetle BLE4.1 uses is 3.3V Pro Mini of 8MHz oscillator. The Arduino Pro Mini 3.3V@8MHz may runs wrong with high baud rate. The lower baud rate is recommend, e.g.

This manual is also suitable for:

Tel0120