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.
ESP32 IO input pin 5V tolerant?
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 IO input pin 5V tolerant?
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.
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.
Who is online
Users browsing this forum: Baidu [Spider] and 120 guests