USA, Arizona
Offline
Newbie
Karma: 0
Posts: 26
|
 |
« on: July 14, 2012, 11:29:23 pm » |
I have a Arduino MEGA2560 which is normally powered by the USB port. If I remember correctly the mega has 14 pwm that outputs 40mA each. I would now like to power my mega with a 12v 500mA wall transformer. My transformer will output a max of 500mA which is just 40mA short. Will that transformer efficiently power my arduino mega2560? I did plug the transformer in for a short test run and the board is running fairly hot beneath the DC power port. Is that normal? I also have the USB cable plugged in.
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3623
@ssh0le
|
 |
« Reply #1 on: July 14, 2012, 11:39:16 pm » |
the atmega can put output 40ma per pin, but it has a max package current as well, on a dip 328 its like 250ma for the entire package at one time, I imagine its similar for the chip used on the mega.
so yes your transformer will work fine if your keeping things within specs
but if your seriously driving 14 pwm outputs at the same time at the MAXIMUM output the chip will start to overheat anyway along with your transformer starting to dip in voltage and possibly overheat as well.
(ps 40*14 is 560)
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
USA, Arizona
Offline
Newbie
Karma: 0
Posts: 26
|
 |
« Reply #2 on: July 14, 2012, 11:45:28 pm » |
I will not be running all 14 pins at max. At the moment all I have hooked up is a ph and a temp sensor. Are there any reasons why the board is running hot to the touch? I'm assuming because of the the current? Even though you said my transformer will work fine, should I get another transformer at a lower mA due to the board running hot?
|
|
|
|
« Last Edit: July 14, 2012, 11:56:54 pm by d0773d »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 247
Posts: 16535
Available for Design & Build services
|
 |
« Reply #3 on: July 15, 2012, 12:22:13 am » |
Lower power in would help, like 7.5V. The power above that is just dissipated as heat by the regulator. Here's what I use when I bring power from the barrel jack. http://www.dipmicro.com/store/DCA-07510I generally just bring 5V to the equivalent of a power header instead (custom boards), and not use an onboard regulator at all. http://www.dipmicro.com/store/DCA-0520
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3623
@ssh0le
|
 |
« Reply #4 on: July 15, 2012, 12:25:45 am » |
1) where is it getting hot, if its the main chip your doing it wrong, if its the little 3 pin job near the power input, its going to get warm depending on how much current your drawing though it and at what voltage. Its a 5 volt regulator, requires a minimum of 7volts to work correctly, everything above that is wasted as heat. so if you have 12 volts and drawing a couple hundred milliamps, you can get the datasheet for the part and do the math to see that "yea its going to be hot to you". Hot to the chip is also in the datasheet and its usually enough to make you cuss.
2) no, current is drawn not provided, so if you lower the current capability of your supply, and its not current regulated, its going to suck the current from the supply no matter what, always go over a little.
the best way to drop heat from the regulator is to drop input voltage when possible, that's why linear regulators suck.
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
USA, Arizona
Offline
Newbie
Karma: 0
Posts: 26
|
 |
« Reply #5 on: July 15, 2012, 02:07:29 am » |
1) where is it getting hot, if its the main chip your doing it wrong, if its the little 3 pin job near the power input, its going to get warm depending on how much current your drawing though it and at what voltage. Its a 5 volt regulator, requires a minimum of 7volts to work correctly, everything above that is wasted as heat. so if you have 12 volts and drawing a couple hundred milliamps, you can get the datasheet for the part and do the math to see that "yea its going to be hot to you". Hot to the chip is also in the datasheet and its usually enough to make you cuss.
2) no, current is drawn not provided, so if you lower the current capability of your supply, and its not current regulated, its going to suck the current from the supply no matter what, always go over a little.
the best way to drop heat from the regulator is to drop input voltage when possible, that's why linear regulators suck.
The heat is concentrated by the 3 pins near the power input. I will purchase a variable transformer.
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3623
@ssh0le
|
 |
« Reply #6 on: July 15, 2012, 02:23:21 am » |
that part has a maximum junction temperature (how hot the insides get) of 150C or 302f, you could almost bake cookies on it and still be OK
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
USA, Arizona
Offline
Newbie
Karma: 0
Posts: 26
|
 |
« Reply #7 on: July 15, 2012, 02:27:36 am » |
that part has a maximum junction temperature (how hot the insides get) of 150C or 302f, you could almost bake cookies on it and still be OK
LOL ok. Thank you for your help!
|
|
|
|
|
Logged
|
|
|
|
|
USA, Arizona
Offline
Newbie
Karma: 0
Posts: 26
|
 |
« Reply #8 on: July 15, 2012, 02:28:26 am » |
Those are relatively cheap. Thank you for the links.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6624
Arduino rocks
|
 |
« Reply #9 on: July 15, 2012, 09:09:52 am » |
that part has a maximum junction temperature (how hot the insides get) of 150C or 302f, you could almost bake cookies on it and still be OK
If you run it that hot the reliability and expected MTBF drop by many orders of magnitude - best avoided.
|
|
|
|
|
Logged
|
|
|
|
|
Anaheim CA.
Offline
Edison Member
Karma: 31
Posts: 2310
Experienced old Whitebeard with a Full head of Hair...
|
 |
« Reply #10 on: July 15, 2012, 11:45:56 am » |
I think the last post by d0773d really hit the issue on the head. The temperatures mentioned are absolute maximums not standard operating conditions. A safe "Rule of Thumb" is that if a part is uncomfortably warm measured with ones "Thumb" it is probably too hot for maximum longevity. My Rule of "thumb" is simple and that is that I consider the regulator "Onboard" the arduino board STRICTLY for powering the Arduino. anything I connect to the Arduino has it's own Separate power supply. In doing this I remove from the picture any considerations about the power supply being adequate to the task at hand as I choose the power supply rather than relying on the design capacity of the Arduino itself... Simple. IMO
Doc
|
|
|
|
|
Logged
|
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
|
|
|
|
|