Ardunio Mega gets hot With L293D. Need Help (URGENT)

In the project I am using Arduino Mega 2560, L293D, 4 gear motors, flame sensor, IR proximity senor and pushbutton(Which runs motors anti clockwise when pressed). Flame sensor will sense and motor will start rotating clockwise and IR proximity sensor will help to stop it Push Button will run motor anti clockwise when pressed When I powered Mega2560 by providing 12v to Shield the Mega2560 starts to get hot.
Motor: Hennkwell PZ22GR9120R-084BBH (Dont know how much current it need)

Any Solution ?

You can't power things from an Arduino. 12v is the upper limit of the supply to an Arduino only powering itself. Get a real, solid 5v supply and bring it in on the 5v pin and power everything from that, drawing nothing from the Arduino.


Here is a terminal shield and Power Distribution Board on top of a Mega 2560.

The way that the linear 5V voltage regulator on the Mega works is to drop the excess voltage from the input (12V) to 5V. The excess voltage times the current that the regulator must supply is the power that must be dissipated as heat. The regulator is not heat sinked so it gets hot. Sometimes hot enough to shut itself down.

When you supply an external well regulated 5V through the 5V pin, you bypass the weak on board 5V regulator. Just make sure that the external supply can supply the required current.

Hi, @last_soviet2020
Welcome to the forum.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.

Can you please post link to data/specs of your motor?

Can you please tell us your electronics, programming, arduino, hardware experience?

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

1 Like

L293D is placed on Mega2560. I give 12v/1.5A to motor shield which also power Mega2560 and Arduino starts to get hot.

1)4x12v gear motors are connected with L293D
2)Flame sensor on digital pin 24
3)IR Proximity sensor on digital pin 26
4)Button on digital pin 27

Further I want to connect single channel relay on digital pin 28 ( Relay connected with Solenoid valve (12v/1A) )
and small servo motor on digital pin 29.

Please also guide me how can I power and make all components working with only one supply (How much V/A required? )

Motor Spec link: https://cdn.sparkfun.com/assets/6/9/d/c/c/rmspec.pdf

Hi,

So you have "L293D motor shield is placed on Mega2560."

Can you please post link to data/specs of the "motor shield"?

Where in the Mega does it get hot?

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

Specs of motor shield: https://www.majju.pk/product/l293d-motor-driver-module-servo-shield-for-arduino/

InkedArduino-Mega-2
I circled the part that gets heated up

Don't power the mega with +12. Feed it +5 on the +5 pin. Power everything else separately.

That is the onboard 5V linear regulator, what hardware have you got apart from the Mega, using its 5V supply, that is connected to the Mega's 5V pin?

Do or don't you have the "power selection" jumper fitted or removed?

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

How I'm suppose to do that L293d shield is attached on Mega2560...

I see a jumper by the power pin but cannot see what the silk screen says.

The motor shield has its own power pins. power the mega via the USB port with +5 there.

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