1
\$\begingroup\$

Edit: Added practical observations at bottom.

I need to provide power to an ESP8266 12E NodeMCU board, and my "raw" power is a 24 volt "wall-wart" PSU. My first thought was just to use a 7805 with a heatsink, but I have doubts about the suitability of this.

The current drain for the ESP device has been measured as about 80 mA under "normal" conditions, but with a peak during startup of 350 mA. It's not clear to me how long this startup current persists, but the "boot time" of a typical program from power up is less than a second.

So, the peak power dissipation seems to be (24-5)*0.35 or close to 6.5 Watts. If I read the data sheet correctly a 10C/W heatsink will support this (continuously) up to an ambient closing in on 50C (I live in Colorado, so in the Summer that's "good enough" but not plenty). I have, on hand, some no-brand extruded aluminum heatsinks that are just a little wider and taller than the TO-220 package, and have four fins on them that are perhaps 1/4" deep. They look similar to things that actually do claim to be 10C/W.

As a side note, I need the 24 volts for other things in this particular project, so getting a lower input voltage isn't an option in this case. ed So I have three questions:

Am I missing something obvious that might be a better way of doing this?

Is my interpretation of the data sheet close enough to correct?

Does my heatsink seem adequate?

Edit:

Well, given that I had the parts to proceed with a 7805 on hand, and the buck-converter (I admit I'd never heard that term before, but it seems to be what I have called a "switch-mode", yes?) won't show up for a day or two, plus the observation that sometimes these switch-mode devices might not always be totally happy/stable at very low output current, I went ahead and constructed the proposed configuration.

With the heatsink in place, with no insulating layer, but also with no thermal grease, and the CPU doing some very minor ticking over, the heatsink warmed up fairly substantially, in a few minutes, it was running around 110~120F based on an infrared thermometer. Of course, that's the "outside" temperature, so I have to assume the silicon inside is running quite a bit hotter.

From this, I conclude a few things, first that the heatsink I have probably isn't as good as I'd hoped (though it's also not nothing). Second, that for this much drop, the proposal to use one of these buck converters is clearly far more satisfactory. I built my (strip/vero) board layout so that I can jumper the 24v supply off the 7805, and instead put the new converter between the two. That way, I'll still have the low-current-stable linear regulator, but be feeding it with perhaps 7.5v instead of 24.

Bottom line, not such a good plan to try to drop this much voltage, even at very low current over a 7805 (nor, presumably, it's siblings).

Appreciate all the input.

\$\endgroup\$
7
  • 2
    \$\begingroup\$ Sounds like your heat sink calc is good, even conservative. Worth checking fi a cheap buck converter would be smaller, if space is an issue. \$\endgroup\$
    – user16324
    Commented Mar 14, 2020 at 0:15
  • 1
    \$\begingroup\$ Don't forget the junction to case thermal resistance, about 5C/W or so, depending on the exact package. For reliability, I wouldn't run the junction above 100C. \$\endgroup\$
    – Mattman944
    Commented Mar 14, 2020 at 0:25
  • 2
    \$\begingroup\$ You should be able to very easily find a 5V switching regulator because the USB standard has made 5V regulators up to 2A common. The search "24 to 5V regulator" on google yielded TPSM84205EAB on digikey, a drop in 7805 replacement good for 1.5A. If you check Aliexpress(treat anything you buy on there with a suspicious eye) you'll find an assortment of similar units that are much cheaper and not necessarily much worse. \$\endgroup\$
    – K H
    Commented Mar 14, 2020 at 1:24
  • 2
    \$\begingroup\$ You know that the ESP8266 is a 3.3V device, right? You will kill it if you connect it directly to 5V. \$\endgroup\$ Commented Mar 14, 2020 at 2:10
  • 1
    \$\begingroup\$ pretty common rule of thumb to derate your heatsink thermal resistance by 30%. (ie increase the resistance) .. thats because you are not dissipating heat uniformly on the heatsink body.. (i dont think 350mA is important in ur case consider 80mA) .. you must consider junction to case of the regulator + thermal paste + heatsink .. \$\endgroup\$ Commented Mar 14, 2020 at 8:09

1 Answer 1

5
\$\begingroup\$

You can get switching converter modules that have a 7805 pinout with a form factor that's about the same as a 7805 heat sink (but if you bet me money, I get to choose the heat sink that it's the same as :).

I'd use one of those. They're a few bucks in onsie quantities, but you have to put almost zero effort into designing them in.

\$\endgroup\$
1
  • 3
    \$\begingroup\$ I use these. They are similar to a 7805 in size without a heat sink. There are name brand ones by murata and (probably) very similar knock offs on aliexpress. \$\endgroup\$
    – K H
    Commented Mar 14, 2020 at 1:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.