0
\$\begingroup\$

For a DIY project I would like to adapt a remote (RF) control

remote control case

to accept digital signals from MCU. I am not quite sure how the buttons in question work: Are they normal buttons which make near 0 ohm connection or something advanced (it's part of the question).

If I will be able to tap into the button terminals, which circuit would be suitable to "emulate" pressing the button? Can open collector / open drain on from the MCU side work (using common ground with remote control circuit) or additional components are needed? Maybe there are ICs to provide open collectors for 8 connections in at once (would be interesting to know how those might be called)?

For example, http://www.penguintutor.com/electronics/simple-homeautomation-raspberrypi uses relays, which I do not like.

(I can see similar questions like How to "push buttons" on voltage ladder? , but the answer does not contain more detail on transistor approach)

\$\endgroup\$
2
  • \$\begingroup\$ A closeup of the button areas on the PCB would help to identify the used type. I guess they are just standard rubber/silicone pads with a conductive coating at the bottom. They will close the contacts on the PCB with around 10-100 Ohms resistance (black bottom) or ~1 Ohm or less (golden coating). \$\endgroup\$
    – Arsenal
    Commented Aug 19, 2015 at 15:16
  • \$\begingroup\$ Yes, black conductive coating is there. When measured with voltmeter leads, shows 100 ohm., so I guess your estimate is right. (I will add photo if will get a good one) \$\endgroup\$
    – Roman Susi
    Commented Aug 19, 2015 at 16:42

1 Answer 1

2
\$\begingroup\$

Usually the keys are multiplexed so you cannot easily use an output directly.

You could, however, emulate the key closures with an analog switch such as a 74HC4066 quad analog switch. The ground on the remote should be commoned with the controlling circuit. Power for the 4066 should be the same as the MCU I/O power.

You would send a pulse to the analog switch to emulate the key press- maybe 250ms.

\$\endgroup\$
11
  • \$\begingroup\$ 4066 -- nice substitute for a relay in this case. \$\endgroup\$
    – tcrosley
    Commented Aug 19, 2015 at 16:40
  • \$\begingroup\$ Surprisingly, can't find any information on how the multiplexing is usually done except for some patents (which may be not the case). Any references? Or is it so I can pretend 4066 abstracts SPST switch well enough for possible multiplexing? \$\endgroup\$
    – Roman Susi
    Commented Aug 19, 2015 at 16:46
  • \$\begingroup\$ Here is an example, but yes as long as the grounds are common and your power supply voltage (looks like 2AA cells, so 3V) is not much greater than your microcontroller supply it will behave like a switch. You just have to control it and ignore the signals the micro is sending through to scan the keypad. \$\endgroup\$ Commented Aug 19, 2015 at 17:36
  • \$\begingroup\$ According to datasheet (NXP one) for 74HC4066 it's ON resistance is about 80 ohm at 2 V (I guess, slightly less for 3V), polarity dependent. So, I need to check if it is enough to "press" the button. I have HEF4066B, but that one has even higher ON resistance. \$\endgroup\$
    – Roman Susi
    Commented Aug 19, 2015 at 18:06
  • 1
    \$\begingroup\$ I've checked with one on-off pair (manually, without MCU) and the design seems to work. Pull-down resistor on 4066'a control pin was required because otherwise switch activates by itself. \$\endgroup\$
    – Roman Susi
    Commented Aug 21, 2015 at 18:44

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.