.. note:: Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts. **Why Join?** - **Expert Support**: Solve post-sale issues and technical challenges with help from our community and team. - **Learn & Share**: Exchange tips and tutorials to enhance your skills. - **Exclusive Previews**: Get early access to new product announcements and sneak peeks. - **Special Discounts**: Enjoy exclusive discounts on our newest products. - **Festive Promotions and Giveaways**: Take part in giveaways and holiday promotions. 👉 Ready to explore and create with us? Click [|link_sf_facebook|] and join today! .. _cpn_mega2560: SunFounder Mega Board ============================== .. image:: img/mega2560.jpg :width: 600 :align: center .. note:: The SunFounder Mega board is a mainboard with almost the same functions as the `Arduino Mega 2560 Rev3 `_, and the two boards can be used interchangeably. The SunFounder Mega Board is a microcontroller board based on the ATmega2560 (`datasheet `_). It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The SunFounder Mega Board board is compatible with most shields designed for the Uno and the former boards Duemilanove or Diecimila. **Technical Parameters** .. image:: img/mega_pin.png :align: center * MICROCONTROLLER: ATmega2560 * OPERATING VOLTAGE: 5V * INPUT VOLTAGE (RECOMMENDED): 7-12V * INPUT VOLTAGE (LIMIT): 6-20V * DIGITAL I/O PINS: 54 (0-53, of which 15 provide PWM output(2-13, 44-46)) * ANALOG INPUT PINS: 16 (A0-A15) * 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 * I2C Port: A4(SDA), A5(SCL); 20(SDA), 21(SCL) **What's More** * `Arduino IDE `_ * `Arduino Programming Language Reference `_ * :ref:`get_started_ar` * `ATmega2560 Datasheet `_