i want to make my arduino press a button on a piece of hardware, is this as easy as i'm thinking.
would it work if i spliced into each of the button wires and wired them to the arduino and then
sent a signal to complete the circuit.
what i'm thinking is using a ir sensor to listen for a ir signal the trigger the closing of the circuit.
i'm a noob when it comes to this stuff, and haven't really completed my own arduino project yet.
would it work if i spliced into each of the button wires and wired them to the arduino and then
sent a signal to complete the circuit.
Don't you think it might depend on exactly what the switch is controlling? If the switch is switching mains power off and on, and you connect those wires to your Arduino, you might as well smack it with a hammer a few times, first.
So, what is this mysterious piece of hardware, and do you have a clue how much voltage, what kind (AC or DC), and how much current flows through those wires?
Generally if you wish to activate a two terminal normally open contact switch that you know nothing about the circuit it is wired to, you might use a relay. The relay's normally open contacts would wire across the switch's normally opened contacts. It would be useful to know the voltage and current level being controlled by the switch. The arduino digital output pin would wire to a transistor that would power the relay's coil on or off, which activates the relay contacts, which simulates pushing the switch button.
Again a little more information on what, electrically the 'switch' is controlling (AC or DC voltage, how much voltage, how much current?) would make a solution more tailored to the actual requirements. For small battery powered devices, their switches can often to simulated using simple opto-isolators ICs.
If all else fails you can do like one poster around here wants to do and that is to use a servo to push the button.