digitalWrite(powerButton, LOW); pinMode(powerButton, OUTPUT); // Pull the signal low to activate the power button delay(500); // Wait half a second pinMode(powerButton, INPUT); // Release the power button. delay(500); // Wait half a second
Simplest (if you don't have any more details of the existing hardware) would be a simple reed relay wired across the contacts.Some can even be driven directly by an I/O pin, but don't forget a diode across the coil.
You could use a 4066 analogue switch, ut I don't know what you're switching.Reed relays come in DIL packages, and relay or transistor, you'd still need three of them - you never mentioned space constraints.
... I don't know what you're switching.
turn on the device and measure voltage: one probe on ground, one on the center pad measure that voltage, then measure the outer ring. now, change to continuity test mode on your voltage meter. if the outer pads are connected (~1 ohm resitance, or your meter beeps) then the the center pad needs to be switched by the arduino and have a pull down/up resistor to the outer pad.
... then the the center pad needs to be switched by the arduino and have a pull down/up resistor to the outer pad.
i suck at explaining, dont i hah. here is my blog post might make more sense: http://dduino.blogspot.com/2012/02/trigger-buttons-with-arduino.htmlspecifically this:
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16