9
\$\begingroup\$

I am fairly new to electronics and just had a quick question. I saw the following suggestion for a one shot trigger to wake up an ESP from for example a PIR sensor with one shot trigger and to read the data on another pin:

enter image description here

I do not understand how current can reach the base of the transistor and make the collector emitter path conductive. I always was under the impression that capacitors do not let current flow in a DC circuit and just charge up. I would have expected the capacitor in parallel to the base emitter path, so it would charge up and delay the current flow to the base and the resistor in series from interrupt signal to base to limit the base current. Any answer is greatly appreciated! I am sorry if my English is not the best, it is not my first language.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ That is called AC coupling. A pulse is not DC. \$\endgroup\$ Commented Jan 23, 2020 at 23:18

2 Answers 2

17
\$\begingroup\$

I always was under the impression that capacitors do not let current flow in a DC circuit and just charge up.

This isn't a DC circuit.

The input is a pulse, not a constant voltage.

When the rising edge of the pulse arrives, the capacitor voltage can't change instantaneously, so the transistor base voltage will follow the pulse. Then a momentary current will flow and the capacitor will charge, dropping the base voltage back toward zero over a few milliseconds. When the falling edge of the pulse arrives it will discharge the capacitor, requiring a momentary current in the opposite direction.

Assuming the duty cycle is low, the pulse rising edge will need be strong enough to bias the transistor briefly into forward operation. The falling edge will not affect the transistor, just pull the base slightly negative as it pulls current through the 5k resistor.

\$\endgroup\$
2
  • 2
    \$\begingroup\$ To be pedantic, the rising edge of the pulse doesn't charge the capacitor, the base emitter resistor together with base-current does. The capacitor charging turns off the transistor. It then discharges through the base-emitter resistor when after the falling edge. \$\endgroup\$ Commented Jan 24, 2020 at 9:58
  • \$\begingroup\$ @ConnorWolf, fair point. I've reworded my answer. \$\endgroup\$
    – The Photon
    Commented Jan 24, 2020 at 16:30
1
\$\begingroup\$

Capacitor can conduct a pulse which turns on transistor momentarily. Does that RST pin needs a high to low pulse to reset it ? If so, yes, the circuit can generate a self reset pulse when ESP is programmed to do so.

\$\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.