TTP223 and ESP8266-1s at GPIO02

Pascal
Posts: 4
Joined: Sat Apr 08, 2023 5:33 pm

TTP223 and ESP8266-1s at GPIO02

Postby Pascal » Sat Apr 08, 2023 5:42 pm

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!

ESP_LJH
Posts: 384
Joined: Tue May 18, 2021 9:21 am

Re: TTP223 and ESP8266-1s at GPIO02

Postby ESP_LJH » Mon Apr 10, 2023 2:54 am

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.

Pascal
Posts: 4
Joined: Sat Apr 08, 2023 5:33 pm

Re: TTP223 and ESP8266-1s at GPIO02

Postby Pascal » Mon Apr 10, 2023 12:27 pm

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!

ESP_LJH
Posts: 384
Joined: Tue May 18, 2021 9:21 am

Re: TTP223 and ESP8266-1s at GPIO02

Postby ESP_LJH » Tue Apr 11, 2023 2:31 am

yes, if you connect low output to strapping pins, boot mode will be wrong.

Pascal
Posts: 4
Joined: Sat Apr 08, 2023 5:33 pm

Re: TTP223 and ESP8266-1s at GPIO02

Postby Pascal » Tue Apr 11, 2023 4:40 pm

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?

ESP_Sprite
Posts: 9052
Joined: Thu Nov 26, 2015 4:08 am

Re: TTP223 and ESP8266-1s at GPIO02

Postby ESP_Sprite » Wed Apr 12, 2023 12:20 am

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.

Pascal
Posts: 4
Joined: Sat Apr 08, 2023 5:33 pm

Re: TTP223 and ESP8266-1s at GPIO02

Postby Pascal » Thu Apr 13, 2023 12:59 am

Thank you!

Who is online

Users browsing this forum: No registered users and 137 guests