Difference between revisions of "Arduino Bluetooth Low Energy (BLE) Shield"

From Geeetech Wiki
Jump to: navigation, search
(Use)
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==  Introduction ==
 
==  Introduction ==
  
 +
[[File:BLE1.jpg|400px]]
  
  
Line 9: Line 10:
  
  
 +
This shield is designed to work with Arduino boards, including Arduino Uno, Mega and Leonardo.
  
This shield is designed to work with Arduino boards, including Arduino Uno, Mega and Leonardo.  
+
The shield supports connection between Arduino and iOS device including iPhone 5, iPhone 4S, iPad 3rd generation and iPod touch 5th generation.
  
the shield supports connection between Arduino and iOS device including iPhone 5, iPhone 4S, iPad 3rd generation and iPod touch 5th generation.
+
You can control and  receive status of Arduino pins with an iPhone easyly,pass all sensors data from your Arduino to an iOS App for processing,
  
 +
use your iDevice as an internet gateway for your Arduino,etc.
  
 
== Features ==
 
== Features ==
Line 29: Line 32:
 
*Requires iPhone 5, iPhone 4S, iPad mini, iPad with Retina display (4th gen), iPad (3rd gen) or iPod touch (5th gen).
 
*Requires iPhone 5, iPhone 4S, iPad mini, iPad with Retina display (4th gen), iPad (3rd gen) or iPod touch (5th gen).
  
 
+
*iOS Version 6or above
 
== Hardware ==
 
== Hardware ==
 
Nordic nRF8001 Bluetooth Low Energy IC
 
Nordic nRF8001 Bluetooth Low Energy IC
Line 53: Line 56:
  
 
== Usage==
 
== Usage==
 +
'''Hardware needed'''
 +
*Arduino UNO processor x1
 +
*Arduino Bluetooth Low Energy (BLE) Shield x1
 +
*iPhone 5, iPhone 4S, iPad mini, iPad with Retina display (4th gen), iPad (3rd gen) or iPod touch (5th gen)x1
 +
 +
'''steps'''
 +
1. Upload [http://www.geeetech.com/Documents/BLE%20Software.rar BLEFirmata] (include in the Examples of Arduino IDE)to  your Arduino UNO .
 +
 +
2.Open Bluetooth Software from your iPad  or  iPhone and keep the key of Bluetooth Low Energy (BLE) Shield is on.
 +
 +
[[File:BLE2.jpg|400px]]
 +
 +
3.Connect  BLE.
 +
 +
[[File:BLE5.jpg|400px]]
 +
 +
4.OK! Now ,first a LED pug in A0 and GND of BLE ,of coures ,it is better to add a limit current resistance ,click A0's 'H' from iPad,you will  see the LED is light.
 +
 +
[[File:BEL3.jpg|400px]]
 +
 +
Next,connect A0 and ACC+5V on BLE ,open A0's ' analog ' state from iPad ,you will see the max input analog value:1023.
 +
 +
[[File:BEL4.jpg|400px]]
 +
 +
== How to buy ==
 +
 +
Click here to buy[http://www.geeetech.com/bluetooth-low-energy-shield-for-iduinoarduino-p-625.html Arduino Bluetooth Low Energy (BLE) Shield]

Latest revision as of 07:37, 15 May 2013


Introduction

BLE1.jpg




This shield is designed to work with Arduino boards, including Arduino Uno, Mega and Leonardo.

The shield supports connection between Arduino and iOS device including iPhone 5, iPhone 4S, iPad 3rd generation and iPod touch 5th generation.

You can control and receive status of Arduino pins with an iPhone easyly,pass all sensors data from your Arduino to an iOS App for processing,

use your iDevice as an internet gateway for your Arduino,etc.

Features

  • SPI to Bluetooth.
  • Fully qualified Bluetooth® v4.0 low energy Connectivity IC with integrated Radio, Link Layer, and Host stack
  • Cost-optimized solution for Peripheral (Slave) role operation
  • Best-in-class power consumption enabling months to years of battery lifetime when running from standard CR2032 coin cells
  • On-chip DC/DC regulator enabling up to 20% peak current reduction for 3V cells
  • Fully integrated, low tolerance 32kHz RC oscillator eliminating the need for external 32kHz crystals
  • Simple serial interface (ACI) supporting a range of different external application microcontrollers


NOTE

  • Requires iPhone 5, iPhone 4S, iPad mini, iPad with Retina display (4th gen), iPad (3rd gen) or iPod touch (5th gen).
  • iOS Version 6or above

Hardware

Nordic nRF8001 Bluetooth Low Energy IC

  • Support Peripheral (Slave) role operation only - nRF8001 IC limitation.
  • Proprietary simple serial interface - Application Controller Interface (ACI).
  • Please refer to Nordic’s nRF8001 Product Specification for more details.

Application Controller Interface (ACI)

  • The ACI enables an application controller to communicate with nRF8001.
  • The physical ACI interface on nRF8001 consists of five pins. All ACI data exchanges use a standard SPI interface, with nRF8001 using a mode 0 slave interface to the application controller.
  • However, nRF8001 does not behave as a pure SPI slave device; nRF8001 can receive new data over-the- air at any time or be busy processing a connection event or new data. *Consequently, the traditional CSN signal used to initiate an SPI transaction is replaced by two active low hand-shake signals; RDYN and REQN.

Bluetooth1.png


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 current implementation). Buletooth2.png

Usage

Hardware needed

  • Arduino UNO processor x1
  • Arduino Bluetooth Low Energy (BLE) Shield x1
  • iPhone 5, iPhone 4S, iPad mini, iPad with Retina display (4th gen), iPad (3rd gen) or iPod touch (5th gen)x1

steps 1. Upload BLEFirmata (include in the Examples of Arduino IDE)to your Arduino UNO .

2.Open Bluetooth Software from your iPad or iPhone and keep the key of Bluetooth Low Energy (BLE) Shield is on.

BLE2.jpg

3.Connect BLE.

BLE5.jpg

4.OK! Now ,first a LED pug in A0 and GND of BLE ,of coures ,it is better to add a limit current resistance ,click A0's 'H' from iPad,you will see the LED is light.

BEL3.jpg

Next,connect A0 and ACC+5V on BLE ,open A0's ' analog ' state from iPad ,you will see the max input analog value:1023.

BEL4.jpg

How to buy

Click here to buyArduino Bluetooth Low Energy (BLE) Shield