Yes, you can. Certain IRU ultrasonic sensors (IRU-xx9s) can communicate serially via the RS-232 interface to your computer.
The sensor will communicate at 9600 baud, 8 bit with 1 stop bit and no parity. The sensor will accept an ASCII command and in turn send distance and temperature in ASCII. When an * is received, the sensor will output 14 bytes – the distance in feet, a comma, the temperature in degrees Celsius, followed by a carriage return and line feed.
This application will utilize the Hyper Terminal function. The Hyper Terminal is included in the Windows XP and earlier operating systems.
For Windows Vista and later operating systems, copy the files over from XP or download a Hyper Terminal from the internet.
Setting up the sensor for serial communication is done in a few easy steps:
The distance of the target from the sensor face and the temperature in Celsius will appear in the Hyper Terminal.
That's all there is to it! Let us know if you have any more questions. We're always happy to help!
> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '2241001876219184'); fbq('track', 'PageView');
> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '2996670937328619'); fbq('track', 'PageView');