View Single Post
  #13   Spotlight this post!  
Unread 06-02-2012, 00:45
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: What sensor to use?

Quote:
Originally Posted by carrillo694 View Post
I hooked the sensor up to a 'scope today and observed a sinusoidal waveform when an object was present.
I'm guessing you were looking at the black output wire of a QS18VN part, and that you didn't have a pullup resistor connected to it. That output will be pulled to ground when no object is present, and it will float when an object is detected. You were likely seeing ambient 60 Hz noise being picked up by the wire.