LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth module HC-05 sync with LIFA

How can i sinc with arduino mega 2560 with this module. I have tried to do it but nothing. I followed the steps described here

this is my bluetooth module HC05

hc05.JPG

on init.vi i choose for connection type, the bluesmirf bluetooth. i dont know how to make this module to work because it isn't in LIFA.

0 Kudos
Message 1 of 5
(7,414 Views)

That guides seems to be very thorough.  There is a list of things at the bottom of the guide to check if it doesn't work.  Did you go through those?

You mention choosing the connection type on Init.vi but it is much more important make sure the COM port (VISA Resource) matches the COM port listed in your device manager for the Bluetooth connection and that your baud rate matches the Arduino firmware.  I think they have the Arduino Mega defaulting to 9600 in LIFA version 2.1.1.69.

0 Kudos
Message 2 of 5
(4,291 Views)

I am searching for a tutorial on how to connect the HC-05 on Labview  but I didnt foumd. I was able to connect the bluetooth module to arduino uno via bluetooth commamd sent from my android but movint to Labview and setting to default baud rats 9600 and connecring pin rx to tx and tx to rx it didnt work. Can anyone help ??

0 Kudos
Message 3 of 5
(4,291 Views)

is it possible to use other bluetooth modules other than a bluesmirf for the int.vi?  I have a nRF8001 bluetooth from adafruit and i want to use this in my application. can i simply wire up the module and in the int.vi just use the bluesmirf option?  What i was thinking was the just tells labview that it is using bluetooth not usb ect.  is that a correct assumption?

0 Kudos
Message 4 of 5
(4,291 Views)

You can dig into the code and see if there is anything special done when the bluetooth option is chosen.  There might be some cases where the same code is used for multiple settings and might have been added as a setting for future modification.

0 Kudos
Message 5 of 5
(4,291 Views)