gpio input voltage

neilmac1
Posts: 1
Joined: Sun Jul 23, 2023 6:53 am

gpio input voltage

Postby neilmac1 » Sun Jul 23, 2023 7:10 am

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

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

Re: gpio input voltage

Postby ESP_Sprite » Sun Jul 23, 2023 10:37 am

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.

Who is online

Users browsing this forum: Troy Mitchell and 108 guests