I bought one of these for not much:
https://shop.lerdge.com/products/lerdge-optical-endstop
Helpfully, the device dimensions and other specs are listed, stopping short of an actual schematic. 2.7 to 5V operation, active high, sounds fine.
Since the mechanical switch is normally short circuit, rising to 10k when triggered, we can just connect it in parallel with the optical sensor's output so that the signal only goes high when both are triggered.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.