1. General description You can use it with Freaduino(work on 3.3V mode) and other MCU. Using with our APP,you can easily control robot,drone and others by BLE. Adopting TI CC2540 chip with 256 KB space, the BLE HC module can use BLE technology through the simple IO control, between the module and mobile, also between the module and module. The BLE module has both Master and Slave Mode, with the command control, through the serial port capable of switching module master-slave role, capable of configuring the serial port baud rate, capable of modifying the module radio name, capable of modifying the broadcast interval and the connection interval. Using this module, users can quickly transmit data in the form of Bluetooth packet. 1
2. Features Small size, light weight, UART interface Develop bands, working band of 2.4GHz Wireless transfer rate up to 1Mbps Using PCB antenna, the reliable transmission distance greater than 50m BLE protocol depth optimization, standby power 60 ~ 800uA Master-Slave in one, arbitrarily switching Master-Slave in one, arbitrarily switching Supporting Android 4.3, IOS, PC Operating voltage :3.3V Dimension :26*34mm 3. Applications Industrial remote control, telemetry Robotic control Automotive testing equipment Portable, battery-powered medical equipment Automated data collection Bluetooth remote control toys Wireless LED Display System Bluetooth Printer Smart home, industrial control 4. Pining information TYPE SYMBOL DESCRIPTION POWER VCC Power supply: 3.3V POWER GND Power supply : Ground UART TX Serial Port Data Transmit UART RX Serial Port Data Receive 2
5. Dimension outline 6. AT Command Note: The deault Baud rate is 9600 from 6th-11-2015, and the precious version was 115200, expect BLEduino. 1. Test AT OK NONE 2. Get version AT+VERSION +VERSION=V*.* NONE 3
Command: AT+VERSION Response: +VERSION=V2.0 3. Get help AT+HELP Command Description 1. AT Check if the command terminal work normally NONE 4. Get/set name AT+NAME +NAME=<name> <name>? 1. Command: AT+NAME Response: +NAME=BLE-Elecfreaks 2. Command: AT+NAME BLE-Adapter Response: +NAME=BLE-Adapter, OK, please restart 3. Command: AT+NAME? Response: AT+NAME AT+NAME <?> AT+NAME <name> Get device name. Get Usage. Set device name. 5. Get/set baud rate AT+BAUD +BAUD=<baud> 9600 19200 38400 57600 115200 4
1. Command: AT+BAUD Response: +BAUD=115200 2. Command: AT+BAUD 115200 Response: +BAUD=115200, OK, please restart. 3. Command: AT+BAUD? Response: AT+BAUD AT+BAUD <?> AT+BAUD <baud> Get current baud rate. Get Usage. Set baud rate to <b>. 6. Set default settings AT+RENEW OK, please restart. NONE 7.Get/set role(central or Peripheral) AT+ROLE OK, please restart. 0: Peripheral 1: Central? 1. Command: AT+ROLE Response: +ROLE=Peripheral 2. Command: AT+ROLE 1 Response: +ROLE=Central, OK, please restart. 3. Command: AT+ROLE? Response: AT+ROLE Get device role. AT+ROLE <?> AT+ROLE <n> Get Usage. Set device role.1:central,0:peripheral. 5
8.Scan device AT+SCAN Scanning... NONE Command: AT+SCAN Response: Scanning... No.n devname= Addr=01:02:03:04:05:06 rssi=-70 9. Connect device AT+CON Connecting... <n>? 1. Command: AT+CON 1 Response: Connecting... Connect ok! 2. Command: AT+CON? Connected addr=01:02:03:04:05:06 Response: AT+CON<n> Connect to n-th device from scan list. AT+CON<?> Get Usage. 10. Get mac address AT+MYMAC +MYMAC=01:02:03:04:05:06 NONE 6
11. Get/set transmit mode Because of cc2540 has 2 port(usb port, uart port), so you need select a port for data transmit, this transmit mode is valid only connected, otherwise data is from usb port to uart port. AT+TRANSMODE +TRANSMODE=<n> 1.USB<->Central <=> App; USB<->Peripheral <=> App 2.USB<->Central <=> App; UART<->Peripheral <=> App 3.UART<->Central <=> App; USB<->Peripheral <=> App 4.UART<->Central <=> App; 1. Command: AT+TRANSMODE UART<->Peripheral <=> App Response: +TRANSMODE=1.USB<->Central <=> App;USB<->Peripheral <=> App 2. Command: AT+TRANSMODE 1 Response: +TRANSMODE=1.USB<->Central <=> App;USB<->Peripheral <=> App, OK. 3. Command: AT+TRANSMODE? Response: AT+TRANSMODE Get transmitmode num. AT+TRANSMODE? AT+TRANSMODE <n> Get Usage. Set device transmitmode. 1.USB<->Central <=> App; USB<->Peripheral <=> App 2.USB<->Central <=> App; UART<->Peripheral <=> App 3.UART<->Central <=> App; USB<->Peripheral <=> App 4.UART<->Central <=> App; UART<->Peripheral <=> App 7
7. Revision history REVISION DESCRIPTION RELEASE DATE V1.0 Initial version 20/3/20137 8. Contact information For more information, please visit: http://www.elecfreaks.com For sales office addresses, please send an email to: services@elecfreaks.com 8