Page 1 of 1

TTP223 and ESP8266-1s at GPIO02

Posted: Sat Apr 08, 2023 5:42 pm
by Pascal
Hello,

I have a problem when I connect TTP 223 at GPIO02. If the module is plug and I add TTP 223, ESP8266 work well. If I plug all it same time, ESP not work. I try the same with switch close at start time and the system work. I inverse the output of TTP 223 (welded A) and it's work. GPIO02 have a led and I confirm with this led that the input work properly or not.

Why, I don't enderstand?

Thank you!

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Mon Apr 10, 2023 2:54 am
by ESP_LJH
I am afraid I would misunderstand your cirucit, could you post picture? And could you check log every time booting up, let us check if strapping pins are all correct, as you know, GPIO2 is one of a strapping pin.

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Mon Apr 10, 2023 12:27 pm
by Pascal
The ESP8266-1s as only 2 GPIO + 2 RX/TX pin. I see that for boot mode all pin must be high. So, I think that it's not possible to have a swith at low or a output with low impedense connect to. True?

For picture, only TTP223 plug at GPIO02.

Thank you!

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Tue Apr 11, 2023 2:31 am
by ESP_LJH
yes, if you connect low output to strapping pins, boot mode will be wrong.

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Tue Apr 11, 2023 4:40 pm
by Pascal
I don't understand "Strappings pins"... By exemple, if hi want to connect a relay to GPIO0 and a relay to GPIO2 (by exemple, 500 ohms), how I can do?

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Wed Apr 12, 2023 12:20 am
by ESP_Sprite
You'd do it by taking the values those bootstrap pins need to be at boot into account, e.g. by designing your schematic so that the 'normal' level of those pins is high. Or, what I'd suggest in your case: grab an ESP8266 (or ESP32) module with more GPIOs and use pins that are not bootstrap pins.

Re: TTP223 and ESP8266-1s at GPIO02

Posted: Thu Apr 13, 2023 12:59 am
by Pascal
Thank you!