ESP32-S2 outputs in parallel to increase max current.

Fundeckhermit
Posts: 7
Joined: Fri Apr 01, 2022 2:45 pm

ESP32-S2 outputs in parallel to increase max current.

Postby Fundeckhermit » Wed Apr 06, 2022 7:47 am

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?

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

Re: ESP32-S2 outputs in parallel to increase max current.

Postby ESP_Sprite » Wed Apr 06, 2022 12:43 pm

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.

Fundeckhermit
Posts: 7
Joined: Fri Apr 01, 2022 2:45 pm

Re: ESP32-S2 outputs in parallel to increase max current.

Postby Fundeckhermit » Wed Apr 06, 2022 1:47 pm

And If the load was purely resistive load instead? Would sharing the current break a single pin?

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

Re: ESP32-S2 outputs in parallel to increase max current.

Postby ESP_Sprite » Thu Apr 07, 2022 12:52 am

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: No registered users and 120 guests