Difference between revisions of "ArduinoPinCurrent"

From ArduinoInfo
Jump to: navigation, search
m (Text replacement - "[/" to "http://arduino-info.wikispaces.com http://arduinoinfo.mywikis.net/wiki")
m
Line 30: Line 30:
 
* If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
 
* If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
 
<br /> <br />  
 
<br /> <br />  
==<span style="font-size: 1.3em; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 5px">'''Arduno (UNO and Duemilanove) Chip Pin#s VS Ports:'''</span>==
+
==<span style="font-size: 1.3em; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 5px">
 +
'''Arduino (UNO and YourDuino RoboRED) Chip Pin#s VS Ports:'''</span>==
 
<br /> [[Image:ArduinoPinCurrentLimits.jpg|ArduinoPinCurrentLimits.jpg]]<br /> <br /> <br /> <br />  
 
<br /> [[Image:ArduinoPinCurrentLimits.jpg|ArduinoPinCurrentLimits.jpg]]<br /> <br /> <br /> <br />  
 
===<span style="font-size: 1.3em">ATMEL ATMEGA 640/1280/2560 (MEGA) Current Specifications:</span>===
 
===<span style="font-size: 1.3em">ATMEL ATMEGA 640/1280/2560 (MEGA) Current Specifications:</span>===
<span style="font-size: 22px; line-height: 33px">'''''<u>Absolute</u>'' Maximum ratings:'''</span><br />  DC Current per I/O Pin ............................................... 40.0 mA<br />  DC Current VCC and GND Pins................................ 200.0 mA<br /> <br />  This apparently is saying you get 800mA to play with as there are 4 Vcc and 4 Gnd pins, further limited by subgroups of pins for Sink (IOL) and Source (IOH) current:<br /> <br />  
+
<span style="font-size: 22px; line-height: 33px">'''''<u>Absolute</u>'' Maximum ratings:'''</span><br />  DC Current per I/O Pin ............................................... 40.0 mA<br />  DC Current VCC and GND Pins................................ 200.0 mA<br /> <br />  This apparently is saying you get 800mA to play with as there are 4 Vcc and 4 Gnd pins, further limited by subgroups of pins for Sink (IOL) and Source (IOH) current:<br /> <br />
 +
 
 
==<span style="font-size: 1.3em">Pin SINK Current Limitations:</span>==
 
==<span style="font-size: 1.3em">Pin SINK Current Limitations:</span>==
  

Revision as of 17:59, 25 April 2018

ARDUINO PIN CURRENT LIMITATIONS:

Be Nice to your Arduino!

(Thanks to @CrossRoads !)
Official DataSheet for ATmega328P (UNO, RoboRED etc.) :
Official DataSheet for ATmega1280/2560 (MEGA etc.) :
A Few Definitions:
VOH - Voltage Output High (I/O Pin "HIGH")
VOL - Voltage Output Low (I/O Pin " LOW")
IOH - Current Output High (I/O Pin "HIGH")
IOL - Current Output Low (I/O Pin " LOW")

http://arduino-info.wikispaces.com http://arduinoinfo.mywikis.net/wikiQuickRef#pwr Detailed Vin, Voltage Regulator Power Considerations HERE]

ATMEL ATMEGA328 (UNO and Duemilanove and YourDuino RoboRED) Current Specifications:


Absolute Maximum Ratings
DC Current per I/O Pin ............................................... 40.0 mA
DC Current VCC and GND Pins................................ 200.0 mA

1 VCC pin: Means these Arduinos can Source a total of 200mA
2 GND pins: Means these Arduinos can Sink a total of 400mA

Only the 32 pin surface mount packages (UNO Surface-Mount version) have 2 VCC pins.

Pin SOURCE Current Limitations:


NOTE: Although each I/O port can source more than the test conditions (20 mA at VCC = 5V, 10 mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed.

  • The sum of all IOH, for ports C0 - C5, D0- D4, ADC7, RESET should not exceed 150 mA.
  • The sum of all IOH, for ports B0 - B5, D5 - D7, ADC6, XTAL1, XTAL2 should not exceed 150 mA.
  • If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.


Pin SINK Current Limitations:


NOTE: Although each I/O port can sink more than the test conditions (20 mA at VCC = 5V, 10 mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed:

  • The sum of all IOL, for ports C0 - C5, ADC7, ADC6 should not exceed 100 mA.
  • The sum of all IOL, for ports B0 - B5, D5 - D7, XTAL1, XTAL2 should not exceed 100 mA.
  • The sum of all IOL, for ports D0 - D4, RESET should not exceed 100 mA.
  • If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.



== Arduino (UNO and YourDuino RoboRED) Chip Pin#s VS Ports:==
ArduinoPinCurrentLimits.jpg



ATMEL ATMEGA 640/1280/2560 (MEGA) Current Specifications:

Absolute Maximum ratings:
DC Current per I/O Pin ............................................... 40.0 mA
DC Current VCC and GND Pins................................ 200.0 mA

This apparently is saying you get 800mA to play with as there are 4 Vcc and 4 Gnd pins, further limited by subgroups of pins for Sink (IOL) and Source (IOH) current:

Pin SINK Current Limitations:

  • The sum of all IOL, for ports J0-J7, A0-A7, G2 should not exceed 200 mA.
  • The sum of all IOL, for ports C0-C7, G0-G1, D0-D7, L0-L7 should not exceed 200 mA.
  • The sum of all IOL, for ports G3-G4, B0-B7, H0-B7 should not exceed 200 mA.
  • The sum of all IOL, for ports E0-E7, G5 should not exceed 100 mA.
  • The sum of all IOL, for ports F0-F7, K0-K7 should not exceed 100 mA.


[looks like 800mA Total!]

NOTE: If IOL exceeds the test condition [(20mA at VCC = 5V, 10mA at VCC = 3V) under steady state conditions (non-transient)], VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.

Pin SOURCE Current Limitations:


  • The sum of all IOH, for ports J0-J7, G2, A0-A7 should not exceed 200 mA.
  • The sum of all IOH, for ports C0-C7, G0-G1, D0-D7, L0-L7 should not exceed 200 mA.
  • The sum of all IOH, for ports G3-G4, B0-B7, H0-H7 should not exceed 200 mA.
  • The sum of all IOH, for ports E0-E7, G5 should not exceed 100 mA.
  • The sum of all IOH, for ports F0-F7, K0-K7 should not exceed 100 mA.

[looks like 800mA Total!]

NOTE: If IOH exceeds the test condition [(20mA at VCC = 5V, 10mA at VCC = 3V) under steady state conditions (non-transient)], VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.