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

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.
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.
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.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Clock | 16 MHz | Arduino |
| Digital and analog pins | 54 digital I/O, 16 analog inputs | Arduino |
| Hardware UARTs | Four | Arduino |
Compatibility and practice
Use the Mega 2560 board target; check shield compatibility and bus pin assignments.