|
Re: How to connect Parallax Ping))) sensor
Der,
From a quick look at the description page, it appears that one pin on the module is a trigger and the other is the output from the sensor. You will need to write code to initiate a pulse and measure the time it takes for a return echo on the output pin. You then have to perform a calculation to determine distance based on the acoustic transit time at whatever altitude and humidity the sensor is being used in. To interface, you would use a digital output to trigger the output pulse and a digital input to listen for the echo. The description says it is TTL compatible.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
|