Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

40kHz ultrasonic pulse and time it take to receive the Pulse.

$
0
0

Hi,

 

 i have developed  the following circuits:

 

Tx: a Circuit that generates a 40kHz frequency using an LM555, the LM555 is wired to an AND gate which when using the test panel on MyDAQ(6216) i set cntr0 and set it to edge detecting i can count the number of edge detections when i enable the port High and when i switch it low it stops recording the counts.

 

Rx: Recieving circuit contains an OpAmp which is fed into an LM567CN tone decoder which is tuned to 40Khz. when the recieving circuit PLL locks on to the 40kHz signal the output of the LM567 pin 8 switches to ground.

 

Question: I am very new to NI and wondering where the starting point would be to create a VI that will trigger the Tx circuit and then measure the time it takes the Rx circuit to recieve the signal, this will intitial be done through air and then i would like to move it through a meduim such as water. Has  anyone tried or seen anything that would be of use to create a vi that would match this.

 

Any help would be greatly appericated.

 

Phil


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>