0
\$\begingroup\$

I'm looking to simulate click of a button (short circuit) on Android phone.

I plan to use Arduino pro micro (5v) to trigger "the click".

What kind of transistor should I use? Maybe there is some example scheme?

Thanks!

\$\endgroup\$
2
\$\begingroup\$

If you're switching voltage is say 5V from the Arduino, a ubitquitous PN2222 BJT will probably work just fine if you switch it in the saturation zone:

Vbias=5.0-0.7 = 4.3
V=IR
R=V/I
looking for I < 10mA,
R = 4.3/0.010

so R the biasing resistor somewhere around 4300 ohms should easily put the transistor into saturation and only require 10 mA from the pin, well within range. A more standard value will be 4700 ohms, it little lower drain on the Arduino pin and a bit less delivered current with the PN2222's beta.

There are many pages describing the use of transistors as switches; here's just one of countless. . Keys to look for are:

  1. Limiting bias current from the Arduino to the base of the transistor. Keep it less than 20mA for sure on the Arduino, yet,
  2. Provide enough voltage to the base of the transistor to put it solidly in the "saturation zone," where it "cannot be on harder" ;) . The calculation I gave above slams the small-signal 2222 into the saturation zone, where the transistor acts like a switch and not like an amplifier.
\$\endgroup\$
1
  • \$\begingroup\$ You are assuming that the switch is a pull-down. If the switch is on the high side this won't work. \$\endgroup\$
    – Transistor
    Aug 15 '17 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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