As Tap has been officially released, I'd like to make a point about the choice of sensors, and why the devs chose OPB991 sensors (slightly technical electronics explanation, if you don't understand just ask a question):
If you read the sensor's datasheet, you'll see right at page 1 that these are open collector sensors, and that means that the output pin is either floating or at ground.
"Why is that important?", you will ask.
That's important because that way we don't need to know which voltage the microcontroller of you board accepts. You just set the sensor pin with a pull up resistor, and when the probe is activated the microcontroller itself detects the voltage change when the circuit is completed and current flows to ground.
However, if you absolutely know that your board's microcontroller is 5V tolerant (such as all the 8-bit AVR microcontrollers or the 32-bit STM32 ones), you can use the OPB990 sensors, they send 5V to the sensor pin when the switch is activated. If you use such a sensor on a RP2040-based board, you will fry the mcu's sensor pin.
If, for any reason, you only have access to the OPB990 sensors and have a RP2040-based board, you'll need to add a level shifter between the sensor output and the board. That can be as easy as adding two resistors on your circuit, or a circuit with a dedicated level shifter IC.
tl;dr: follow BOM as close as possible and you won't have problems. If that can't happen for whatever reason, know what you are doing before proceeding.
If you read the sensor's datasheet, you'll see right at page 1 that these are open collector sensors, and that means that the output pin is either floating or at ground.
"Why is that important?", you will ask.
That's important because that way we don't need to know which voltage the microcontroller of you board accepts. You just set the sensor pin with a pull up resistor, and when the probe is activated the microcontroller itself detects the voltage change when the circuit is completed and current flows to ground.
However, if you absolutely know that your board's microcontroller is 5V tolerant (such as all the 8-bit AVR microcontrollers or the 32-bit STM32 ones), you can use the OPB990 sensors, they send 5V to the sensor pin when the switch is activated. If you use such a sensor on a RP2040-based board, you will fry the mcu's sensor pin.
If, for any reason, you only have access to the OPB990 sensors and have a RP2040-based board, you'll need to add a level shifter between the sensor output and the board. That can be as easy as adding two resistors on your circuit, or a circuit with a dedicated level shifter IC.
tl;dr: follow BOM as close as possible and you won't have problems. If that can't happen for whatever reason, know what you are doing before proceeding.