# Arduino Mega 2560 Mini Power Source

**URL:** <https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804>\
**Category:** General Electronics\
**Created:** [November 28, 2022, 2:15am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804 "2022-11-28T02:15:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghoond](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@ghoond](https://forum.arduino.cc/u/ghoond)\
**Post date:** [November 28, 2022, 2:15am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/1 "2022-11-28T02:15:48Z")

</div>

Hello,

Previously i have a project using arduino UNO and im connecting the dc power source from switching power supply to the 3 pin power jack on the lower side of the arduino UNO like on the picture below.

![Arduino Uno R3 Back](https://europe1.discourse-cdn.com/arduino/original/4X/9/4/2/9426933dc303af96c2f4a9154cda9d9b32c47b3a.png)

Now im trying to use arduino Mega 2560 Mini like this one

 ![](https://europe1.discourse-cdn.com/arduino/original/4X/4/2/7/4270700d6b31a32f3b0e0f92df96fcede2dcf985.jpeg)  
The picture above is the lower side of the board

So which port that can be use to connect the power source from switching power supply to the arduino mega 2560 mini?

---

<div class="post-metadata">

**Author:** ![madmark2150](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@madmark2150](https://forum.arduino.cc/u/madmark2150)\
**Post date:** [November 28, 2022, 2:37am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/2 "2022-11-28T02:37:09Z")

</div>

Whats the matter with the barrel jack? Or the USB? Or the +5 pin? Don't solder if a connector is available. If you ever have to service it, de/re-soldering is a major PITA and may cause damage.

---

<div class="post-metadata">

**Author:** ![david\_2018](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/david_2018/32/1013044_2.png) [@david\_2018](https://forum.arduino.cc/u/david_2018)\
**Post date:** [November 28, 2022, 3:06am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/3 "2022-11-28T03:06:22Z")

</div>

What is the voltage of the switching power supply?

If you have a regulated 5V power supply, the 5V pin.  
7 volts or more, use the Vin pin. Board is marked with a maximum of 18V, but the closer to 7V the better, the voltage regulator runs hotter with higher voltage.

Ground of course goes to the GND pin.

---

<div class="post-metadata">

**Author:** ![ghoond](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@ghoond](https://forum.arduino.cc/u/ghoond)\
**Post date:** [November 28, 2022, 3:56am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/4 "2022-11-28T03:56:46Z")

</div>

because im also using 12v dc peristaltic pump and solenoid valve, i have to powered it by using switching power supply, im using the usb to upload the program, the main power is from switching power supply

---

<div class="post-metadata">

**Author:** ![ghoond](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@ghoond](https://forum.arduino.cc/u/ghoond)\
**Post date:** [November 28, 2022, 3:58am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/5 "2022-11-28T03:58:11Z")

</div>

24v but i lowered it to 12v using step down

---

<div class="post-metadata">

**Author:** ![madmark2150](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@madmark2150](https://forum.arduino.cc/u/madmark2150)\
**Post date:** [November 28, 2022, 4:15am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/6 "2022-11-28T04:15:42Z")

</div>

Step it down again to 5 and use the 5v pin and gnd.

---

<div class="post-metadata">

**Author:** ![ghoond](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@ghoond](https://forum.arduino.cc/u/ghoond)\
**Post date:** [November 28, 2022, 4:33am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/7 "2022-11-28T04:33:08Z")

</div>

and then i can soldering it straight to the 5v pin?

---

<div class="post-metadata">

**Author:** ![Ron\_Blain](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ron_blain/32/1126393_2.png) [@Ron\_Blain](https://forum.arduino.cc/u/Ron_Blain)\
**Post date:** [November 28, 2022, 10:56pm UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/8 "2022-11-28T22:56:55Z")

</div>

This is what the various power in of the Arduino Mega 2560 looks like. No different really from the Arduino Uno.

 ![Arduino Mega Power](https://europe1.discourse-cdn.com/arduino/original/4X/e/9/c/e9cfeb88242dd53fa36b1d6cf52b5d032c190ae1.png)

The voltage regulator is a [NCP 1117](https://www.onsemi.com/pdf/datasheet/ncp1117-d.pdf). It's a low dropout regulator having a maximum input according to the data sheet of 20 volts. I would never run it that high and remain in the 7 to 12 volt region. As mentioned you push it and it gets hot. The Vin pin is the cathode side of D1 in the schematic.

> [@ghoond](#):
>
> and then i can soldering it straight to the 5v pin?

In a word No you can not solder to the Vin pin which is upstream of the 5.0 volt regulator. The Vin pin should be above the dropout voltage of the regulator (1.2 volts). You can run 5.0 volts into the 5 V pin. Which is VCC\_5V in the attached schematic. So Yes you can power the board using the 5 V pin. 🙂

Ron

---

<div class="post-metadata">

**Author:** ![steve1001](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/steve1001/32/1098613_2.png) [@steve1001](https://forum.arduino.cc/u/steve1001)\
**Post date:** [November 29, 2022, 2:59am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/9 "2022-11-29T02:59:46Z")

</div>

I have a couple of Mega 2560 Compact Pros that have been running constantly for over 3 years, without any problems.

Be sure to check that the 5V DC supply is very stable, precisely controlled, and reliable. You do not want it drifting away from 5V by much (+/- 0.2). Get a multi-meter on it!

I power all my projects via the 5V pin (except when programming and testing via the Usb port).

---

<div class="post-metadata">

**Author:** ![madmark2150](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@madmark2150](https://forum.arduino.cc/u/madmark2150)\
**Post date:** [November 29, 2022, 6:49am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/10 "2022-11-29T06:49:13Z")

</div>

Yes. Solid power is essential. cell phone chargers are soft devices and will often sag to 4.7V or less depending on load. They'll also rise an equal amount under no load. Not the best for long term power.

Switching power supplies can get noisy under light loads. At least 5% load is usually needed to maintain regulation.

I use UL approved, medical grade, universal input, 5V at 3A, wall warts, with 5.5x2.1 barrel jacks from [Jameco.com](http://Jameco.com):

[GSM18U05-P1J MEAN WELL | Jameco Electronics](https://www.jameco.com/z/GSM18U05-P1J-MEAN-WELL-5-Volt-3-Amp-15-Watt-2xMOPP-Medical-Wall-Adapter_2278919.html)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 28, 2023, 6:49am UTC](https://forum.arduino.cc/t/arduino-mega-2560-mini-power-source/1058804/11 "2023-05-28T06:49:57Z")

</div>

Closed on May 28, 2023, 6:49am UTC

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