Help with PC817 4-Channel Optocoupler Module Connection (Arduino →12V Motor Driver)

Hi everyone,
I’m using a PC817 4-channel optocoupler module. I want to send a control signal from my Arduino (3.3V or 12V logic) to a motor driver that accepts 12V control input.

I need help understanding the correct wiring:

  • Arduino → PC817 module (input side)

  • PC817 module → Motor driver (output side)

  • Common ground or isolation setup

Should I connect the driver’s 12V to the output side of the module and use a pull-up resistor, or does the module already have that built-in?
Also, does this module invert the signal (LOW → HIGH)?

Here’s the image of the PC817 4-channel module I’m using

Thanks in advance for your help!

What is that?
Depending on board, arduino has 3.3V or 5V logic. What board you have?

Also, that optocoupler module is not necessarily working well out of the box, especially with 3.3V logic. Can you read the resistor values they used on input and output and post here.

This gives you more info:

Posting an annotated schematic will get you the best answer. From what information you give an optocoupler board but no real information on it. Post a link to its technical description. What motor driver are we talking about? Posting a link to that will also help. I will be assuming we are talking about the UNO, there are lots of other Arduinos so I may be wrong but you never stated which one.