View Single Post
  #2   Spotlight this post!  
Unread 18-01-2011, 07:57
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
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.