LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

general bluetooth serial adapter questio/ discussion (concept question)

Dear all,

 I am working on a project which need to use my notebook (bluetooth enable) to talks to a "Willies bluetooth serial port adapter" which is connected to a microcontoller circuit to control other devices.  So, I am trying to write a labview program which send a virtual serial port signal via bluetooth. Am I confusing you? Do you have any clue how to do it? Starting from a VISA vi, then some bluetooth vi?

 I have not yet received the
"Willies bluetooth serial port adapter", and I will receive it next week. My critical job now is to make myself able to do bluetooh data transfer, so I will have more chance able to do the real tasks next week. I am trying to use labview in my notebook to connect to my pda phone, does my pda phone need any VI ?? Any clue? I believe the notebook to pda bluetooth transfer is similar to the bluetooth serial port adapter. What do you think?
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
0 Kudos
Message 1 of 13
(7,725 Views)

Hi,

If you want to talk to bluetooth over 2 VI's under LabVIEW then quite a few examples exist - all you could do without having the bluetooth VI running on your PDA as well is do the PC side, which will basically just look for devices. Do you have access to a second PC at all? if so then the examples for bluetooth would work fine for you and show you the underlying concepts of whats going on.

Examples I'm referring to are under Help > Find Examples > "Search Tab" > "Bluetooth".

 

Also your bluetooth device on the PC side must be supported by the Windows Bluetooth Stack, a list of devices known to work:

  • Microsoft Wireless Transceiver for Bluetooth 2.0 that came with Microsoft Wireless keyboard and Optical mouse
  • Belkin F8T012UK1 EDR Bluetooth USB Adapter
  • Belkin F8T003 Bluetooth USB Adapter - 10 Meters ( Belkin F8T003 ver. 2 don't seems to work )
  • Billionton GUBTCR41 - 100 m (Software included in the package not installed)
  • Conceptronic "Bluetooth 2.0 USB Adapter 200M" CBTU2A / CBT200U2A (Software in the package not installed)
  • Dell Wireless 350 Bluetooth Module
  • D-Link DBT-120 Bluetooth Adaptor; Product Description
  • Encore USB Dongle (Microsoft Stack)
  • Exwell BD-U08 EDR Bluetooth USB Adapter; Product Description
  • Exwell BD-U01 Bluetooth USB Adapter - 10 Meters
  • Kensington USB K33085 (Microsoft Stack)
  • GigaByte Bluetooth USB Adapter GN-BT05D (Software included in the package not installed)
  • Hama Bluetooth Dongle 00049207 (Software included in the package not installed). Inquiries seems to hang after a while ..
  • IBM Integrated Bluetooth II on ThinkPad T40 (with driver from Microsoft; file version: 5.1.2600.2180, xpsp_sp2_rtm.040803-2158)
  • Trust BT 1300 TP Bluetooth USB adapter (Software included in the package not installed)
  • Trust BT 2200 TP Bluetooth USB adapter (Software included in the package not installed) (Microsoft Stack and Widcomm)
  • Perfect choice USB Adapter (Microsoft Stack and Widcomm)
  • All the best,

    Applications Engineer
    0 Kudos
    Message 2 of 13
    (7,594 Views)
    Thanks for your reply

    For other people who read this message, I want to tell that there are many bluetooth device that you can use, and they are not on the list (I tried the following in the weekend, and work)
    For example, my dell notebook with bluetooth 355 module (not 350), it will work as long as you uninstall the dell driver and use the WindowXP driver, (you will see "bluetooth radio", not "bluetooth device" in your device manager). Moreover, I have a usb bluetooth adaptar from toshiba (don't know the model), it will work as long as you don't install its driver CD

    Go back to my question, do I need to use VISA to open a virtual serial port connection and then connect the output from VISA to some bluetooth VI, or bluetooth VI  itself support serial. I should ask it clearly, " what should I connect to the bluetooth VI?" I can send strings to another computer via bluetooth, but now my project is one computer to a circuit with bluetooth serial port adapter, any suggestion?


    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================
    0 Kudos
    Message 3 of 13
    (7,585 Views)
    Hi,
     
    Thanks for posting ones you know to work, I will add these to the list - basically anything that supports the Microsoft Bluetooth Stack will work, back to your question - when you wish to talk over bluetooth you use the bluetooth connection VI's under LabVIEW (see examples). What you send over bluetooth can be anything, including the ascii commands you wish to send to your new controller. If your only talking to bluetooth to bluetooth then you can just use a connection ID.
     
    All the best,
    Applications Engineer
    0 Kudos
    Message 4 of 13
    (7,574 Views)
    Just get reply from the company. In case of anyone does similar project, the following might give you the hints

    Thanks for your interest in our products. The one stop answer is that you will pair your laptop to the Bluetooth adapter. To your laptop the adapter will look like a COM port (serial port). You will open the serial port like any other serial port and write to it at which case the data will be sent to the serial port on the Bluetooth adapter.


    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================
    0 Kudos
    Message 5 of 13
    (7,560 Views)

    hi zmarcoz 

    is that mean we have to use VISA coz i have the same idea should be applied to send ECG signal ????

     

    Regards........ 

    0 Kudos
    Message 6 of 13
    (4,892 Views)

    Hello,

     

    Whether or not you are using VISA depends on how the device is interfaced with your computer. If it is a serial to bluetooth adapter, then VISA is required in order to write to the serial port. If it uses the Windows Bluetooth Driver, then VISA is not required because the calls are made to the bluetooth driver.

     

    -Zach

    0 Kudos
    Message 7 of 13
    (4,868 Views)

    Using a standard serial Bluetooth adapter I had problems with Windowes drivers, however as soon as Im using a 3rd party driver then there are no problems.

    0 Kudos
    Message 8 of 13
    (4,232 Views)

    Hello, for the bluetooth Serial adapter is not need extra driver. detil operation it could follow the user manual.

     

    HyperTerminal Settings

    l Bits per second: 19200 bps (baud rate)

    l Data bit: 8

    l Parity: None

    l Stop bit: 1

    l Flow control: H/W

     

    Please check the followind detail of bluetooth serial adapter:

    Features

    l Supports Bluetooth Serial Port Profile and Generic Access Profile   

    l No need of external host and software

    l Easy of installation and use

    l Supports configuration of the local device

    l Easy of maintenance

    l Supports up to 100 meters (line of sight)

     

    .1. General

    Specification

    Description

    Baud Rate

    Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4 Kbps

    Coverage

    Up to 100 m

    Connection

    Point-to-point (pico net)

    Signal

    TxD, RxD, GND, CTS, and RTS

    RS-232 Interface

    D_SUB 9-pin female

    Standard

    Bluetooth specification version 2.0+EDR

    Frequency

    2.400 to 2.4835 GHz

    Hopping

    1,600/sec, 1MHz channel space

    Modulation

    GFSK-1 Mbps, DQPSK-2 Mbps, and 8-DPSK-3 Mbps

    Tx. Power

    Max. 18 dBm (Class 1)

    Rx. Sensitivity

    -86 dBm typical

    Antenna

    Chip antenna or SMA female + external antenna (optional)

    Antenna Gain

    Chip antenna max. 1 to 2 dBi

    Power Supply

    +5 to +6 V DC

    Current Consumption

    Max. 90 mA

    Operation Temperature

    -20°C to +75°C

    Dimensions

    35 mm (W) x 65 mm (D) x 16 mm (H)

     

    0 Kudos
    Message 9 of 13
    (3,562 Views)

    Hello, for the bluetooth Serial adapter is not need extra driver. detil operation it could follow the user manual.

     

    HyperTerminal Settings

    l Bits per second: 19200 bps (baud rate)

    l Data bit: 8

    l Parity: None

    l Stop bit: 1

    l Flow control: H/W

     

    Please check the followind detail of bluetooth serial adapter:

    Features

    l Supports Bluetooth Serial Port Profile and Generic Access Profile   

    l No need of external host and software

    l Easy of installation and use

    l Supports configuration of the local device

    l Easy of maintenance

    l Supports up to 100 meters (line of sight)

     

    .1. General

    Specification

    Description

    Baud Rate

    Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4 Kbps

    Coverage

    Up to 100 m

    Connection

    Point-to-point (pico net)

    Signal

    TxD, RxD, GND, CTS, and RTS

    RS-232 Interface

    D_SUB 9-pin female

    Standard

    Bluetooth specification version 2.0+EDR

    Frequency

    2.400 to 2.4835 GHz

    Hopping

    1,600/sec, 1MHz channel space

    Modulation

    GFSK-1 Mbps, DQPSK-2 Mbps, and 8-DPSK-3 Mbps

    Tx. Power

    Max. 18 dBm (Class 1)

    Rx. Sensitivity

    -86 dBm typical

    Antenna

    Chip antenna or SMA female + external antenna (optional)

    Antenna Gain

    Chip antenna max. 1 to 2 dBi

    Power Supply

    +5 to +6 V DC

    Current Consumption

    Max. 90 mA

    Operation Temperature

    -20°C to +75°C

    Dimensions

    35 mm (W) x 65 mm (D) x 16 mm (H)

     

    0 Kudos
    Message 10 of 13
    (3,561 Views)