DFRobot DFRduino Mega1280 Pinout

An ATmega1280 board with 5 V logic, four hardware USARTs and separate programming headers for the main AVR and the USB bridge. This pinout follows the black DFR0003 marked MEGA1280[R3] V3.3.

Jump to pin index ↓

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

86 visible
PinMCU pinTypesNotes
GPIOI2CDedicated SCL socket beside AREF. Shares the bus with D21.
GPIOI2CDedicated SDA socket beside AREF. Shares the bus with D20.
AnalogVoltage reference for the main ADC.
GNDCommon board ground.
GPIOPWMLED5 V digital I/O on ATmega1280 port PB7.
GPIOPWM5 V digital I/O on ATmega1280 port PB6.
GPIOPWM5 V digital I/O on ATmega1280 port PB5.
GPIOPWM5 V digital I/O on ATmega1280 port PB4.
GPIOPWM5 V digital I/O on ATmega1280 port PH6.
GPIOPWM5 V digital I/O on ATmega1280 port PH5.
GPIOPWM5 V digital I/O on ATmega1280 port PH4.
GPIOPWM5 V digital I/O on ATmega1280 port PH3.
GPIOPWM5 V digital I/O on ATmega1280 port PE3.
GPIOPWM5 V digital I/O on ATmega1280 port PG5.
GPIOPWM5 V digital I/O on ATmega1280 port PE5.
GPIOPWM5 V digital I/O on ATmega1280 port PE4.
GPIOUARTUSART0 transmit output at the main ATmega1280.
GPIOUARTUSART0 receive input at the main ATmega1280.
GPIOUARTUSART3 transmit output at the main ATmega1280.
GPIOUARTUSART3 receive input at the main ATmega1280.
GPIOUARTUSART2 transmit output at the main ATmega1280.
GPIOUARTUSART2 receive input at the main ATmega1280.
GPIOUARTUSART1 transmit output at the main ATmega1280.
GPIOUARTUSART1 receive input at the main ATmega1280.
GPIOI2CI²C data. Also on the SDA socket beside AREF.
GPIOI2CI²C clock. Also on the SCL socket beside AREF.
NCThe V3.2 drawing shows this socket unconnected.
PowerShield logic reference. Tied to the 5 V rail.
ResetActive-low ATmega1280 reset, shared with the switch and main ICSP pin 5.
PowerRegulated 3.3 V output from the 5 V rail in the published schematic. DFRobot specifies 50 mA.
PowerRegulated 5 V rail supplied by USB or the VIN converter.
GNDCommon board ground.
GNDCommon board ground.
PowerDirect input to the onboard converter, on the board side of the barrel jack protection diode.
AnalogGPIO10-bit ADC channel 0 on the ATmega1280. Also digital pin D54.
AnalogGPIO10-bit ADC channel 1 on the ATmega1280. Also digital pin D55.
AnalogGPIO10-bit ADC channel 2 on the ATmega1280. Also digital pin D56.
AnalogGPIO10-bit ADC channel 3 on the ATmega1280. Also digital pin D57.
AnalogGPIO10-bit ADC channel 4 on the ATmega1280. Also digital pin D58.
AnalogGPIO10-bit ADC channel 5 on the ATmega1280. Also digital pin D59.
AnalogGPIO10-bit ADC channel 6 on the ATmega1280. Also digital pin D60.
AnalogGPIO10-bit ADC channel 7 on the ATmega1280. Also digital pin D61.
AnalogGPIO10-bit ADC channel 8 on the ATmega1280. Also digital pin D62.
AnalogGPIO10-bit ADC channel 9 on the ATmega1280. Also digital pin D63.
AnalogGPIO10-bit ADC channel 10 on the ATmega1280. Also digital pin D64.
AnalogGPIO10-bit ADC channel 11 on the ATmega1280. Also digital pin D65.
AnalogGPIO10-bit ADC channel 12 on the ATmega1280. Also digital pin D66.
AnalogGPIO10-bit ADC channel 13 on the ATmega1280. Also digital pin D67.
AnalogGPIO10-bit ADC channel 14 on the ATmega1280. Also digital pin D68.
AnalogGPIO10-bit ADC channel 15 on the ATmega1280. Also digital pin D69.
PowerOne of the two 5V sockets at this end of the expansion header.
PowerOne of the two 5V sockets at this end of the expansion header.
GPIO5 V digital I/O on ATmega1280 port PA0.
GPIO5 V digital I/O on ATmega1280 port PA1.
GPIO5 V digital I/O on ATmega1280 port PA2.
GPIO5 V digital I/O on ATmega1280 port PA3.
GPIO5 V digital I/O on ATmega1280 port PA4.
GPIO5 V digital I/O on ATmega1280 port PA5.
GPIO5 V digital I/O on ATmega1280 port PA6.
GPIO5 V digital I/O on ATmega1280 port PA7.
GPIO5 V digital I/O on ATmega1280 port PC7.
GPIO5 V digital I/O on ATmega1280 port PC6.
GPIO5 V digital I/O on ATmega1280 port PC5.
GPIO5 V digital I/O on ATmega1280 port PC4.
GPIO5 V digital I/O on ATmega1280 port PC3.
GPIO5 V digital I/O on ATmega1280 port PC2.
GPIO5 V digital I/O on ATmega1280 port PC1.
GPIO5 V digital I/O on ATmega1280 port PC0.
GPIO5 V digital I/O on ATmega1280 port PD7.
GPIO5 V digital I/O on ATmega1280 port PG2.
GPIO5 V digital I/O on ATmega1280 port PG1.
GPIO5 V digital I/O on ATmega1280 port PG0.
GPIO5 V digital I/O on ATmega1280 port PL7.
GPIO5 V digital I/O on ATmega1280 port PL6.
GPIOPWM5 V digital I/O on ATmega1280 port PL5.
GPIOPWM5 V digital I/O on ATmega1280 port PL4.
GPIOPWM5 V digital I/O on ATmega1280 port PL3.
GPIO5 V digital I/O on ATmega1280 port PL2.
GPIO5 V digital I/O on ATmega1280 port PL1.
GPIO5 V digital I/O on ATmega1280 port PL0.
GPIOSPIHardware SPI MISO.
GPIOSPIHardware SPI MOSI.
GPIOSPIHardware SPI SCK.
GPIOSPIHardware SPI SS.
GNDOne of the two GND sockets at this end of the expansion header.
GNDOne of the two GND sockets at this end of the expansion header.

Specifications

Hardware revision
MEGA1280[R3] V3.3 on the photographed PCB. The public DFRobot schematic is V3.2.
Main MCU
ATmega1280 at 16 MHz, with 128 KB flash, 8 KB SRAM and 4 KB EEPROM.
Power
5 V logic and IOREF. Use USB-B or the center-positive DC jack. DFRobot's wiki recommends 7–12 V for external power. The red header exposes 5 V, 3.3 V (50 mA) and VIN.
ADC and PWM
16 analog inputs at 10 bits. A0–A15 also map to D54–D69. The DFRobot AVR core enables PWM on D2–D13 and D44–D46.
Serial interfaces
UART0 shares D0/D1 with the USB bridge. Other UARTs use D14–D19. D20/SDA and D21/SCL repeat beside AREF. Main SPI uses D50–D53.
Programming
The ICSP near the main chip programs the ATmega1280. The ICSP beside the reset switch programs the USB AVR.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
DFR0003Product wikiDFRobotSKU, operating voltage and published limits.Datasheet
DFR0003 V3.2Board schematicDFRobotElectrical drawing dated 2019-10-09. The photographed PCB is marked V3.3.Datasheet
ATmega1280Main MCU datasheetMicrochipTQFP pinout, alternate functions and electrical limits.Datasheet
ATmega16U2USB AVR datasheetMicrochipUSB bridge identified in the published DFR0003 schematic.Datasheet
DFRobot AVR BoardsBoard coreDFRobotMega / ATmega1280 pin numbering and PWM mapping.Datasheet