I am enjoying the Arduino experience, and I am now trying to use an Arduino to simulate a simple switch closure using a transistor. I have tried 2222 transistor following all sorts of forum conversations, but I think I now know that my voltage being controlled is too high.
Background: I have a piece of electronics that sends 6.55Vdc from one pin, which goes out into the world, thru a switch, and then comes back to another pin. Switch open or switch closed can be sensed by the receiving pin, thus determining the circuit's "state".
I wish to replace the original switch with an Arduino-powered "switch" driven open or close by the state of a digitalOutput pin. I started using PN2222 with a 230 Ohm resistor. I can confirm that my PN2222 transistor theory worked by using a LED to test following a thread I found here.
When I moved to the "real" circuit, I have now gotten stuck.
I believe my error is that when I move to my real scenario, 6.55Vdc is greater than my 5Vdc to my source pin, the PN2222 won't work. Unfortunately I cannot reduce the 6.55Vdc circuit I am controlling to bring it below my PN2222's source pin voltage. I cannot tamper with the original circuit at all since it will break the products function.
I am hoping to find something solid state and simple, for which I can make a pigtail. I envisioned one wire from digitalOutput, thru a current limiting resistor, then to the base pin of a PN2222. On the other side two wires (one in to the collector and the other out from the emitter) that connect to the terminals of the product. Simple. Functional.
If anyone can point me in a direction I would be grateful. I am hoping to not have to use dry contact relays, which is the only other idea I have at the moment.