Go Down

Topic: Get an Arduino to "press a button"? (Read 559 times) previous topic - next topic


I have a projector I'm trying to get to start up when the power gets turned on. I've added a couple wires to the pins on the tact switch for the power button. The button still works, and if I cross the wires, the projector turns on. So looking for a way to electrically "cross the wires".

I was thinking possibly an optoisolator, but it sounds like those put out a voltage, and I really just want to connect the two together.

Any ideas? Is there some device like an opto that does this, or some variation of opto maybe?

Danke, Ian


Mar 11, 2012, 04:31 am Last Edit: Mar 11, 2012, 04:35 am by Goofballtech Reason: 1
The amount of current flowing when the wires are "crossed" will make the difference.

I would say BJT, FET, or the best option would more than likely be a relay.

*edit: Relay examples in playground:


Mar 11, 2012, 04:38 am Last Edit: Mar 11, 2012, 04:45 am by CrossRoads Reason: 1
Little relay like this would work
Can drive directly with an output pin. Put a 1n4148 diode across the relay coil (cathode to 5V, anode to arduino pin).
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


I was thinking possibly an optoisolator, but it sounds like those put out a voltage,

No they don't.

You can get all sorts of components optically isolated, like a triac, transister, SCR, logic gate or FET.
For your case an opto isolated FET would fit the bill very well.


Well to use a semiconductor solution (transistor, opto, etc) you really need to know something about those two wires you 'cross'. What is the open circuit voltage, what is the polarity or is it an AC voltage, how much current flows when you 'cross the wires'? If you don't know those values then you are better off using a standard relay as the contacts will work without having to know those things, except possibly how much current is being switched on and off.


Go Up