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
Open drain output max voltage
Re: Open drain output max voltage
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.
If you need to control a higher voltage you need to use a mosfet or transistor.
-
- Posts: 12
- Joined: Fri May 22, 2020 7:58 am
Re: Open drain output max voltage
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?
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?
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Open drain output max voltage
The ESP has internal ESD protection snapback devices that essentially work like diodes taking the voltage back to the power rails.iamflimflam1 wrote: ↑Wed Dec 09, 2020 1:48 pm...unless there are protection diodes that would take the voltage back to the supply rails...
Who is online
Users browsing this forum: jesper and 111 guests