40mA is the maximum current sourced by a single pin as specified in the datasheet. I have a relay (FH42L-LCSC) that requires 83.3mA (±10%) for about 15ms.
Can I put 5 output pins in parallel to share the load or would one pin fail/break?
ESP32-S2 outputs in parallel to increase max current.
-
- Posts: 7
- Joined: Fri Apr 01, 2022 2:45 pm
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 outputs in parallel to increase max current.
Don't. A relay is an inductive load which will wreak havoc on the rest of the system if you connect it directly, even if you could get the current requirements right. Simply use a transistor or mosfet to switch it.
-
- Posts: 7
- Joined: Fri Apr 01, 2022 2:45 pm
Re: ESP32-S2 outputs in parallel to increase max current.
And If the load was purely resistive load instead? Would sharing the current break a single pin?
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 outputs in parallel to increase max current.
That is very hard to guarantee, as it's not something we test for... but I can take a guess: given the fact that we have tested (but not characterized, so take this with a grain of salt) short circuiting all the I/O pins to ground and making them high and that did not seem to negatively affect the ESP32, I imagine the current limiting of the pad output will be enough to make them share the load nicely.
Who is online
Users browsing this forum: jesper and 109 guests