Arduino mega overheats

Hey everyone,

My friends and I are working on a school project. We are using an Arduino Mega and powering it via a 12V battery through the power source input. After a few minutes of running the program, the Arduino starts to restart the program over and over again. In addition, the Arduino is very hot to the touch. We are using a lot of sensors, two DC motors, and 3 servo motors, all are connected to 5v and GND via a small breadboard strip.

what can be the cause of it and how can I fix it?

Drawing too much current from 5V. Add external 5V power, tie grounds together.

2 Likes

The Mega is not a power supply.

The DC Motors and Servos should have been connected to a seperate 5V power supply that can cope with the high current probably needed.

1 Like

Make a list of all the devices that will be connected to the Mega.
Post the list here.
Provide datasheets or a link to a product webpage for each device.
What battery are you using?

Then we will see how to solve your problem

1 Like

And post a circuit diagram, perhaps also hand-drawn.

Hi, @1ultimate_codemaster1742
Welcome to the forum.

Can you please post a copy of your circuit, 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.
Please do not try and cut and paste images and draw coloured lines between them.

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

You are lucky you did not fry it. Here are some simple guidelines/rules.
Gil's Crispy Critter Rules, they apply to processor hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive (motor, speaker) to an Arduino!
Rule #3 Don't connecting or disconnecting wires with power on.
Rule #4 Do not apply power to any pin unless you know what you are doing.
Rule #5 Do not exceed maximum Voltages.
LaryD's Corollary's
Coro #1 when first starting out, add a 220R resistor in series with both Input and Output pins.
Coro #2 buy a DMM (Digital Multi-meter) to measure voltages, currents and resistance. Violating these rules tends to make crispy critters out of Arduinos.
Hint: It is best to keep the wires under 25cm/10" for good performance.

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