1
\$\begingroup\$

I am trying to interface a touch module with the ESP WiFi module on GPIO0 pin. When I turn ON ESP it needs GPIO0 to be pulled up but if I directly connect the Touch module, its output is low at start up and hence ESP goes into boot mode. To circumvent this I put a simple transistor inverter in between so that I invert the touch module output. That way GPIO0 is always high during start up. Now this solution works fine except in practical place where this needs installation. When I installed it within the housing of mains switch board, the touch module gets triggered when I switch ON other switches in the same housing. The relay turning ON or OFF also triggers the touch input. I think this is because the base of the transistor is very sensitive in this configuration and hence captures any stray signal. The whole set up works fine if the circuit is away from the mains switch board. I have even removed the connection to the touch module, it still gets triggered which indicates that it is happening because of the transistor. Can somebody suggest to me how can I modify this circuit to avoid this false triggering.

enter image description here

\$\endgroup\$
3
  • \$\begingroup\$ This is a good question. Please restructure it. You can use double space to start a new paragraph. \$\endgroup\$
    – User323693
    Commented Feb 18, 2017 at 7:28
  • \$\begingroup\$ Add a 100k pull down resistor between base and gnd. \$\endgroup\$
    – User323693
    Commented Feb 18, 2017 at 10:42
  • \$\begingroup\$ Thanks for the suggestion @Umar . I tried this but it did not help, I still have the same issue. \$\endgroup\$
    – Vijay
    Commented Feb 18, 2017 at 18:29

2 Answers 2

1
\$\begingroup\$

223 touch has an option to set between active high or active low mode so you can skip transistor.

\$\endgroup\$
0
\$\begingroup\$

The TTP223 chip has an input voltage of 3.3V - 5.5V DC.

Just remove Q1, R4 and R5. Supply TTP223 with 3,3 volt and there you are.

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