From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

!! Arduino Uno + HC-SR04 Ultrasonic sensor + labview Help!!

Solved!
Go to solution

yeahh, now i it works after i change the baudrate to 112500......
thankss Mr.Nathan

0 Kudos
Message 61 of 72
(5,037 Views)

sir i did all the steps but sill i am unable to interface my ultrasonic sensor with arduino through LabVIEW please help me.

distance indicator shows a fix value 48.

 

i am attaching my files. please help me.

Download All
0 Kudos
Message 62 of 72
(4,838 Views)

please send me your vi and sub vi's

0 Kudos
Message 63 of 72
(4,836 Views)

at salimnitk@gmail.com

0 Kudos
Message 64 of 72
(4,836 Views)

using LINX this is my code and indicator shows 0 please help me

0 Kudos
Message 65 of 72
(4,835 Views)

Hello, Mr. egaruz89

I don't know, you will check this message or not. You solved this (Arduino Uno + HC-SR04 Ultrasonic sensor + LabView Help!!) about 4 yrs ago. Now I am facing the same problem and followed your instruction (HC-SR4ultrasonicsensor.pdf). but it does not work. It always shows a fix value 48.I have attached the VIs here. I am using Arduino Mega 2560 and Arduino 1.8.3. LIFA_base is ok.

 

Would you check and figure out the problem, please?

Download All
Message 66 of 72
(4,804 Views)

Hello, would you be kind enough to re upload the function block again?

 

Thanks.

 

- Alan 

0 Kudos
Message 67 of 72
(4,554 Views)

Help please solve the problem with HC-SR04 sensor, when connecting the sensor to Arduino, does not determine the distance, after passing the terminal Read.vi the value is 0.00E + 0 in Highlight execution mode (yellow light). For example, blink checked, everything works. What could be the problem? Connected components are all right.

Download All
0 Kudos
Message 68 of 72
(4,313 Views)

And your links don't work( 

0 Kudos
Message 69 of 72
(4,313 Views)

how the code lifa in arduino IDE

0 Kudos
Message 70 of 72
(2,814 Views)