Mega voltage regulator overheating

Hey everyone. I am currently working on an LFR with the Arduino mega.
Here's the issue. I have connected to the Arduino 5 ir sensors. Motor driver is spark fun monster moto shield. Total current draw of all components from the 5 volt pin is 128 mA.
The voltage regulator overheats too much. Measured the temp it was above 100C (disconnected after 100C as i was afraid something would melt)
I am using a 12 volt LiPo battery. Battery voltage is 12.37 V.

  1. Is using a heatsink in this case advisable?
  2. Would it be better to use a buck converter and supply the mega with less than 10 volts?
  3. Any other suggestions?
    Thanks in advance!

Powering via the barrel jack is the worst option. Either provide a regulated 5V to the 5V pin or use the USB port for power.

Then the voltage regulator burns more than 7V and nearly 1W what's too much even with a heat sink.

Don't forget the current drawn by the Mega itself, that could be maybe another 50mA.

1 Like

So it would be a better option to use a buck converter and regulate the voltage at VIn to be around 9 V?

Could you recommend any 5 volt regulator that can regulate the voltage externally so i can supply direct 5V to the Arduino?

Not much better. You could spread the heat generated over 2 regulators (on-board + external) which would help somewhat, but still more than half the power would be wasted as heat. The regulators would still be dropping 7V out of 12V between them to output 5V, so the efficiently would be 42% and all power wasted turns to heat.

EDIT: Sorry, I misread your last post. Yes, using a buck converter to reduce 12V to 9V would increase the efficiency from 42% to maybe 50%.

A buck or voltage converter reducing 12V directly to 5V could be 85~90% efficient. You would set it to 5V output and power the Mega through its 5V pin.

Thanks man!

These commonly available buck converters would be worth trying

1 Like

I like those buck converters, too.

In order to set them to 5V one needs to either set the pot so the output is 5V or cut the trace at the adj jumper pad and solder across the 5V jumper pads. I like to do the latter so the the pot can't be mis-adjusted and fry things.

If i use the LM7805 and provide 5v to the pin
Would it be fine? (Attaching pic below)
I am just worried about voltage spikes with this regulator...

Hi,
Can you post a circuit diagram showing how you would use the LM7805 with the Mega please?

Hand drawn and photographed circuit is perfectly acceptable.

You can use the LM7805 to provide 5V to the 5V pin of the Mega, BUT you will possibly need a heatsink on it and the appropriate bypass capacitors.
The heatsink is because it is a linear regulator like in the Mega that is over heating, and although the LM7805 may not get as hot, it still needs to dissipate the same amount of energy as the Mega regulator did.

Tom... :smiley: :+1: :coffee: :australia:

IMG_20220625_200526_1
Sorry for my terrible and handwriting and the crude drawing

Could you kindly elaborate further on the bypass capacitors?
I plan to use a heatsink as well

Here is the recommendation from the 7805 data sheet.

7805 caps

If you powering from a battery and are interested in efficiency, the 7805 is not as good a choice as a switch mode buck converter.

Hi,
Place those bypass capacitors as close to the regulator leads as possible.

Tom... :smiley: :+1: :coffee: :australia:

Alright so here's what i plan to do now
Attach a buck/boost converter to the output of the battery and set it at 5Volts output
Plug in output from converter to mega's 5V pin
Attaching pic of buck/boost converter below
Any improvement i should make?

One more question. Is it ok to connect all grounds together? (seems like a stupid question now that i think of it)
So like battery, motor driver and arduino grounds connected together, though they operate at different voltages.

Btw thank you everyone for the help

Not just OK, it is required. Ground is the common reference between the parts.

To be sure though, please post a schematic showing all of the parts and power supplies. Hand drawn, photographed and posted is fine if you don't have a CAD program. If you want to try CAD, here is a good start.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.