ni.com checkout is currently experiencing issues.

Support teams are actively working on the resolution.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

New Project hc-sr04 controlled pwm for fan height.

Hello, I am new to Arduino projects and am looking to build a machine that is supposed to rise to a certian entered height.

My plan was to us an HC-SR04 untrasonic sensor to get a simple height reading and use that as an error signal to adjust a pwm for the brushed motor.

I have gotten a sample code to work getting readings from the ultrasonic sensor. But I am not sure how to proceed building a black diagram to generate the required tast.

I have attached a basic rendering of my assembly to give you a better idea of what i am trying to do.

0 Kudos
Message 1 of 2
(3,023 Views)

1.  If you are wanting to use Arduino with LabVIEW, you should use LINX.

2.  Is this for school?  This looks like a classic problem/project for a controls class.

0 Kudos
Message 2 of 2
(2,640 Views)