Microcontroller: ATmega2560


Power in: From the USB connectors (5V) or the DC plug (7-12V)

5V reg: LD1117S50CTR, 2%, 1V dropout, 800mA output current rated

IO Pins

IO voltage: 5V

IO pin high voltage (for VCC = 5V): min 0.6VCC to max VCC + 0.5
So digital IO pins are compatible with 3.3V input signals.

IO Pin Current

Absolute max current per IO pin: 40mA

Absolute max current across all IO (and for uC itself): 200mA

Note that IO pins will drop voltage (move away from VCC or GND) as IO pin sing and source current increases.

Datasheet notes:

Although each I/O port can sink more than the test conditions (20mA at VCC = 5V, 10mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed:
1.)The sum of all IOL, for ports J0-J7, A0-A7, G2 should not exceed 200mA.
2.)The sum of all IOL, for ports C0-C7, G0-G1, D0-D7, L0-L7 should not exceed 200mA.
3.)The sum of all IOL, for ports G3-G4, B0-B7, H0-B7 should not exceed 200mA.
4.)The sum of all IOL, for ports E0-E7, G5 should not exceed 100mA.
5.)The sum of all IOL, for ports F0-F7, K0-K7 should not exceed 100mA.
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.


PWM is available on pins 2 – 13 and 44 – 46

We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


Your email address will not be published.