Connect wirelessly to your Arduino over Bluetooth! | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Connect wirelessly to your Arduino over Bluetooth!
May 5, 2015
4:10 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

For those that want an easy way to send information to and from your Arduino board from a host PC its easy!

1) First buy one of these cool Bluetooth Transceiver modules readily available on Sparkfun or Amazon.  We have tested with the one on Amazon and its only $10.  These simply connect to the Serial TX/RX pins on an Arduino board and act as a wireless serial port.  They are powered from the Arduino boards +5V supply.

Bluetooth.pngImage Enlarger

2) Power your Arduino board up and then use a Bluetooth enabled PC to search for devices.  It should recognize an HC-05 device, which is the transceiver.  Then pair to the device using passcode "1234".

3) You should see two COM ports added to your PC.  The pass-through is usually the first COM port that is added.  Simply use this COM port for communication on the host PC side.  Default baud rate is 9600.

4) Deploy your LabVIEW based user code (also using 9600 baud) to the Arduino and send/receive data over the standard Serial port.

5) Open the Serial Monitor on the PC side or use a custom LabVIEW app to communicate over the serial port.  Once the port is opened on the host side you should see the Red LED on the Bluetooth board go from blinking to solid and all serial communication will be routed over the Bluetooth connection through the virtual COM port.

This is a super easy way to add a wireless interface to a PC (host) to Arduino (slave) link without needing to use any different APIs or source code since communication is over a standard serial interface.

There are several good tutorials online as well like this one

Enjoy!

sp_PlupAttachments Attachments
April 28, 2016
8:16 am
Avatar
thelam92
New Member
Members
Forum Posts: 1
Member Since:
April 28, 2016
sp_UserOfflineSmall Offline

Hi admin. I followed above post, however i can't control arduino with labview via bluetooth. I need your help. thanks. Sorry. English is not my native language.Capture.PNGImage EnlargerCapture-1.PNGImage Enlarger

sp_PlupAttachments Attachments
April 28, 2016
2:28 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

From your screenshot you are NOT using the Arduino Compatible Compiler for LabVIEW palette VIs.  You are using the LabVIEW Interface for Arduino, which is totally different.  Please take a look at the serial examples included with the Arduino Compatible Compiler for LabVIEW.

May 31, 2017
2:50 pm
Avatar
p@ul
Member
Members
Forum Posts: 3
Member Since:
March 17, 2016
sp_UserOfflineSmall Offline

Steffan said
For those that want an easy way to send information to and from your Arduino board from a host PC its easy!

1) First buy one of these cool Bluetooth Transceiver modules readily available on Sparkfun or Amazon.  We have tested with the one on Amazon and its only $10.  These simply connect to the Serial TX/RX pins on an Arduino board and act as a wireless serial port.  They are powered from the Arduino boards +5V supply.

Bluetooth.pngImage Enlarger

2) Power your Arduino board up and then use a Bluetooth enabled PC to search for devices.  It should recognize an HC-05 device, which is the transceiver.  Then pair to the device using passcode "1234".

3) You should see two COM ports added to your PC.  The pass-through is usually the first COM port that is added.  Simply use this COM port for communication on the host PC side.  Default baud rate is 9600.

4) Deploy your LabVIEW based user code (also using 9600 baud) to the Arduino and send/receive data over the standard Serial port.

5) Open the Serial Monitor on the PC side or use a custom LabVIEW app to communicate over the serial port.  Once the port is opened on the host side you should see the Red LED on the Bluetooth board go from blinking to solid and all serial communication will be routed over the Bluetooth connection through the virtual COM port.

This is a super easy way to add a wireless interface to a PC (host) to Arduino (slave) link without needing to use any different APIs or source code since communication is over a standard serial interface.

There are several good tutorials online as well like this one

Enjoy!

great indication... thanks

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
17
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356