Uploaded by User31757

Datasheet MEGA 2560

advertisement
ARDUINO MEGA
INTRODUCTION
The Arduino MEGA 2560 is designed for projects that require more I/O llines , more sketch
memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for the
complex projects like 3D printers and robotics projects.
ARDUINO MEGA PHYSICAL COMPONENTS
ATMEGA 2560 Microcontroller
Features



8-Bit Microcontroller
High Performance, Low Power
Advanced RISC Architecture
o 135 Powerful Instructions
o Most Single Clock Cycle Execution
1
o
o
o
o
32 × 8 General Purpose Working Registers
Fully Static Operation
Up to 16 MIPS Throughput at 16MHz
On-Chip 2-cycle Multiplier

High Endurance Non-volatile Memory Segments
o 64K/128K/256KBytes of In-System Self-Programmable Flash
o 4Kbytes EEPROM
o 8Kbytes Internal SRAM
o Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
o Data retention: 20 years at 85C/ 100 years at 25C
o Optional Boot Code Section with Independent Lock Bits


In-System Programming by On-chip Boot Program
True Read-While-Write Operation
o Programming Lock for Software Security


Endurance: Up to 64Kbytes Optional External Memory Space
Atmel QTouch library support
o Capacitive touch buttons, sliders and wheels
o QTouch and QMatrix acquisition
o Up to 64 sense channels
• Peripheral Features
o
o
o
o
o
o
o
o
o
o
o
o
Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
Four 16-bit Timer/Counter with Separate Prescaler, Compare- and Capture Mode
Real Time Counter with Separate Oscillator
Four 8-bit PWM Channels
Six/Twelve PWM Channels with Programmable Resolution from 2 to 16 Bits
8/16-channel, 10-bit ADC
Two/Four Programmable Serial USART
Master/Slave SPI Serial Interface
Byte Oriented 2-wire Serial Interface
Programmable Watchdog Timer with Separate On-chip Oscillator
On-chip Analog Comparator
Interrupt and Wake-up on Pin Change
2
• Special Microcontroller Features
o
o
o
o
Power-on Reset and Programmable Brown-out Detection
Internal Calibrated Oscillator
External and Internal Interrupt Sources
Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and
Extended Standby
• I/O and Packages
o 54/86 Programmable I/O Lines
o 100-lead TQFP, 100-ball CBGA
o RoHS/Fully Green
• Temperature Range: -40C to 85C Industrial
• Ultra-Low Power Consumption
o Active Mode: 1MHz, 1.8V: 500µA
o Power-down Mode: 0.1µA at 1.8V
• Speed Grade: 0 - 16MHz at 4.5V - 5.5V
3

Pin configuration
ATMEGA16U2 Microcontroller (USB driver)
Features


High Performance, Low Power AVR
Advanced RISC Architecture
o 125 Powerful Instructions – Most Single Clock Cycle Execution
o 32 x 8 General Purpose Working Registers
o Fully Static Operation
4

Non-volatile Program and Data Memories
o 8K/16K/32K Bytes of In-System Self-Programmable Flash
o 512/512/1024 EEPROM
o 512/512/1024 Internal SRAM
o Write/Erase Cycles: 10,000 Flash/ 100,000 EEPROM
o Data retention: 20 years at 85°C/ 100 years at 25°C
o Optional Boot Code Section with Independent Lock Bits
o In-System Programming by on-chip Boot Program hardware-activated after reset
o True Read-While-Write Operation
o Programming Lock for Software Security

USB 2.0 Full-speed Device Module with Interrupt on Transfer Completion
o Complies fully with Universal Serial Bus Specification REV 2.0
o 48 MHz PLL for Full-speed Bus Operation: data transfer rates at 12 Mbit/s
o Fully independent 176 bytes USB DPRAM for endpoint memory allocation
o Endpoint 0 for Control Transfers: from 8 up to 64-bytes
o 4 Programmable Endpoints:
 IN or Out Directions
 Bulk, Interrupt and Isochronous Transfers
 Programmable maximum packet size from 8 to 64 bytes
 Programmable single or double buffer
o Suspend/Resume Interrupts
o Microcontroller reset on USB Bus Reset without detach
o USB Bus Disconnection on Microcontroller Request
5

Pin configuration
ARDUINO MEGA FEATURES
Microcontroller
Operating Voltage (logic
level)
Input Voltage
(recommended)
Input Voltage (limits)
Digital I/O Pins
Analog Input Pins
DC Current per I/O Pin
Flash Memory
SRAM
EEPROM
Atmel ATmega2560
5V
7-12 V
6-20 V
54 (of which 14 provide PWM)
16
40 mA
256Kbyte of which 8 KB used by boot
loader
8 Kbytes
4 Kbytes
6
Download