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.
Arduino Mega 2560 Specifications
|Tech Specs||Arduino Mega 2560|
|Output Voltage||+5V, +3.3V|
|Digital I/O Pins||54|
|PWM Digital I/O Pins||15|
|Analog Input Pins||16|
|Analog Output Pins|
|Rated Current per Pin||20mA/Pin|
|Program Writing Pins||USB Type-B|
For the specifications of Arduino boards other than Arduino Mega 2560, please refer to the following article.
Arduino Mega 2560 Functions
Arduino Mega 2560 Appearance
Socket Header Placement(Pin Header Placement)/LED Placement
↑Click to enlarge.
The microcontroller of the Arduino Mega 2560 uses “ATmega2560” from Microchip Technology(USA).
A microcontroller 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.
By connecting the Arduino Mega 2560 to the USB port of your PC with a USB cable, you can communicate between the Arduino Mega 2560 and your PC.
Programs (sketches) created on the PC can be written to the Arduino Mega 2560, and the Arduino Mega 2560 can be controlled from the PC via serial communication.
The Arduino Mega 2560 can also be powered via USB instead of the power jack.
You can connect an AC adapter(outer diameter 5.5mm, inner diameter 2.1mm) to power the Arduino Mega 2560.
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.
|PWM||0 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.
10-bit A/D converter(1step change every 4.8mV)
|TX||Serial data transmission|
|〃||RX||Serial data reception|
|〃||SDA||Serial data transmission/reception|
|SPI||SS||Select device to control|
|〃||MOSI||Master ⇒ Slave data transfer|
|〃||MISO||Slave ⇒ Master data transfer|
|Vin||The voltage of "③Power jack" is output,|
Power can be supplied from "Vin" without using the power jack.
|+5V||+5V voltage output|
|+3.3V||+3.3V voltage output|
|AREF||Analog input reference voltage (0 to +5V input),|
Not normally used
(Same function as "④Reset Button")
|IOREF||+5V voltage output|
|ON||Lights up when the Arduino Mega 2560 is powered|
|TX||Blinks when sending via serial communication|
|RX||Blinks when receiving via serial communication|
|L||Connect 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.
Arduino Mega 2560 has two ICSP terminals, for “ATmega2560-15” and “ATmega16U2”.
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.
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.
- EAGLE FILES
- SCHEMATICS: PDF Format
- BOARD SIZE Data: DXF Format
- FRITZING FILE
First, go to the Arduino official website from the link below.
Click each icon to download the “EAGLE FILES”, “SCHEMATICS”, “BOARD SIZE Data” and "FRITZING FILE".