Trouble overiding a push switch with a transistor

Use an optocoupler instead of only an transistor, to definitely separate the controlling system from the controlled one. This will also work with multiplexed buttons and LEDs.

1 Like