Quote:
Originally Posted by DonRotolo
|
Perhaps not, but I don't think spending $190 on a limit switch is a good use of our somewhat limited resources.
Quote:
|
I will add that you have to be careful using these sensors. We used them as limit switches on our arm. Towards the end of the match on more than one occasion while many of our motors were on, our voltage dropped below 10 volts. As a result the sensors were no longer powered and our arm was able to over extend.
|
That shouldn't be a problem in our use case. The lift mechanism for the frisbees itself has a KoP photoswitch (from 2011) on the top and bottom to prevent it from allowing a frisbee to go too far in either direction. This sensor is only for determining the position of the lift by picking up on screws on it they passes by.
Quote:
|
As Alan mentioned if it was NPN you could just use a DIO and they do have an NPN version AE6-AN-4F (replace the AP with AN in the part number) Thus when the switch is closed it will be sinking the DIO to ground, when the switch is open there is a built-in pull up resisitor in the sidecar which pulls the DIO high by default.
|
So if I'm understanding you correctly, that sensor should work without any modification (ie. resistors and/or code workarounds) whatsoever?
Thanks, I'm emailing this to our mentor.