Difference between revisions of "Arduino Bluetooth shield"

From Geeetech Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==introduction==
 
==introduction==
 +
[[File:BT-0.jpg]]
  
 
The Bluetooth Shield integrates a Serial Bluetooth module. It can be easily used with Arduino for transparent wireless serial connection setup. You can choose two pins from Arduino D0 to D7 as Software Serial Ports to communicate with Bluetooth Shield (D0 and D1 is Hardware Serial Port).  
 
The Bluetooth Shield integrates a Serial Bluetooth module. It can be easily used with Arduino for transparent wireless serial connection setup. You can choose two pins from Arduino D0 to D7 as Software Serial Ports to communicate with Bluetooth Shield (D0 and D1 is Hardware Serial Port).  
Line 20: Line 21:
 
==Hardware Specification==
 
==Hardware Specification==
 
===Hardware Diagram===
 
===Hardware Diagram===
 +
[[File:BT-1.jpg|500px]]
  
 
S1:Function button, This button is multi-function button include the function memory clearing (short press) which means delete the address of the bluetooth module connected last time and the function restoring the default configuration.
 
S1:Function button, This button is multi-function button include the function memory clearing (short press) which means delete the address of the bluetooth module connected last time and the function restoring the default configuration.
Line 28: Line 30:
  
 
===Selectable UART connection===
 
===Selectable UART connection===
 +
Users can use the jumpers to connect the BT_TX and BT_RX pins(5V) of Bluetooth shield to any Arduino.
 +
 +
[[File:BT-2.jpg|500px]]
 +
 +
'''Users must be aware that which Digital pin of Arduino connects to BT_TX needs to act as Arduino RX pin(Hardware/Software), and which connects to BT_RX needs to act as Arduino TX pin(Hardware/Software).'''
 +
 +
The following figure shows users how to use jumpers to configure UART communication between Wifi Shield and Arduino.
 +
 +
[[File:BT-3.jpg|500px]]
 +
 +
[[File:BT-4.jpg|500px]]
  
 
===State Instructions LED===
 
===State Instructions LED===
 +
[[File:BT LED.jpg|500px]]
  
 
==Communication between two Bluetooth Shield==
 
==Communication between two Bluetooth Shield==

Revision as of 06:46, 4 January 2013

introduction

BT-0.jpg

The Bluetooth Shield integrates a Serial Bluetooth module. It can be easily used with Arduino for transparent wireless serial connection setup. You can choose two pins from Arduino D0 to D7 as Software Serial Ports to communicate with Bluetooth Shield (D0 and D1 is Hardware Serial Port).

Note
The Shield may not be compatible with some Bluetooth capable devices, like Apple devices with special profile on Bluetooth function

Specifications:

  • Arduino compatible
  • Up to10m communication distance in house without obstacle
  • UART interface (TTL) with programmable baud rate (SPP firmware installed)
  • Bluetooth protocol: Bluetooth Specification v2.1 + EDR
  • USB protocol: USB v1.1/2.0
  • Frequency: 2.4GHz ISM band
  • Modulation: GFSK (Gaussian Frequency
  • Default Baud rate: 9600, Data bits: 8, Stop bit: 1, Parity: No parity
  • A full set of configuration commands
  • On board PCB Antenna

Hardware Specification

Hardware Diagram

BT-1.jpg

S1:Function button, This button is multi-function button include the function memory clearing (short press) which means delete the address of the bluetooth module connected last time and the function restoring the default configuration.

S2: The switch S2 is for hardware/software selection for master or slave mode. When the switch S2 is toggled to "HW" side indicate that you can set the module to either master or slave mode by switch S3. When the switch S2 is toggled to "SW" side means the master/slave mode is only decided by AT command "AT+role<0/1>"

S3: The switch S3 is for master/slave selection only if the S2 is toggled to "HW" side.

Selectable UART connection

Users can use the jumpers to connect the BT_TX and BT_RX pins(5V) of Bluetooth shield to any Arduino.

BT-2.jpg

Users must be aware that which Digital pin of Arduino connects to BT_TX needs to act as Arduino RX pin(Hardware/Software), and which connects to BT_RX needs to act as Arduino TX pin(Hardware/Software).

The following figure shows users how to use jumpers to configure UART communication between Wifi Shield and Arduino.

BT-3.jpg

BT-4.jpg

State Instructions LED

BT LED.jpg

Communication between two Bluetooth Shield

Hardware needed

  • Arduino UNO processor x2
  • Bluetooth Shield x2

Steps

  1. Stack the Bluetooth shield to the Arduino Uno.
  2. Program a simple code as blink without delay for your Arduino UNO first to avoid the serial communication conflict.
  3. Set the jumpers to connect the WIFI_TX and WIFI_RX pins as the photo above to enable PC com port to send AT command to Bluetooth shield directly as the photo below
  4. Open the com port of your Arduino UNO with the setting of baudrate 9600. and enter the "AT" to test the communication between WIFI shield and the USB port.
  5. Set the switch "S1" on both shield to "HW" side, and set the switch "S2" to "SLAVE" on one shield and another to "MASTER" side.
  6. The State LED always being on indicate that the two shield are connected.

Document

How to buy

Click here to buy [Arduino Bluetooth shield]