PCB is printed circuit board, a PCB module is a small PCB with a part and supporting components mounted
For that distance, yeah, you need an opto switch that comes in two parts. The ones you mentioned work only at a much shorter range.
Thanks. Can you recommend anything? Or should I use the light dependent resistor with a LED or similar?
@DrAzzy started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
PCB is printed circuit board, a PCB module is a small PCB with a part and supporting components mounted
For that distance, yeah, you need an opto switch that comes in two parts. The ones you mentioned work only at a much shorter range.