Skip to Content
Circuitera

Arduino Mega 2560 Rev3

Find the Mega 2560’s expanded digital and analog headers, hardware UARTs and board-specific I²C pin locations.

Arduino Mega 2560-compatible board showing the Mega header layout
Arduino MEGA 2560 R3, front side.jpg by Dsimic · CC BY-SA 4.0. Resized and encoded as WebP without cropping.

Overview

The Mega 2560 uses the ATmega2560 and offers additional pins for larger circuits. The shown board is a Mega-compatible Rev3 layout. Connector placement alone does not establish brand or manufacturing origin.

Source: Arduino

Bus pins

The dedicated I²C pins on the Mega are D20 (SDA) and D21 (SCL). This differs from Uno R3’s A4/A5 assignment. Use one of the additional hardware UARTs if you want peripheral serial traffic independent of the board’s USB serial connection.

Source: Arduino

Pins and sketches

Select the Mega target when compiling or uploading. Check Arduino pin assignments for timers and peripherals when porting low-level code. A sketch tied to Uno AVR registers or a particular timer may need changes.

Source: Arduino

Specifications

ParameterValue or conditionSource
Clock16 MHzArduino
Digital and analog pins54 digital I/O, 16 analog inputsArduino
Hardware UARTsFourArduino

Compatibility and practice

Use the Mega 2560 board target; check shield compatibility and bus pin assignments.

Sources and datasheets