Difference between revisions of "BT Shield (Slave)"

From ITEAD Wiki
Jump to: navigation, search
(Hardware)
(Overview)
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
Arduino and IFlat-32, it can directly plug in with Arduino/IFlat-32 board, use the UART port for  
 
Arduino and IFlat-32, it can directly plug in with Arduino/IFlat-32 board, use the UART port for  
 
communicating to Arduino/IFlat-32 or FT232.
 
communicating to Arduino/IFlat-32 or FT232.
 +
 +
Go shopping [http://imall.iteadstudio.com/im120417006.html BT Shield (Slave) (IM120417006)]
  
 
==Specifications==
 
==Specifications==
Line 82: Line 84:
  
 
==AT command==
 
==AT command==
 +
Default:
  
==Demo Code==
+
Slave, 9600 baud rate, N, 8, 1. Pincode 1234
 +
 +
AT command:
 +
 
 +
1. Communications Test:
 +
 
 +
Sent : AT
 +
 
 +
receive : OK
 +
 +
2. Change baud rate:
 +
 
 +
Sent : AT+BAUD1
 +
 
 +
receive : OK1200
 +
 +
Sent : AT+BAUD2
 +
 
 +
receive : OK2400
 +
 
 +
1---------1200
 +
 
 +
2---------2400
 +
 
 +
3---------4800
 +
 
 +
4---------9600
 +
 
 +
5---------19200
 +
 
 +
6---------38400
 +
 
 +
7---------57600
 +
 
 +
8---------115200
 +
 
 +
Baud rate setting can be save even power down.
 +
 +
3. Change Bluetooth device name:
 +
 +
Sent : AT+NAMEdevicename
 +
 
 +
receive : OKname
 +
 
 +
(devicename is the name you want the device to be , and it will be searched with this
 +
name)
 +
 
 +
Name setting can be save even power down.
 +
 +
4. Change Pincode:
 +
 
 +
Sent : AT+PINxxxx
 +
 
 +
receive : OKsetpin
 +
 
 +
(xxxx is the pin code you set)
 +
 
 +
Pin code can be save even power down.
  
 
==License==
 
==License==
 +
[[File:Colors Shield1.jpg]]Attribution Non-Commercial Share Alike
 +
 +
''cc by-nc-sa''
  
 
==Download==
 
==Download==
 +
[ftp://imall.iteadstudio.com/IM120417006_BT_Shieldv2.1/DS_IM120417006_BT_Shield_Slave.pdf Datasheet for BT Shield (Slave)]
 +
 +
[ftp://imall.iteadstudio.com/IM120417006_BT_Shieldv2.1/SCH_IM120417006_BT_Shield_Slave.pdf Schematic for BT Shield (Slave)]
 +
 +
[ftp://imall.iteadstudio.com/IM120417006_BT_Shieldv2.1/DC_IM120417006_BT_Shield_Slave.zip Demo Code for BT Shield (Slave)]
  
 
==Useful Links==
 
==Useful Links==

Latest revision as of 06:04, 11 June 2014

Overview

BT shield (salve).jpg

BT Shield V2.1 is a Serial port Bluetooth module (Slave) breakout board, and it’s compatible with Arduino and IFlat-32, it can directly plug in with Arduino/IFlat-32 board, use the UART port for communicating to Arduino/IFlat-32 or FT232.

Go shopping BT Shield (Slave) (IM120417006)

Specifications

Microprocessor CSR BC417
PCB size 53.3mm X 47mm X 1.6mm
Indicators PWR,State
Power supply 5V DC
IO 3
Communication Protocol UART/Bluetooth 2.0
RoSH Yes

Electrical Characteristics

Specification Min Type Max Unit
Power Voltage 4.5 5 5.5 VDC
Input Voltage VH (Target Voltage = 3.3V) 3 3.3 3.6 VDC
Input Voltage VH (Target Voltage = 5V) 4.5 5 5.5 V
Input Voltage VL: -0.3 0 0.5 V
Current Consumption - 20 40 mA

Hardware

BT shield (salve)1.jpg

Pad Name Type Description
RX/TX I/O UART communication Port (Depend on switcher 4)
TX/RX I/O UART communication Port (Depend on switcher 4)
State O State Direction
Switcher Name Description
4 UART Communication Switch Connect to broad or FT232
5 Communication Voltage Switch Set the interface voltage
LED Name Description
6 PWR When power on, the PWR LED light.
7 State \"When the module in standby mode, the State LED will alternating light off. When the serial port open, the State LED light.\"

AT command

Default:

Slave, 9600 baud rate, N, 8, 1. Pincode 1234

AT command:

1. Communications Test:

Sent : AT

receive : OK

2. Change baud rate:

Sent : AT+BAUD1

receive : OK1200

Sent : AT+BAUD2

receive : OK2400

1---------1200

2---------2400

3---------4800

4---------9600

5---------19200

6---------38400

7---------57600

8---------115200

Baud rate setting can be save even power down.

3. Change Bluetooth device name:

Sent : AT+NAMEdevicename

receive : OKname

(devicename is the name you want the device to be , and it will be searched with this name)

Name setting can be save even power down.

4. Change Pincode:

Sent : AT+PINxxxx

receive : OKsetpin

(xxxx is the pin code you set)

Pin code can be save even power down.

License

Colors Shield1.jpgAttribution Non-Commercial Share Alike

cc by-nc-sa

Download

Datasheet for BT Shield (Slave)

Schematic for BT Shield (Slave)

Demo Code for BT Shield (Slave)

Useful Links