Advertisement

Quick Links

BT740 Development Kit
Quick Start Guide
This Quick Start Guide applies to the following part numbers:
DVK-BT740-SA
DVK-BT740-SC
I
NTRODUCTION
There are two hardware variants (on board antenna and uFL connector for external) of the BT740 Enhanced
Data Module (BTv 2.1 specification) which interface with a host via an UART and one of two logical protocols.
There are two logical protocols called AT and MP. AT is very similar to the Hayes AT protocol found in
traditional modems allowing control of one Bluetooth connection at a time. MP is a multipoint packet-based
protocol which allows the management of multiple simultaneous connections.
The BT740 ship from Laird facilities with a factory default in AT mode with communications setting of
9600,N,8,1.
This guide covers the topics below on the BT740 which is preconfigured in AT mode at production. If you
chose to convert the BT740 to MultiPoint (MP) mode, follow the
modes.
Note: Detailed description of both protocols can be found in the BT740 User Manual.
R
EQUIREMENTS
DVK-BT740 including BT740 carrier board
BRBLU03-010A0 USB Bluetooth adapter or Computer with
built-in Bluetooth
BT740 development motherboard
Windows XP Operating System or later
Terminal Software such as
http://www.lairdtech.com/zips/LairdTerminal_v6_9_0.zip
Laird's
MpBtHost utility
http://www.lairdtech.com/zips/MpBtHost_v3_5_0.zip
RS232 cable or USB-RS232 adaptor
The development kit motherboard's USB socket provides ONLY power to the module. A RS232 connection is
required to have serial communications with the module on the carrier board. Laird provides a terminal
emulator program called Laird / EZURiO Terminal for AT mode operation but you can use your preferred
terminal emulator program in its place. Another program Laird provides is MpBtHost for multipoint (MP)
mode operation. This example uses the Microsoft Bluetooth stack and software that comes with Windows 7.
If your computer has built-in Bluetooth support, you can modify the computer aspect of the procedure
documented below to match your existing Bluetooth instead of using the supplied BRBLU03-010A0.
P
REPARATION
To prepare your setup, follow these steps:
1.
Plug in the BT740 Carrier Board to the DVK motherboard.
NOTE: The carrier board plugs into 40-pin Hirose connector as shown in
Americas: +1-800-492-2320 Option 3
Europe: +44-1628-858-940
Hong Kong: +852-2268-6567 x026
www.lairdtech.com/bluetooth
Laird / EZURiO terminal
(if using MultiPoint functionality) -
1
Convert Protocol
section to switch protocol
-
Figure 1: BT740-SA Module
Figure
2.
Laird Technologies

Advertisement

Table of Contents
loading

Summary of Contents for Laird BT740 Series

  • Page 1 Bluetooth connection at a time. MP is a multipoint packet-based protocol which allows the management of multiple simultaneous connections. The BT740 ship from Laird facilities with a factory default in AT mode with communications setting of 9600,N,8,1.
  • Page 2 Connect the USB cable to the computer and development board. TP2 is the power switch and there is an LED for power indication. Install your preferred terminal program. We recommend using Laird / Ezurio Terminal. Install MpBtHost, if utilising MP mode.
  • Page 3: Make Inquiry

    Figure 6: Configuration defaults Make Inquiry You can inquiry nearby Bluetooth devices by issuing AT+BTIN. In Figure 7, BT740 (MAC address: 0016A40605F1) found another Laird module with MAC address 0016A40605F1. Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026...
  • Page 4: Pair From Pc

    Click Add a device (Figure Figure 8: Select Add a device Select BT740 module and click Next. In Figure 9, Laird 0605F7 is the Bluetooth Friendly name which is configurable. Figure 9: Select the BT module Americas: +1-800-492-2320 Option 3 Laird Technologies...
  • Page 5: Pair With Module

    After inquiry, issue “AT+BTW<peer address>” to start pairing. PAIR 0 indicates pairing is successful. The purpose of AT+BTT? is to check if the link key is stored (Figure 12). Figure 12: Pairing with the module Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 6: Make Spp Connection From Pc To Module

    (Figure 14). Figure 14: DCD LED indication Make SPP Connection from Module to Module Another Laird module with MAC address 0016A40605F1 is physically connected on COM24 (Figure 15). Figure 15: Module to module connection In order to make an SPP connection from a module with MAC address 0016A40605F7 to another module with MAC address 0016A40605F1, issue ATD<peer MAC address>...
  • Page 7: Drop Connection

    Figure 18: Drop connection command Note that “^^^” is also treated as data and is transmitted to another module (Figure 19). Figure 19: ^^^ transmitted as data Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 8: Convert From At To Mp Mode

    There is an S register (0xFF) to set the protocol mode (Figure 22). Host Communications Protocol 1 = Multipoint Packet Protocol 255 (FF) 2 = AT Protocol Automatically saved to non-vol memory on write Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 9 To put the module in AT mode, you can set the register (0xFF) value to 0x02, and power cycle the module (Figure 23). Figure 23: S Reg to put module in AT mode Figure 24: Converted to AT mode Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 10 Figure 26: Firmware version and MAC address There are small LED emulation graphics labelled CTS/RTS/DCD/RI/RTS. These reflect the actual state of the modem control lines as asserted by the module. Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 11: Obtain Version And Bluetooth Address

    A number is located after the < or >; this number is the COM port number. The following field (for example, 364.465 and 000.125) is the time elapsed (in milliseconds) since the last packet (regardless of direction). Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 12 Connectable, SPP, and SSP+IO_CAP_NO_INPUT_NO_OUTPUT. Pair from PC To pair with a Bluetooth device, follow these steps: Access Devices and Printers > Bluetooth Devices Click Add a device (Figure 29). Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 13 Figure 29: Select Add a device Select BT740 module and click Next. In Figure 30, Laird 0605F7 is the Bluetooth Friendly name which is configurable. Figure 30: Add a device window If the computer is not equipped with built-in Bluetooth and the BRBLU03-010A0 USB Bluetooth adapter is used, the following additional steps are required: a.
  • Page 14 32). Figure 32: Enter pairing code c. In the pop-up dialog box, click Ok to complete the pairing (Figure 33). Figure 33: Incoming Pairing PinCode Request window Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 15: Make Serial Port Profile Data (Spp) Connection

    To make the SPP connection from PC to module, open the outgoing COM port (COM 40) with a terminal program. MpBTHost opens a new dialog box which enables data to be sent back and forth in a terminal emulation window fashion (Figure 36). Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 16: Send Data In Both Directions

    (COM47) and see the data appear at the other end (COM40). For example type in Hello and type Send … Figure 38: COM 47 and COM 40 exchanging data Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 17 The following (Figure 41) is the log window for the exchange above (Figure 40). Figure 41: Log window <47 385.557 03 07 41 <47 001.060 03 07 43 Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 18 In order to enable HID and SPP, follow these steps: Change the S Register (0x03) to 0x03 (Figure 43). Figure 43: Change the S Register Store the S Register (Figure 44). Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 19 (Figure 46). Figure 46: Bluetooth Settings Pairing To perform pairing, follow these steps: From the drop-down menu, select Inquiry Wizard (Figure 47). Figure 47: Select Inquiry Wizard Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 20 Figure 49: Select Pairing Wizard In the Bluetooth Address drop-down menu, select the Bluetooth Address you want to pair with and click Pair Initiate. Figure 50: Pairing Wizard Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 21 A pop-up window indicates that a new device is added. In this example, this is a HID keyboard (Figure 51). Figure 51: New device pop-up window Also, an outgoing virtual COM port (COM32) is generated (Figure 52). Figure 52: COM32 device is generated Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 22 Figure 55: Terminal software virtual COM port Another terminal window appears for the SPP connection (Figure 56). Here, HID and SPP are connected concurrently. Figure 56: Second terminal window for SPP Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 23: Pairing Procedure

    Table 2: Pairing procedures Local Device Peer Device Pairing BTM74X BT 2.1 or later BTM74X BT 2.0 Legacy pairing To demonstrate the difference, see the following sections. Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 24 The module displays the passcode ; the same passcode should be displayed on the phone. Users are required to compare the passcode displayed (Figure 60). Figure 60: BT pairing request Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 25 2. Issue below command to pair with E72 (Figure 63). Figure 63: AT+BTW to pair 3. The phone prompts user to accept the pairing request (Figure 64). Figure 64: Accept pairing Americas: +1-800-492-2320 Option 3 Laird Technologies Europe: +44-1628-858-940 Hong Kong: +852-2268-6567 x026 www.lairdtech.com/wireless...
  • Page 26: Software Links

    Figure 66: PAIRING is successful DDITIONAL OCUMENTATION AND ESOURCES Laird offers a variety of documentation and ancillary information to support our customers through the initial evaluation process and ultimately into mass production. Further documentation is available from includes: www.lairdtech.com/Products/Embedded-Wireless-Solutions/Bluetooth-Radio-Modules/BT700-Series/BT740/ BT740 – Firmware User manual BT740 –...

This manual is also suitable for:

Dvk-bt740-saDvk-bt740-sc

Table of Contents