I'm trying to use an Arduino with a 2n2222 npn transistor to replace the functionality of S1 in this diagram. This is the schematic for my TV remote. I want to replace the physical switch with a digitally controlled one.
PD3 and PA0, according to the datasheet are pulled up to VCC (3v in this case) with a 150k resistor.
Is it possible to use a NPN transistor as a switch in this case? My intuition is no, because there's to voltage difference between the two things I'm trying to connect.
If it's not possible to use a NPN, or any BJT, what other kind of electronic switch could I use here? I could probably use a solenoid or something, but I'd love to use a transistor based solution.
The IC used for this TV remote circuit is HB8101Pk.