Page 1 of 1

gpio input voltage

Posted: Sun Jul 23, 2023 7:10 am
by neilmac1
can some one tell me the max voltage of a esp32 input pin can take i have a lot of sensors that give out 5v logic high
and dont wont to overload the esp32 ?????
also am i right in that esp32 pins gpio are input only thanks for your time and help

Re: gpio input voltage

Posted: Sun Jul 23, 2023 10:37 am
by ESP_Sprite
As with most chips, the datasheet has that info. Section 4.3 gives a Vih of Vdd+0.3V, and given that generally the ESP32 is run at Vdd=3.3V, the maximum you can put on a pin is 3.6V. So no, the ESP32 is not compatible with 5V sensors and you need some sort of level converter.