Activate a DSP Board input using an ESP32

I have a YAG Laser witch is controlled by a DPS board in a PC, in the documentation for the board it states the following.

“DSP2.1 board – Controls/Laser status. The output signals of this
connectors are open-collector. They are active when conducting (output to GND) and not active when disabled (high impedance). All inputs are opto-isolated and require a voltage in the range from 10 to 30V to be activated.”

The Board itself have a +12V 500mA pin that can be used to activate the input pins.

I would like to activate the inputs using an ESP32, but my electronics knowledge is not sufficient enough to find the right components to achieve this, can anyone here please help me?

Read more here: Source link