I want some help to understand the function of the block digital read pulse width and particularly the Stimulus Pulse (Active High) and the DO Channel. What are they? and how can i use them.
Solved! Go to Solution.
it is used in ultrassonic distance measurement for example
thank's for the replay.
As I understood, the DO channel is the output pin of the digital Arduino pins we use to drive the ultrassonic distance sensor, and with the stimulus pulse we can choose the polarity of that pulse. Is that correct ? when the say a non polarity, can be that in a pulse ?
for the first question yes, you are correct.
for the second i am not sure, give it a try.
since DO is optional, you can use the Square Wave.vi to generate a frequency, and measure pulse width with digital read pulse width.vi
and place a jumper between arduino pins, just for learning purposes.