Download

BLE121LR Bluetooth® Smart Long Range Module
5/12/2014
1
Table of Contents
5/12/2014
•
Key Features
•
Benefits
•
BLE121LR Overview
•
Bluetooth Smart Software
•
Certifications
•
Development Tools
•
Use Cases
2
•
Bluetooth v.4.0, single mode compliant
–
Supports master and slave modes
–
Up to 8 connections
•
Integrated Bluetooth Smart stack
–
GAP, GATT, L2CAP and SMP
–
Bluetooth Smart profiles
•
Radio Performance
–
Transmit power :
–
Receiver sensitivity:
+8 dBm
-98 dBm
Low Current Consumption
–
Transmit:
–
Transmit:
–
Sleep mode 3:
36 mA
25 mA (with DC/DC)
0.5 uA
Key Features
•
5/12/2014
•
Flexible Peripheral Interfaces
–
UART, SPI and I2C serial interfaces
–
PWM, GPIO
–
12-bit ADC
•
Host Interfaces
–
UART
•
Host Interfaces
–
14.7 x 13.0 x 1.8 mm
•
Programmable 8051 processor for stand-alone operation
•
Bluetooth, CE, FCC, IC, South-Korea and Japan qualified
3
•
World Leading Radio Performance
– +8dBm TX power and -98 dBm
sensitivity
– 5-10 x range compared to conventional
Bluetooth Smart solutions
•
Application Hosting Capability
– Application code can be executed on
the BLE121LR
– No need for a separate micro controller
– Programmable with Bluegiga
BGScriptTM or C
•
Flash Based
– On-the-Field firmware updates over
UART or OTA
– Application data can be stored on the
flash
•
Bluetooth, CE, FCC, IC, Japan and Korea
Qualifications
– Minimal qualification costs
– Proven interoperability
Benefits
5/12/2014
4
Bluetooth Smart Software
•
Bluetooth
Smart
World Leading Radio Performance
– 5-10 x range compared to conventional Bluetooth Smart solutions
Typical range
250 meters to iPhone 4S
(5 x typical range)
BLE121LR
450 meters to Nexus 7
(9 x typical range)
5/12/2014
5
BLE121LR Overview
•
•
•
5/12/2014
Bluetooth low energy radio
–
Frequency:
2402 – 2480 MHz
–
TX power:
+8 dBm
RX sensitivity:
-98 dBm
–
Modulation:
GFSK
–
Symbol rate:
1 Mbps
Antenna
–
Integrated ceramic chip
Measured Line-of-Sight Ranges:
– to iPhone 4S
250 meters
– to Nexus 7
450 meters
– to BLE121LR
450 meters
6
A total of 16 general purpose I/O pins
BLE121LR Overview
5/12/2014
•
USART0
– SPI master/slave or UART 1Mbps
– Hadware flow control
•
USART1
– SPI master/slave or UART 1Mbps
– Hadware flow control
•
ADC
– 7 x ADC, 7-12-bit resolution
– Internal temperature sensor
– Internal battery monitor
•
I2C
– Low power, full speed I2C
•
GPIO
– Software programmable GPIO
•
PWM
– Up to 4 channel PWM
7
BLE121LR Overview
5/12/2014
A programmable 8051 microcontroller
•
Architecture
– 8-bit, 8051 architecture
•
SRAM
– 8 kB
– 1.5 to 4kB free for applications
•
Flash
– 256kB
– 158kB free for application and/or
OTA firmware updates
8
BLE121LR current consumption
BLE121LR Overview
•
•
5/12/2014
TX peak
36 mA
25 mA
(8 dBm)
(8 dBm + DC/DC)
RX peak
25 mA
17.5 mA
(with DC/DC)
•
MCU
250uA/Mhz
8 mA peak consumption
•
Sleep modes:
270 uA
(power mode 1)
1 uA
(power mode 2)
0.5 uA
(power mode 3)
9
BLE113 vs. BLE121LR
• TX power
BLE113
BLE121LR
0 dBm
8 dBm
• Current consumption
BLE113
20.7mA (0 dBm)
BLE121LR
36 mA (8 dBm)
• Physical size
BLE113
15.75 x 9.15 x 2.1 mm
BLE121LR 14.7 x 13.0 x 1.8 mm
5/12/2014
10
Bluetooth® Smart Software
5/12/2014
11
Bluetooth Smart Software
•
Bluetooth v.4.0, Single Mode Compliant
–
Supports master and slave modes
–
Up to 8 simultaneous connections
•
Implements all Bluetooth Smart Functionality
–
GAP, L2CAP, ATT, GATT
–
Security manager: bonding, encryption
–
Bluetooth Smart profiles
•
Simple API for External Host Processors
–
BGAPITM : A simple protocol over UART or USB interfaces
–
BGLibTM : A C library for host processors implementing BGAPI
•
Supports Integrated Applications
–
BGScriptTM : A simple scripting language for writing applications
–
Native C application development with IAR Embedded
Workbench
–
No separate host needed
•
DFU and OTA Firmware Upgrade Support
•
Blutoooth Smart Profile ToolkitTM
–
XML based development tool for Bluetooth Smat profiles
–
Fast and simple profile development
•
Small Memory Requirements
–
~4-6 kB RAM
–
~60-90 kB flash (depending of used features/profiles)
•
Bluetooth Qualified
5/12/2014
12
Bluetooth Smart Software
•
BGAPITM protocol : A simple binary command, response and event protocol between the host
and the stack
–
Used when a separate host (MCU) is used to control BLE121LR over UART
–
Very small memory requirements size requirement and low implementation overhead
5/12/2014
13
Bluetooth Smart Software
•
BGLibTM library : A portable ANSI C library, which implements the BGAPI protocol
–
Easy to port to various architectures such as : ARM Cortex, PIC16/32 etc.
–
Ported to multiple programming languages : ANSI C, Java, Python and C#
–
Uses fuction–call back architecture
5/12/2014
14
Bluetooth Smart Software
•
BGScriptTM scripting language : A very simple BASIC-like application scripting language
–
–
5/12/2014
Used when applications are implemented on the BLE121LR’s 8051 controller
Enables very fast application development and allows programs to be executed directly on
the BLE121LR without the need of an external MCU
15
Why to Use BGScript?
•
Very Simple to Use
– Fast development of simple Bluetooth Smart applications
– Most appölications are 100-200 lines of code
– Simple iBeacon in 40 lines of code
•
Free Software Development Tools
– Bluegiga provides a free BGScript SDK
– Comes with compiler, example applications and documentation
•
Several Example Scripts Available
– Heart Rate transmitter
– Blood Glucose Sensor
– Proximity reporter
– iBeacon
– Over-the-Air firmware update
– iOS and Android applications
•
Cuts out the need for external MCU
– Reduced eBoM
– Smaller footprint
– Faster time-to-market
5/12/2014
16
Bluetooth Smart Software
•
Bluetooth Smart Profile ToolkitTM: A tool for
creating Bluetooth Smart profiles
–
Bluetooth Smart profiles are very simple
–
Can be describes with a single file of XML
–
•
Profile toolkit is a Simple XML description
template for Bluetooth Smart Profiles
Several example profiles and services
available
–
Heart Rate transmitter
–
Proximity reporter
–
Blood glucose sensor
–
iBeacon
–
etc.
5/12/2014
17
Certifications
5/12/2014
•
Bluetooth 4.0
– BLE121LR: Controller subsytem
– Software : Host subsystem
•
CE
– EN300328
– EN301489-1/17
– EN60950-1
•
FCC
– Part 15C modular approval
•
Industry Canada
– IC modular certification
•
South Korea
– KCC certification
•
Japan
– ARIB-STD-66
18
•
DKBLE Development Kit with
– Display
– On-board accelerometer
– On-board altimeter
– Potentiometer
– CR2032 battery holder
– USB and RS232 interfaces
– On-board firmware programming
– Current measurement point
– External DC/DC converter
– I/O headers
– Built-in extenral SPI flash
+ BLE121LR, BLE112-A, BLE113-A and
BLE113-A-M256K carrier boards
+ BLED112 USB dongle
•
Bluetooth Smart SDK
– BGAPITM documentation
– BGScriptTM development tools
– BGLibTM source code
– Profile ToolkitTM
– BGScript and BGLib examples
– Profile examples
– Documentation
– iOS and Android example applications
Development Tools
5/12/2014
19
Use Cases
•
Standalone architecture: No separate host processor
–
Sensors and peripherals are directly connected to the BLE121LR via the IO interfaces
–
Application executed on the on-board 8051
–
Application developed with BGScriptTM or ANSI C and services and profiles with Profile
ToolkitTM
Display
SPI
I2C or SPI
Sensors
IO or PWM
Buttons
and leds
BLE121LR
CR2032
5/12/2014
20
Use Cases
•
Hosted architecture: A separate MCU is used
–
–
–
–
Sensors and peripherals are directly connected to the MCU via the IO interfaces
BLE121LR connected to the MCU via UART or USB
Application developerd to the MCU and interfacing to BLE121LR done using BGAPITM
protocol (BGLibTM can be used on the host)
Profile developed with Profile ToolkitTM
BLE121LR
UART
I2C or SPI
Display
SPI
IO or PWM
5/12/2014
Sensors
Buttons
and leds
21
Thank You
5/12/2014
www.bluegiga.com
22