Arduino Mega 2560
The board as it appears on the Velxio canvas, with its full pin map
read live from the simulator (regenerated by scripts/gen-boards.mjs,
so it always matches what you can wire).

Family: Arduino & AVR · Languages: Arduino C++
About this board
Section titled “About this board”The ATmega2560 at 16 MHz with 256 KB of flash — the pin-hungry member of the family, with 54 digital I/O against the UNO’s 14. That pin count, not the clock speed, is what usually decides a project onto a Mega.
The pin map below is the board’s own, all 85 entries, and it is one of only
three in the catalog that carries signal names: the PWM-capable pins, the
USART pins, the I2C pair on 20/21 and the SPI set on 50/51/52 are
labelled from the board’s metadata rather than a table maintained here.
Start here
Section titled “Start here”New Arduino Mega project opens the editor with this board and a working blink sketch.
Pins (85)
Section titled “Pins (85)”- SCLi2c
- SDAi2c
- AREF
- GND.1power
- 13pwm
- 12pwm
- 11pwm
- 10pwm
- 9pwm
- 8pwm
- 7pwm
- 6pwm
- 5pwm
- 4pwm
- 3pwm
- 2pwm
- 1usart
- 0usart
- 14usart
- 15usart
- 16usart
- 17usart
- 18usart
- 19usart
- 20i2c
- 21i2c
- 5V.1power
- 5V.2power
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44pwm
- 45pwm
- 46pwm
- 47
- 48
- 49
- 50spi
- 51spi
- 52spi
- 53
- GND.4power
- GND.5power
- IOREF
- RESET
- 3.3Vpower
- 5Vpower
- GND.2power
- GND.3power
- VINpower
- A0analog
- A1analog
- A2analog
- A3analog
- A4analog
- A5analog
- A6analog
- A7analog
- A8analog
- A9analog
- A10analog
- A11analog
- A12analog
- A13analog
- A14analog
- A15analog
Every pin above is clickable on the canvas — click one to start a wire. Board-level behavior, quirks and example links live on the family page.