I have a device that has the following output stage:
I am not very familiar with transistors. I'm not sure how I would wire this up on the Arduino side.
The C and E of each optocoupler is exposed for me to detect when the base has activated.
I thought of doing a common emitter with INPUT_PULLUP (like the below) but it doesn't appear to be working.
Should I instead be aiming for something like
I'm not sure what pull resistor values I should be using, or if the value matters.
I am using an Arduino Micro.
Any advice would be greatly appreciated. Thank you.