Open drain output max voltage

iamflimflam1
Posts: 12
Joined: Fri May 22, 2020 7:58 am

Open drain output max voltage

Postby iamflimflam1 » Tue Dec 08, 2020 2:41 pm

Hi All,

I've set the output mode of the GPIO pin to open drain and was wondering what is the maximum voltage I can pull up to?

Thanks
Chris

becorey
Posts: 92
Joined: Sat Mar 28, 2020 4:18 pm

Re: Open drain output max voltage

Postby becorey » Tue Dec 08, 2020 10:07 pm

Probably 3.6V, that is the absolute maximum rating of any power pin on the esp32. For safety margin, you shouldn't go to 3.6V, 3.3V is safe.
If you need to control a higher voltage you need to use a mosfet or transistor.

iamflimflam1
Posts: 12
Joined: Fri May 22, 2020 7:58 am

Re: Open drain output max voltage

Postby iamflimflam1 » Wed Dec 09, 2020 1:48 pm

I can't find many (any) details on the output drivers.

I thought that unless there are protection diodes that would take the voltage back to the supply rails you should be safe pulling up an open-drain output to a higher voltage as it won't be connected to anything when the output is off?

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

Re: Open drain output max voltage

Postby ESP_Sprite » Thu Dec 10, 2020 1:46 am

iamflimflam1 wrote:
Wed Dec 09, 2020 1:48 pm
...unless there are protection diodes that would take the voltage back to the supply rails...
The ESP has internal ESD protection snapback devices that essentially work like diodes taking the voltage back to the power rails.

Who is online

Users browsing this forum: No registered users and 129 guests