10-24-2013 12:40 AM
Hi, Could someone please tell me if I have to write C code to an arduino to use a HC SR04 sensor and interface it with labview. If someone could explain how to interface this with just a VI I would be very grateful. I am new to all this and I have been assigned a project to measure distance with this sensor connected to an arduino and display the image on a HMI with labview. Any and all help appreciated
Carl
10-24-2013 01:06 AM - edited 10-24-2013 01:06 AM
Hi!
If you try to search the web you'll find some examples and sketches to interface Arduino with SR04 sketch.
For example: http://playground.arduino.cc/Code/SR04 (I've never tested it).
Once the sensor has been interfaced with the board it should be easy to implement with Labview a VISA a VI to read the measure from your PC.
Marco
10-24-2013 01:09 AM - last edited on 03-14-2024 03:08 PM by Content Cleaner
Post your question here
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/ct-p/7008?view=discussions
Take a look at this link also
http://arduinobasics.blogspot.in/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html'
http://www.instructables.com/id/Simple-Arduino-and-HC-SR04-Example/
Hopw this is what you are looking for
11-14-2013 05:37 PM - last edited on 03-14-2024 03:09 PM by Content Cleaner
add other useful links, greetings
http://sine.ni.com/nips/cds/view/p/nid/209835
http://vishots.com/getting-started-with-the-labview-interface-for-arduino/