Skip to content
A project ofgwark.dev

Arduino · Dev board

Arduino Mega 2560 (main headers)

ATmega2560 with 54 digital pins, 16 analog inputs and four hardware serial ports. These are the Uno-compatible side headers; D22 to D53 live on the separate double-row header at the end of the board.

Cheat sheet (SVG)
Logic level
5 V
Package
Mega shield form factor, 101.5 x 53.3 mm

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Power + Analog headers

MEGA 2560

Digital + Communication headers

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
5 V
Package
Mega shield form factor, 101.5 x 53.3 mm

Fig. 1. Arduino Mega 2560 (main headers), Mega shield form factor, 101.5 x 53.3 mm. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 1. Pin assignments.

Complete pin reference for Arduino Mega 2560 (main headers)
PinNameFunctions

Found a wrong pin? The whole board is one file, data/boards/arduino-mega-2560.json.

Edit this file on GitHubReport it instead