Revision History Revision V3 V3 r1 Descriptions Release Date Initial release Sep 18, 2011 1. Change the photos. Sep 23, 2011 2. Change max current to 50mA. 3. Add the shielding case to the Bluetooth module 4. Remove the mega compatibility.
Bluetooth Shield (2770069) Contents 1 Introduction 2 Features 3 Specification 4.Interface function 5 Usage o 5.1 Hardware Installation o 5.2 Software Instruction 1. Introduction The Bluetooth Shield integrates a Serial Bluetooth module. It can be easily used with Arduino / Seeeduino for transparent wireless serial communication. 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).
2. Features Seeeduino/Arduino compatible Up to10m communication distance in house without obstacle UART interface (TTL) with programmable baud rate (SPP firmware installed) Default Baud rate: 38400, Data bits: 8, Stop bit: 1, Parity: No parity Default PINCODE:”0000” A full set of configuration commands On board PCB Antenna FCC ID Certificated 3.
Pad Type Description PIO1 Status instruction port of Bluetooth module can be read by Arduino A1 port: low-disconnected, high-connected. BT_RX UART Data input of Bluetooth module BT_TX UART Data output Bluetooth module Two Grove connectors One is Digital (D8 and D9), the other is I2C/Analog (A4 and A5). 5. Usage 5.1 Hardware Installation Plug the Bluetooth Shield onto Arduino/Seeeduino and then connect the board to PC using USB cable.
.2 Software Instruction Working Sketch Map The following sketch presents an overview of Bluetooth Shield operation in master and slave mode. The following flowchart gives a quick start guide to Bluetooth Shield programming.
Commands to change default configuration 1. Set working MODE \r\n+STWMOD=0\r\n Set device working mode as client (slave). Save and Rest. \r\n+STWMOD=1\r\n Set device working mode as server (master). Save and Rest. Note: \r\n is necessary for operation and the value of are 0x0D 0x0A in Hex. \r and \n represent carriage-return and line-feed (or next line), 2.
\r\n+STBD=115200\r\n Set baudrate 115200. Save and Rest. Supported baudrate: 9600, 19200, 38400, 57600, 115200, 230400, and 460800. 3. Set Device NAME \r\n+STNA=abcdefg Set device name as “abcdefg”. Save and Rest. 4. Auto-connect the last paired device on power \r\n+STAUTO=0\r\n Auto-connect forbidden. Save and Rest. \r\n+STAUTO=1\r\n Permit Auto-connect. Save and Rest. 5. Permit Paired device to connect me \r\n+STOAUT=0\r\n Forbidden. Save and Rest. \r\n+STOAUT=1\r\n Permit. Save and Rest. 6.
\r\n+LOSSRECONN=1\r\n Permit auto-reconnecting. Commands for Normal Operation: 1. Inquire a) Master \r\n+INQ=0\r\n Stop Inquiring \r\n+INQ=1\r\n Begin/Restart Inquiring a) Slave \r\n+INQ=0\r\n Disable been inquired \r\n+INQ=1\r\n Enable been inquired When +INQ=1 command is successful, the red and green LEDS blink alternatively. 2. Bluetooth module returns inquiring result \r\n+RTINQ=aa,bb,cc,dd,ee,ff;name\r\n Serial Bluetooth device with the address “aa,bb,cc,dd,ee,ff” and the name 3.
6. Return status \r\n+BTSTA:xx\r\n xx status: 0 - Initializing 1 - Ready 2 - Inquiring 3 - Connecting 4 - Connected (Note: This is not a command, but the information returned from the module after every command) Warning: Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.
As long as the condition above are met, further transmitter test will not be required. However, the OEM integrator is still responsible for testing their end-product for any additional compliance requirements required with this module installed (for example, digital device emissions, PC peripheral requirements, etc.). Maximum antenna gain with this device is -1dBi.