| | | | |
產品說明0 ※本產品原廠代理從國外進口,有些交期較長,下訂前請詢問! BLE Shield (Bluetooth Low Energy (BLE) Shield for Arduino 2.1) RedBearLab BLE Shield 2.1 版 ,Arduino iPhone 通訊 The Bluetooth Low Energy (BLE) Shields for Arduino 2.1 is designed to let you interface your Arduino with compatible iOS or Android devices without wires or jail-breaking. It works with all Arduino boards, including Arduino Uno, Mega 2560, Leonardo, and Due. This is the second version of the BLE Shield, and it's better than ever (also, now red!). You now have the option to use an SMA connector to attach your own antenna to your project, for greater range (soldering required). The ICSP header provides power to additional shields, if you want to continue stacking on top of the BLE Shield, and the onboard reset button now resets the Arduino board, and vice versa. Resetting the shield can also be done in software through Arduino Pins 4 or 7. The shield has an approved app for free in the Apple App Store so you can start experimenting right out of the box. iOS developers can write their own apps using the iOS SDK. Requires: - iOS 6 or 7: iPhone 5 (all models), iPhone 4S, iPad Air, iPad (3rd gen or later), iPad mini (all models) and iPod touch (5th gen or later)
- Android 4.3 devices with BLE hardware: Nexus 4, Nexus 7 and Samsung Note 3.
Features: - Works with BLE equipped iOS devices - iPhone 5 (all models), iPhone 4S, iPad Air, iPad (3rd gen or later), iPad mini (all models) and iPod touch (5th gen or later)
- Works with BLE equipped Android devices (Nexus 4, Nexus 7 and Samsung Note 3)
- Supports Arduino Uno, Leonardo, Mega, and Due
- No jailbreaking required!
- Approved sample App available in the App Store
- Based on the Nordic nRF8001 BTLE module.
-----------------------------------------------------------
How to Assemble iOS Quick Start: - Download the BLE Shield Library for Arduino.
Unzip the file and move the two subfolders, "BLE" & "BluetoothLowEnergy", to Arduino's libraries folder.
For more information about Arduino's libraries folder, please visit http://arduino.cc/en/Guide/Libraries. - Open the BleFirmata sketch: "File" > "Examples" > "BluetoothLowEnergy" > "BleFirmata".
- Compile and upload the program to your Arduino board.
- Download the BLE Arduino App from Apple's iTunes Store, start the App and press "Connect".
Developer SDK Android Quick Start: - Download latest RedBearLab Library.
- Unzip the file and move the two subfolders, "Nordic_BLE" & "RBL_BLEShield", in BLEShield/Arduino/libraries to Arduino's libraries folder.
For more information about Arduino's libraries folder, please visit http://arduino.cc/en/Guide/Libraries. - Open our BLEController sketch: "File" > "Examples" > "RBL_BLEShield" > "BLEControllerSketch".
- Compile and upload the program to your Arduino board.
- Download our Android BLE Controller App from the browser on your Android device and simply "click" the downloaded file to install.
**For more information about “Sideloading” an Android App, please visit How to sideload and install Android applications [ANDROID 101]. New Features in BLE Shield Version 2.1 - Reset button is changed to "side button"
- nRF8001 SPI pins can be set to either Pins 11-13 on the side or ICSP, this allows other Arduino compatible boards with no ICSP header such as FRDM-KL05 board, RedBoard and so on to interface with the nRF8001 BLE chip
- Flexible REQN and RDYN pins selectable from pin 2 to 10
- The board is shorter than before and this allows it to fit on Arduino Yun physically
Features Since v2.0 - Besides the on-board PCB antenna, option to use SMA connector for external antenna (soldering is required)
- Flexible REQN and RDYN pins selectable from pin 2 to 12, these pins are fixed at 8 & 9 for BLE Shield v1
- Reset button also resets the Arduino board, and vice versa
- ICSP header provides Vcc (for other shields to get power source)
- ICSP header now passes through (for other shields to connect to the SPI)
- Shield's reset is controllable by Arduino pin 4 or 7
- Reset signal to the shield is now active low (i.e. pull low to reset the shield)
- Added test points for power consumption measurement of the nRF8001 chip (soldering is required)
- Added circuitry and test pin (J9 NC) for measurement of instant working current (using logic analyzer, 1mA = 100mV).
---------------------------------------------------- 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 Pins Availability 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 | Frequently Asked Questions 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. | | |