02-25-2017 02:17 AM
I created an android app that sends data to Bluetooth module HC-05, so I want to receive that data by interfacing Bluetooth Module with myRIO. I need a vi that can read serial data from bluetooth modules using UART channel A. It works fine with arduino but I need to do it on myRIO. so please help me. I am attaching the code and Circuit connections( Tx of HC 05 to Tx of myRIO, Rx of HC 05 to Rx of myRIO, Vcc and gnd). I've even tried reversing Tx and Rx pins. But couldn't read data using myRIO.
08-30-2017 10:25 PM
Greetings there´s an example to send and receive data using the Digilent PmodBT2 avaiable here https://learn.ni.com/teach/resources/88/bluetooth-module
I have donde it with the RN-42 XV, and also probe it with the HC-05 Module too, I have used that example and modify it a little to send and receive data from an Android App sending the characters [ ;; ] from the app at the begining of the text to separate the text received in the VI, and the character [ ; ] from the VI to separate the data in the app. You have to connect TX to RX, and RX to TX.
I made this like the example in the connector B but is the same for connector A; just change the ASRL2 to ASRL1 in the VISA resource name.
Here are the conections I´ve use for the RN-42 and HC - 05 and the VI named "Main 5".
Hope this helps.
08-31-2017 02:17 PM
Use this instead the Project shared before
09-22-2017 01:01 AM
hello,even i am making project based on bluetooth. i have given connections for the but when i open the vi it is giving error as file version is new cannot open in this version
my labview version is 2015
09-26-2017 10:28 AM
Greetings, I've downgraded it to LV 2013