12-11-2022 01:52 PM
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.
12-12-2022 06:40 AM
it is used in ultrassonic distance measurement for example
12-14-2022 03:49 AM
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 ?
12-14-2022 08:11 AM
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.