02-09-2016 11:59 AM
02-10-2016 10:11 AM
I would check out the below articles to see how to develop bluetooth applications in LabVIEW. Additonally, you will have to confirm with Microsoft to see if your USB bluetooth adapater is supported with their bluetooth driver. This is because LabVIEW uses Microsoft's bluetooth driver.
Developing Bluetooth Applications with LabVIEW
http://www.ni.com/white-paper/3260/en/
How Do I Make a Bluetooth Device Work with LabVIEW?
http://digital.ni.com/public.nsf/allkb/8295C04C0A038E8686257500005CCA99?OpenDocument
02-10-2016 10:31 AM - edited 02-10-2016 10:38 AM
NO a standard USB bluetooth adaptor will not work, well it might but you will have to jump through a lot of software hoops to do it.
I would use simple bluetooth serial adaptors like the HC-05 (master/slave) and HC-06 (slave only) along with a USB to logic level serial converter on the computer side. Use one HC-05 and one HC-06 or two HC-05's with one set to master and one set to slave mode.
Using these you will not have to change your software at all as once you get the bluetooth adaptors to auto pair with each other they are transparent to LabVIEW and "bluetooth" becomes a non-issue.
02-10-2016 12:08 PM
02-11-2016 09:35 AM
02-11-2016 09:46 AM
02-11-2016 10:03 AM - edited 02-11-2016 10:05 AM
@CSJeff98 wrote:
I have a USB Bluetooth adapter that I want Labview to send information to through my program. Is there anyway I can change the Visa settings (listed as Com1 or Com 2) to pair with the USB Bluetooth adapter? Any help appreciated. Thanks.
Asd I said above, if your BT adaptor is a "standard" type. That is a BT adaptor that a mouse or keyboard can connect to then you will have to change your program to use it.
HC-05 and HC-06 serial BT adaptors are like $5 on Amazon and they are transparent to LabVIEW becuase they are BT SERIAL adaptors.
You have to set them up using a terminal program like Terra-Term to auto pair with each other. Then use VISA for communications just like any other Com port in LabVIEW.
02-11-2016 11:33 AM
If you are determined to do this the hard way. I suggest you start here https://developer.bluetooth.org/TechnologyOverview/Pages/SPP.aspx and learn abou the BT Serial Port Profile as that is the mode you will need to set your BT adaptor to operate in if you want to use it like a Com port with VISA.
02-12-2016 08:25 AM
Hi. Thanks again for the help!
So if i ended up getting the HC-05 and HC-06, which one would go onto the irobot create and which one to the PC.
For the robot side, will i ultimately be creating something like this: Roomba Hacking
For the computer side, would I use one of the modules and connect it to the serial port by a device like RS232 Serial Port to TTL Converter?
Also, do I need to use a micro-controller?
Thanks again.