Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino + Linx(Labview) + Bluetooth communication ERROR

Peterpark99_0-1621696014662.png

I'm facing an error like the post. I've checked all the baud rates are proper but couldn't work it out. I'm using Arduino Uno R3, HC-06 trying to run with Labview by Bluetooth connection.

Any help would be appreciated.  Thanks!

 

0 Kudos
Message 1 of 8
(2,332 Views)

Hello Peterpark99,

 

unfortunatelly the image you sent is in very low resolution, i can barelly see your code.

 

Please, describe your application, send snippets or your .vi file.

 

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 2 of 8
(2,277 Views)

I Upload firmware from LINX to Arduino through COM3(outgoing bluetooth port) but LINX can't connect with Bluetooth device. Here is the picture. 

Peterpark99_0-1621827679446.png

And this is when I hit view log: 

Peterpark99_1-1621827746483.png

Can you help me with this? I'm sorry for those poor quality images I sent before.

 

0 Kudos
Message 3 of 8
(2,255 Views)

I would suggest to backtrack a bit. First upload the firmware on your Arduino with a usb cable, then test your code with the cable.  Then move back to BT, making sure all the speed settings are ok with BT. Also take a look at the device manager to see if there isn't any COM port conflict.

If you can reproduce the errors and snap high res images of them that would help too.

L.

0 Kudos
Message 4 of 8
(2,230 Views)

i would also add to what LDBM said:

 

if you where using sofwareserial to upload your code, remember that the linx firmware erased your code, so that serial wont be available. 

 

using HC-05 i know it is possible to connect directly to pins 0 and 1 and create a hardware bluetooth serial. 

 

Also try to keep using default baudrates 9600 to avoid any other unecspeted issue.

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 5 of 8
(2,227 Views)

Thanks for the reply! I've already tested with a USB cable, it worked perfectly fine (I uploaded the firmware to USB cable COM port). But when I remove the cable and select a Bluetooth port (outgoing port) i will get an error 

Peterpark99_0-1621925385308.png

When I upload firmware to a outgoing Bluetooth port, the error is 5003

Peterpark99_1-1621925604587.png

Also There is no COM port confliction

 

0 Kudos
Message 6 of 8
(2,215 Views)

I set everything to 9600 baud rate (as default)

reupload image

error 5007.pngerror 5003.png

0 Kudos
Message 7 of 8
(2,214 Views)

" Highlight Execution" and step through the Init VI to see exactly where this error is first created, that would help pinpoint the issue.

L.

0 Kudos
Message 8 of 8
(2,084 Views)