|
Re: How should we wire the photoswitchs?
In lieu of the general confusion there seems to be (or has been) with the way the NPN output on the photoswitch works with the digital side car, I thought this little guide I wrote a while ago may be of some help.
http://www.mattkrass.com/?page_id=763
It explains the use of pull-up resistors (such as used in the digital side car) with sensor outputs like this, as well as pull-down resistors for other uses. While not very specific to this situation, I hope it can be of some help.
If there is interest I can expand on this material and write up a whitepaper on Digital I/O as a primer for teams.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|