View Single Post
  #2   Spotlight this post!  
Unread 16-02-2009, 12: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: Wiring previous-year banner sensors

Quote:
Originally Posted by Cjmovie View Post
When tested with a multimeter, the voltage correctly switches between low and high (for one sensor, 0 and 12V, for the banner, 0 and 3ish). We only get this signal, however, when comparing the signal line to a positive line on the robot - not ground. When comparing to ground, we always receive a 0V signal.
Quote:
Originally Posted by Cjmovie View Post
...like I said, if checked with a voltmeter it sends the correct signals.
I finally figured out what you're doing with the voltmeter check. The signal line from the sensor doesn't supply a voltage; it is an NPN transistor switching the line to ground. If you put the positive lead of a multimeter on a voltage source and the negative lead on the sensor signal line, you should read that voltage when the signal is active and see an open circuit when the signal is inactive.

I'm a little concerned by the "3ish" you measured, however. I don't see any way for the Banner sensor we're talking about to do that (unless it is broken).

Here's a simple three-step diagnostic procedure that will help close in on the source of the problem. With the sensor disconnected from the DIGITAL I/O SIGNAL pin, measure the voltage on the pin. You should see +5 volts (the pin has a 10k pullup resistor). Connect the Normally Open sensor output wire. You should still see +5 volts. Activate the sensor. You should now see 0 volts. Does this match your results?