You can find optical switches on many electronic devices . I found a couple of them when i dissansembled a hp1510 printer. Next, i will show you how to salvage opto switches from old devices and
Laptop webcams can be easily repurposed into external usb webcams. I successfully converted the camera from an MSI MS-1682 cx600x laptop.