I'm just wondering how I would go about getting the normal 5vdc that comes out of the Arduino analog/digital pins to a 0vdc signal? I wanting to mimic a push button (momentary switch) so that it acts as if I am pushing a button on a remote.
I'm sure I could use a resister of some value in order to get it down to 0vdc but I am unsure of that value nor am I sure that's the best way to go about doing something like this.
Any help would be great! Thanks!
update
Would using a TLP592A work doing it this way:
Best Answer
What interface you will need depends on the circuit of the remote. If the switch shares a common ground with the Arduino then you might get away with just connecting directly to it. However for safety I would use a diode or transistor to provide an 'open collector' output. The circuit below shows how both a diode and transistor would be wired (choose one or the other, not both!).
Some remotes have their switches connected to battery positive, perhaps to make the transmitter turn on whenever a button is pressed. Others have buttons arranged in a matrix of rows and columns, so both ends of the switch may be floating. In these cases you can use an opto-coupler or PhotoMOS 'relay' (opto-coupler with FET output).
The circuit below shows how to use an opto-coupler. Note that the opto-coupler's output is polarity conscious, so you may have to swap pins 4 and 5 to get it working.