View Single Post
  #2   Spotlight this post!  
Unread 28-02-2008, 19:41
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,721
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: "Pulling" a pin low

Quote:
Originally Posted by Tom Line View Post
Does this mean to short it out?

For instance, we've currently got our maxbotix sonar in constant polling mode. If I wanted it only to check distance on command, would I hook up the RX pin to a digital output, or a relay, and turn it on?

I'm a little confused about the terminology.

http://www.maxbotix.com/uploads/LV-M...-Datasheet.pdf
It'd be preferable if you shorted the pin to ground through some non-zero resistance, but that would be one way. The datasheet actually says to hold the pin low to disable ranging, which is a slightly different concept from a pin being pulled. To "hold" a pin low or high, you apply either GND/Vss/low voltage or Vcc/high voltage to it, depending on labeling conventions, etc. So the only requirement to stop the ranging is to apply 0V to the RX pin in whatever fashion you choose. You could simply hook a digital output to the RX line and set it to 0 when you want ranging off. Using a spike would be more complicated and would also necessitate using 12V instead of 5V as the high voltage which would probably fry things.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter