Arduino Mega2560

Arduino Mega 2560

Arduino Mega 2560
Microcontroller ATmega2560
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16 MHz
LED_BUILTIN 13
Length 101.52 mm
Width 53.3 mm
Weight 37 g

Memory

256 KB -> storing code (8KB bootloader)

8 KB -> SRAM

4 KB -> EEPROM

Input / Output

Serial0 -> 0(rx), 1(tx)
Serial1 -> 19(rx), 18(tx)
Serial2 -> 17(rx), 16(tx)
Serial3 -> 15(rx), 14(tx)

External Interrupts
2 -> int0
3 -> int1
18 -> int5
19 -> int4
20 -> int3
21 -> int2

PWM -> 0 ~ 13

SPI: 50(MISO), 51(MOSI), 52(SCK), 53(SS)

LED: 13 &&& High = On, Low = Off

I2C: 20(SDA), 21(SCL)

analogread 16 input 10 bit resolution( 1024)

ปกติจะเทียบกับ 5v แต่สามารถเปลี่ยนได่โดยใช้ analogReference()

results for ""

    No results matching ""