View Single Post
  #2   Spotlight this post!  
Unread 08-02-2012, 23:26
jee7s jee7s is offline
Texan FIRSTer, ex-frc2789, ex-frc41
AKA: Jeffrey Erickson
FRC #6357
 
Join Date: Nov 2007
Rookie Year: 1997
Location: Dripping Springs, TX
Posts: 315
jee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond repute
Re: Banner Signal Issue

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.
__________________

2013 Alamo Regional Woodie Flowers Finalist Award Winner
2012 Texas Robot Roundup Volunteer of the Year
Texas Robot Roundup Planning Committee, 2012-present
FRC 6357 Mentor, 2016-
FRC 2789 Mentor, 2009-2016 -- 2 Golds, 2 Silvers, 8 Regional Elimination Appearances

FRC 41 Mentor 2007-2009
FLL Mentor 2006
FRC 619 Mentor 2002
FRC 41 Student 1998-2000

Last edited by jee7s : 08-02-2012 at 23:33. Reason: corrected the wire colors for the supply voltage