1
\$\begingroup\$

I've a remote control powered by a 12v battery. I need to switch a button using arduino, can I use directly the digital pin without any relay or transistor? Thanks in advance

\$\endgroup\$
1
  • \$\begingroup\$ How is the button connected inside of the remote control? \$\endgroup\$ Commented Oct 31, 2014 at 16:27

1 Answer 1

4
\$\begingroup\$

A direct connection is not a good idea since there are too many unknowns. The safest thing is to have the microcontroller activate something that acts like a switch. A relay definitely does this.

However, an opto-isolator will most likely work too, and will be smaller, cheaper, and take less power. You should be able to drive it from a microcontroller output with resistor in series. You don't need speed, so you can use a opto with decent gain, like 3x. 1 mA in yields 3 mA output current capability, which is likely a lot more than the switch has to handle. You still have to get the polarity right though. Measure the open circuit voltage across the button you want to simulate pressing. That will tell you which way around the opto output needs to be hooked up.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.