Page 1 of 1

ESP32 IO input pin 5V tolerant?

Posted: Mon Mar 23, 2020 3:53 am
by kian79
Can I connect a voltage greater than VCC to a input pin? For example my ESP32 is running at 3.3V and I am putting 4.2V into the IO input it.

Right now, its reading the logic value correctly, but I don't know if is going to cause a problem over a long time.

Re: ESP32 IO input pin 5V tolerant?

Posted: Mon Mar 23, 2020 5:49 pm
by ESP_Sprite
Officially? No. The maximum allowable voltages are documented in the ESP32 datasheet. Going over that risks undefined behaviour, and Espressif cannot guarantee anything about what will happen to the chip in that situation.

Unofficially, if this is an one-off project and you're not too concerned with the long-time guaranteed stability over lots and lots of chips, you can probably get away by adding a series resistor of 1K to 10K to limit the current; many people have had good results with that. But officially, you shouldn't do it, and if it does break, we're not responsible.