Quote Originally Posted by magicniner View Post
So use a micro-switch for the linear sensor and an optical for the rotary! :D
My thought as well, since slotted opto switches are common, just attach a slotted disc thingy to the ballscrew.