Arduino Mega 2560 R3 Specifications/Functions

In this article, we will explain in detail the specifications and functions of Arduino Mega 2560 R3(Arduino Mega 2560).

The Arduino Mega 2560 has a lot more memory and I / O than the Arduino Uno.

TOC

Arduino Mega 2560 Specifications

Tech SpecsArduino Mega 2560
Board Size101.52×53.3mm
Microcontroller/
Clock Speed
ATmega2560/
16MHz
SRAM
(Main Memory)
8kB
Flash Memory256kB
EEPROM4kB
Operating Voltage+5V
Input Voltage
(recommended)
+7~+12V
Output Voltage+5V, +3.3V
Digital I/O Pins54
PWM Digital I/O Pins15
Analog Input Pins16
Analog Output Pins
(DAC)
Rated Current per Pin20mA/Pin
Program Writing PinsUSB Type-B
ICSP
InterfaceUART
I2C
SPI

For the specifications of Arduino boards other than Arduino Mega 2560, see the following article.

Arduino Mega 2560 Functions

Arduino Mega 2560 Appearance

Socket Header Placement(Pin Header Placement)/LED Placement

Arduino Mega 2560 Pin Header LED Placement

↑Click to enlarge.

①Microcontroller(Microcomputer)

The Arduino Mega 2560 Microcontroller(Microcomputer) uses “ATmega2560” from Microchip Technology(USA).

A microcontroller(microcomputer) is a very important component in controlling electronic devices that correspond to the human “brain”.

In addition, various memories such as SRAM, Flash memory, and EEPROM are also built into the microcontroller.

②USB Port

You can communicate between Arduino Mega 2560 and PC by connecting it to the USB port of Arduino Mega 2560 and PC with a USB cable.

You can write a program(sketch) created on your PC to Arduino Mega 2560, and control Arduino Mega 2560 from your PC by serial communication.

You can also power the Arduino Mega 2560 via USB instead of the power jack.

③Power Jack

You can connect an AC adapter(outer diameter 5.5mm, inner diameter 2.1mm) to power the Arduino Mega 2560.

④Reset Button

You can restart the Arduino Mega 2560 by pressing the reset button. Use this when you want to restart the program from the beginning or when the Arduino Mega 2560 behaves strangely.

⑤I/O Port・Power

Digital I/O・PWM

Digital I/O・PWMExplanation
D0-D53Digital input/output(0-53)
HIGH(+5V)/LOW(0V)
PWM0 to +5V analog output
Analog output by switching between 0V and +5V at high speed

PWM and serial communication are shared with digital I/O. You can specify which one to use in the program.

Analog Input

Analog InputExplanation
A0-A15Analog input(0-15)
10-bit A/D converter(1step change every 4.8mV)

Communication

CommunicationExplanation
UART
(Serial communication)
TXSerial data transmission
RXSerial data reception
I2CSCLSerial clock
SDASerial data transmission/reception
SPISSSelect device to control
SCKSerial clock
MOSIMaster ⇒ Slave data transfer
MISOSlave ⇒ Master data transfer

Power

PowerExplanation
VinThe voltage of “③Power jack” is output,
Power can be supplied from “Vin” without using the power jack.
GNDGround/Reference point
+5V+5V voltage output
+3.3V+3.3V voltage output

Other

OtherExplanation
GNDGround/Reference point
AREFAnalog input reference voltage (0 to +5V input),
Not normally used
RESETReset
(Same function as “④Reset Button”)
IOREF+5V voltage output

⑥LED

LEDExplanation
ONLights up when the Arduino Mega 2560 is powered
TXBlinks when sending via serial communication
RXBlinks when receiving via serial communication
LConnect to digital I/O No.13

Arduino Mega 2560 has 4 LEDs(chip parts). The “L” of LED is connected to the 13th digital I/O, and can be lighted up by setting the 13th pin to HIGH (5V) in the program.

⑦ICSP

Arduino Mega 2560 has two ICSP terminals, for “ATmega2560-15” and “ATmega16U2”.

For ATmega2560-15

By connecting an ICSP-compatible writer(program writing device), you can write programs(sketches) directly to the “ATmega2560-15”, which is an Arduino Mega 2560 microcontroller(microcomputer).

However, since you can usually write programs(sketches) via the USB port, I think that it is rarely used for writing purposes.

In addition, it can also be used as an SPI terminal.

For ATmega16U2

By connecting an ICSP-compatible writer(program writing device), you can write sketches(programs) directly to the “ATmega16U2”, which is USB-serial conversion IC of Arduino Mega 2560.

Therefore, you can create a device for USB, but it is rarely used because it cannot be written by the Arduino IDE.

How to get technical data for Arduino Mega 2560

Various technical materials of Arduino Mega 2560 can be obtained from the official Arduino website.

Arduino Mega 2560 Technical Data
  • EAGLE FILES
  • SCHEMATICS: PDF Format
  • BOARD SIZE Data: DXF Format
  • FRITZING FILE
2
Arduino Mega 2560 DOCUMENTATION

Click “DOCUMENTATION”.

3
Arduino Mega 2560 EAGLE FILES SCHEMATICS BOARD SIZE Data FRITZING FILE Download

Click each icon to download the “EAGLE FILES”, “SCHEMATICS”, “BOARD SIZE Data” and “FRITZING FILE”.

Let's share this post!
TOC
閉じる