View Single Post
  #5   Spotlight this post!  
Unread 08-02-2012, 23:39
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Banner Signal Issue

Quote:
Originally Posted by jee7s View Post
Based on the datasheet you linked to, this is an NPN (aka sinking) output. You would want to connect the collector to your digitial I/O line so the sensor pulls it down or lets the pullup resistor pull it up.

Yes, there may be some minimum voltage it operates at, and 5V might not work. However, based on your schematic, I think you have it hooked up wrong. Refer to the wiring diagrams on page 5 of the datasheet. You want to apply 12V across blue and brown. Then, using a suitable pullup resistor (the digital sidecar has pullups on its inputs), connect to either black or white. You should see the state of that signal change when you present an object versus when an object is not present.

You can use 5V on the pullup (the open collector output will just pull it down), but you need 12V across blue/brown to give the light and detector circuitry the appropriate supply voltage.
I wired in a pullup resistor as per the spec sheet diagram across the white lead (as indicated in the diagram I posted). The power supply is 12V, as the operating voltage of the sensor is 10-30V (as I also noted).

Thank you for your input, although those problems you point out are not the ones I am having.

Jake, that issue has been resolved, but I can't be sure if such a hookup would or wouldn't have lasting effects on the sensor itself.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners

Last edited by slijin : 08-02-2012 at 23:41.