Electronic – Driving LEDs with open collector outputs for Tally system

digital-logicintegrated-circuitmicrocontrollermicroprocessortransistors

I thought it best be start with some context. We're trying to connect two "Tally" systems together – system that turns on a red or green light when a camera in a studio is live or on standby.

The main system we have has a GPIO output (a 2.5mm connector) that seems to be two open collector outputs, one for each LED colour, green and red. The manufacturer provided us with this diagram:

https://i.imgur.com/9mzTvZS.png

I can get this to work no problem – BUT the LEDs we need to switch are switched positively. All have a common ground, and need the positive supply switched to turn the green and red LEDs on and off.

I've given this a real good go by myself first and doing a lot of research, but the closest I've got is having it work the opposite way. i.e. green light on when its meant to be off, green light off when its meant to be on. I did this by wiring up a 5V source to the open collector (top pin) with a pull up resistor, then wiring that to a MOSFET, but it did the opposite as I mentioned.

This is most of the circuit that we're building, but missing the part that connects the open collector outputs to the Positive supply that drives the LEDs…bit messy, I'm only DIY apologies.

https://i.imgur.com/tQVMahm.png

What would be the best way to drive the LEDs? I want to avoid relays and the clicking so if have to go relays, solid state, but would prefer a solution like MOSFETs or similar.

I really appreciate your help and patience.

Proposed circuit:

https://i.imgur.com/tQVMahm.png

Supplied by manufacturer:

https://i.imgur.com/9mzTvZS.png

Products:

Main system: FlexTally – https://flextally.cerevo.com/en/other-functions/lamp-gpio-output/

LED we're trying to drive: DataVideo TD-3: https://resource.datavideo.com/Instruction_Manuals/TD-3_G082060738B1_A6.pdf

Best Answer

For high-side switching, you need to add a PNP or P-channel transistor:

schematic

simulate this circuit – Schematic created using CircuitLab