RedBearLab BLE Shield 目前除了 BLE Arduino 之外,其餘的 iOS SDK 與 Arduino Library 都是開源的,你可以直接到 http://redbearlab.com/bleshield/ 進行了解,或是參訪官方的 github 查看相關專案的開發進度。
以 RedBearLab BLE Shield 為例,提供了 BleFirmata (透過 BLE 直接控制、讀取各腳位)、Chat(BLE 轉 UART)、與 SimpleControls (腳位控制範例)等範例,也提供了 iOS 與 Mac OS X 上的範例對應源碼。
原廠連結:http://redbearlab.com/bleshield/
BLE Shield stands for Bluetooth Low Energy (BLE) Shield. It is designed to work with Arduino boards or compatibles, including Arduino Uno, Mega 2560, Leonardo and Due. It allows you to connect your Arduino boards with other BLE Central device like a smartphone or tablet. So you can develop some applications like:
BLE shield could operate under 3.3V or 5V, therefore it works with a lot of Arduino compatible boards too.
iOS 7 or 8
Android 4.3 or above (4.4 recommended for stability) with Bluetooth 4.0 hardware support
Windows 8.1 with built-in Bluetooth 4.0 or USB dongle
Mac OSX 10.9.2 with built-in Bluetooth 4.0 or USB dongle
Linux with BlueZ 5.1 with built-in Bluetooth 4.0 or USB dongle
We recommend using Codebender, an online development and collaboration platform for all Arduino users, please read to our Quick Start with Codebender to start playing with your BLE Shield in just a few easy steps.
We have also prepared a detail guide Getting Started with BLE Shield to show you how to program your BLE Shield using Arduino IDE.
Signal | Arduino | nRF8001 | Description |
---|---|---|---|
MISO | Input | Output | SPI: Master In Slave Out |
MOSI | Output | Input | SPI: Master Out Slave In |
SCK | Output | Input | SPI: Serial data Clock |
REQN | Output | Input | Application controller to nRF8001 handshake signal |
RDYN | Input | Output | nRF8001 to application controller handshake signal |
A. nRF8001 & Arduino board Reset Button
B. Factory Testing Pins
C. Power On LED
D. Flexible REQN and RDYN pins from pin 2 to 10
E. External Antenna
F. Onboard Antenna
G. Nordic nRF8001
H. Optional Pin to Control the Shield’s reset
I. Power Consumption Measurement of the nRF8001 chip
J. Power Monitor on Oscilloscope
K. SPI interface connection for nRF8001
Since we have to enable SPI interface for ACI communication, some I/O pins will not be available for other usage. On Arduino Uno, the SPI bus uses pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK). On the Arduino Mega, they are 50 (MISO), 51 (MOSI), 52 (SCK), and 53 (SS). For Leonardo, the SPI pins are not connected to any of the digital I/O pins as they are on the Uno and Mega, they are only available on the ICSP connector. Our BLE Shield is designed to utilize the SPI pins on the ICSP Header, therefore it is compatible with all three Arduino models.
Moreover Nordic’s ACI requires two hand-shake signals, RDYN and REQN, two additional pins will be used (pins 8 & 9 in the default settings).
Arduino Model | Pins Available | Pins Not Available |
---|---|---|
Uno | 0 – 9 (except pins that REQN and RDYN occupied), A0 – A5 |
REQN, RDYN, 10 – 13 (6 in total) |
Mega | 0 – 49 (except pins that REQN and RDYN occupied), A0 – A15 |
REQN, RDYN, 50 – 53 (6 in total) |
Leonardo | 0 – 13 (except pins that REQN and RDYN occupied), A0 – A5 |
REQN, RDYN |
BLE Shield Respository - Provides BLE Shield resources such as schematics.
Nordic Bluetooth Smart SDK for Arduino - Provides a lot of BLE tutorials and examples for BLE beginners to work with the BLE Shield, supported by Nordic.
RedBearLab nRF8001 library - Provides simple APIs for exchanging data between BLE central and the BLE Shield
For questions about Nordic Bluetooth low energy SDK for Arduino,
please visit Nordic Developer Zone
All other questions regarding BLE Shield, please go to BLE Shield Forum
Q1: What is Bluetooth dual mode? Is the BLE Shield a dual mode device?
A1: Dual mode devices (e.g. iPhone 4S/5) are compatible with both Bluetooth Classic and Bluetooth Low Energy (BLE) devices. BLE Shield is a single mode device only, so it is not compatible with the classic mode Bluetooth.
Q2: What is BLE Central role? Can the BLE Shield work in Central role?
A2: Central role devices (e.g. iPhone 4S/5) can work as a master in the BLE star network, they can perform scanning and connect to peripheral devices. The BLE Shield can work as peripheral role only, i.e. it can only be connected from other central rol devices.
Q3: Can I get RSSI from the BLE Shield?
A3: The nRF8001 does not provide any function call to get RSSI, so this is not possible. You can get RSSI from the BLE Central side, e.g. iPhone 5.
Q4: Can I change the name (BLE Shield) to others?
A4: You can use the API - "ble_set_name(name)" to do that. See examples.
Q5: Can I change the 128-bit UUID with my own one?
A5: You need to use Nordic's nRFgo Studio and open the BLEShield.xml to edit the settings, it will generate some C source files using the .bat file. You can also set the connection interval, advertising data, etc.
Q6: Can two BLE Shields talk to each other?
A6: Since the BLE Shield cannot run in Central role, so this is not possible.
資料來源:https://www.seeedstudio.com/Bluetooth-4.0-Low-Energy-BLE-Shield-v2.1-p-1995.html
BLE Shield stands for Bluetooth Low Energy (BLE) Shield. It is designed to work with Arduino boards or compatibles, including Arduino Uno, Mega 2560, Leonardo and Due. It allows you to connect your Arduino boards with other BLE Central device like a smartphone or tablet. So you can develop some applications like:
BLE shield could operate under 3.3V or 5V, therefore it works with a lot of Arduino compatible boards too.
New Features in BLE Shield Version 2.1
Features Since v2.0
Supported BLE Central Devices
Getting Started Guide
We have prepared a step-by-step guide Getting Started with BLE Shield to show you how to connect your BLE Shield with our free iOS and Android Apps.
How It Works
TECHNICAL DETAILS
Signal | Arduino | nRF8001 | Description |
MISO | Input | Output | SPI: Master In Slave Out |
MOSI | Output | Input | SPI: Master Out Slave In |
SCK | Output | Input | SPI: Serial data Clock |
REQN | Output | Input | Application controller to nRF8001 handshake signal |
RDYN | Input | Output | nRF8001 to application controller handshake signal |
SHIELD LAYOUT
RESOURCES
SUPPORT
Dimensions | 95mm x 70mm x 30mm |
Weight | G.W 38g |
Battery | Exclude |