Site Guide

Find your way around the Engineering Club.

Know what you need? Search for a component, concept or project.

Around the site

Start

Labs

TestingExperimental

Build

Club

LearnExperimental

Go a little deeper

Entry points to larger collections. Use Search for individual records.

Learning paths & reference

Inside PiCrawlerExperimental

Inside Inventory

← Club inventory
ELEGOO Mega 2560 R3 board

Microcontrollers

ELEGOO Mega 2560 R3 board

ELEGOO Mega 2560 R3 is a 5 V ATmega2560 AVR board with many I/O pins and four hardware UARTs for control systems with several peripherals.

Owned by clubQuantity: 3

USB serial/programming · 5 V GPIO · ADC; PWM · 4 UARTs; SPI; I²C

What it does

Runs Arduino-style sketches while exposing substantially more digital lines and analog inputs than the Uno architecture. Multiple independent serial ports are especially useful when a display, wireless module and diagnostic computer all need serial communication. The larger program space helps combine libraries, but it remains an 8-bit embedded controller with kilobytes of working RAM, not a small Linux computer.

Useful specifications

Architecture/clock
ATmega2560, 8-bit AVR, 16 MHz
Flash/SRAM/EEPROM
256 KB / 8 KB / 4 KB
Digital/PWM
54 digital; 15 PWM
ADC
16 inputs, 10-bit
Logic
5 V
UARTs
4 hardware UARTs
Other buses
SPI and I²C
How it works

Its AVR processor executes firmware from flash; SRAM holds active data and EEPROM retains small settings after power loss. Peripheral registers control ports, timers, ADC and serial engines independently of the main instruction loop. PWM timers repeatedly switch output pins; the ADC reports voltage ratios to a reference. The USB bridge and bootloader load new sketches over the first UART; other UARTs remain available for external devices.

Recognize the part

Long ELEGOO-branded Mega PCB with USB-B and barrel connector, ATmega2560 marking, extended side headers and a large double-row digital header at the end. Read printed Mega labels; its SPI hardware placement is not the same numeric pins as an Uno.

Also called: ELEGOO Mega, Mega 2560-compatible, ELEGOO Mega 2560-compatible board, mega 2560 controller board

How to use it

Select Mega 2560/ATmega2560 in the Arduino ecosystem, use a data USB cable and confirm the serial port. Begin with blink and serial output before adding peripherals. Follow the Mega pinout for SPI, I²C and extra UARTs, and route RX/TX across to each peer. Share grounds while supplying motors/servos through suitable external drivers/power. Use 5 V-compatible inputs or level shifting. A large number of pins does not mean unlimited aggregate current. Account for timer allocation when combining Servo, tone and PWM libraries, and check SRAM usage after adding buffers.

Know before using

Limits

  • More pins and flash do not change the modest 16 MHz 8-bit processing architecture.
  • 8 KB SRAM still limits framebuffers and large data structures.
  • No integrated wireless or native DAC.
  • Clone USB bridge/regulator parts may differ from Arduino reference schematics.

Common mistakes

  • Selecting an Uno target or Uno SPI pin numbers.
  • Using the sum of per-pin maxima as a permissible total load.
  • Assuming the USB port can power all connected motors.

Care and safety

  • Level-shift connections to 3.3 V-only inputs.

What can I build?

beginner

One-digit segment decoding lab

Core electronics available

Display digits on a bare seven-segment package with independently limited segment paths.

Related owned hardware

Read the conditions before connecting parts. A relationship can involve a driver, controller or a redesigned circuit.

user input

4×4 membrane keypad

  • Mega has enough digital pins to scan eight row/column lines without consuming a serial bus.
  • The keypad adds numeric entry for a Mega instrument or menu.

Connection conditions

  • Avoid output-to-output shorts during scanning; use debounce and understand multi-key ghosting.

actuator control

Small brushed DC motor

  • Mega PWM/direction signals can control a separate motor driver.

Connection conditions

  • Never connect the winding to GPIO; motor current is supplied through the driver.
  • Use a supply matched to the actual load voltage and startup/stall current, with common signal ground. GPIO and breadboard signal wiring are not high-current power paths.

actuator control

Fan blade and small motor

  • Mega PWM/direction signals can control a separate motor driver.

Connection conditions

  • Never connect the winding to GPIO; motor current is supplied through the driver.
  • Use a supply matched to the actual load voltage and startup/stall current, with common signal ground. GPIO and breadboard signal wiring are not high-current power paths.

serial led display

Four-module MAX7219 LED matrix

  • Mega can stream four cascaded driver words for a compact scrolling message.
  • Four-module MAX7219 LED matrix supplies the output surface for a ELEGOO Mega 2560 R3 board application.

Connection conditions

  • Verify chain direction/orientation and supply budget; each chip has its own current-setting network.

multiplexed display

Bare 8×8 LED matrix

  • Mega can generate display patterns and scanning timing with sufficient I/O.
  • Mega can coordinate row/column state and latch timing for a bare-matrix scan lesson with a separate driver stage.

Connection conditions

  • Use current limiting, a total current budget and proper row/digit drivers; dedicate timing resources.
  • External row drive and per-path current limits are required.
  • Choose scan blanking and duty/current limits; added host pins do not create load-current capacity.

multiplexed display

Single-digit seven-segment LED display

  • Mega can generate display patterns and scanning timing with sufficient I/O.

Connection conditions

  • Use current limiting, a total current budget and proper row/digit drivers; dedicate timing resources.

multiplexed display

Four-digit seven-segment LED display

  • Mega can generate display patterns and scanning timing with sufficient I/O.
  • Mega offers enough physical I/O to study segment patterns and digit multiplexing with external current-qualified digit drivers.

Connection conditions

  • Use current limiting, a total current budget and proper row/digit drivers; dedicate timing resources.
  • Identify common-anode/cathode and pin mapping.
  • Per-segment limits and a topology-matched digit driver are required; do not source an entire digit through GPIO.

multiplexed display

LED bar graph

  • Mega can generate display patterns and scanning timing with sufficient I/O.

Connection conditions

  • Use current limiting, a total current budget and proper row/digit drivers; dedicate timing resources.

programming cable

10-foot USB-A to USB-B cable

  • This connector form supplies a host USB programming/serial path when the cable carries data.
  • The controller uses this connector form for USB programming/power.

Connection conditions

  • Verify actual connector and data capability; long cables can increase voltage drop.

prototyping

830-point solderless breadboard

  • Build accessible low-current peripheral wiring before committing to soldered construction.

Connection conditions

  • Separate voltage domains and identify ground/power strips.

debugging

AstroAI digital multimeter

  • Measure supply/input voltage to distinguish wiring faults from software faults.

Connection conditions

  • Use safe voltage/continuity modes; GPIO current limits still apply.

kit learning anchor

ELEGOO Mega 2560 R3 Most Complete Starter Kit (EL-KIT-008)

  • The frozen kit contribution establishes this lesson component. Allocate many GPIO, ADC and UART resources while retaining the AVR memory/timing limits.

Connection conditions

  • Current web BOMs do not override the frozen source holding; check voltage/driver needs per component.

conditional display control

8x8 LED matrix module

  • Once the carrier is identified, Mega can run its actual multiplexing or serial protocol.

Connection conditions

  • Driver, interface, supply and pinout remain unverified.

analog control input

Joystick module

  • Mega can dedicate two of its analog inputs to joystick axes while retaining pins for displays and control signals.
  • The joystick gives a many-peripheral Mega instrument an intuitive two-axis command input.

Connection conditions

  • Verify axis supplies, center offsets and switch polarity.
  • A joystick is an input; a separate driver and power arrangement are still needed for any commanded motor.

When would I use each?

Microcontrollers

Architecture choice for a host role; MCU and Linux SBC execution, power and analog/timing requirements differ.

Begin with required software/timing and signal voltage. Choose Uno for a small 5 V sketch, Mega for pin/UART count, ESP32 for embedded networking, and Pico for PIO-style timing. Pico 2 W adds networking to a newer MCU. Pi 4/5 are Linux computers; use an external ADC or MCU helper for analog inputs and deterministic timing. More CPU speed does not remove driver, power or voltage requirements.

Owned substitutions

Arduino Uno R3

partial redesign

The owned alternative can perform the same broad host role when its capacity and required peripheral support are sufficient.

Required changes

  • Select the exact board target/OS and matching libraries.
  • Recheck physical pin mapping, power and timer/bus allocation.
  • Do not transfer compiled firmware blindly.
  • A smaller/no-radio alternative cannot preserve unavailable memory, pins, performance or wireless features.

ELEGOO ESP-WROOM-32 development board

partial redesign

This owned MCU can replace the application controller after a complete pin/voltage/library review.

Required changes

  • Port the program to the selected architecture and peripheral APIs.
  • Add/remove signal translation as the 5 V or 3.3 V domain changes.
  • ADC behavior, timer channels, native USB and radio support differ.
  • A peripheral count or wireless requirement may rule out this substitution.

If you outgrow it

Researched external products, separate from club inventory. Price and availability are not promised.

Arduino

UNO R4 WiFi

Not owned by club

The Uno R3 has limited SRAM and no integrated radio; the Mega is useful for pin count but also lacks integrated networking.

What improves

  • Adds integrated Wi-Fi/Bluetooth connectivity and substantially more working memory than the AVR Uno R3.
  • RA4M1 Cortex-M4 runs at 48 MHz with 32 kB SRAM and 256 kB flash; 5 V GPIO, DAC and native USB HID enable different instrument tasks.

The Uno R3 has limited SRAM and no integrated radio; the Mega is useful for pin count but also lacks integrated networking. Choose this path only when the stated improvement is a requirement.

Tradeoffs

  • AVR-specific register code and libraries require porting.
  • Uno-format pin count does not replace Mega’s many I/O; radio integration has its own software and power constraints.

Additional hardware

  • Data-capable USB-C cable; verified shield/library and signal compatibility
Migration steps
  • Review the exact product documentation and chosen carrier before purchase.
  • Rework connections, firmware/library configuration, power and mechanics as required by this path.
  • Validate the new subsystem against the project measurement or timing requirement.

Official product / documentation ↗

STMicroelectronics

NUCLEO-G474RE

Not owned by club

The project needs STM32-specific analog/control peripherals rather than simply more GPIO or an existing radio.

What improves

  • Adds an STM32G474RE platform for advanced timer and analog-control work.
  • Cortex-M4 operation up to 170 MHz provides a different control/peripheral architecture.

The project needs STM32-specific analog/control peripherals rather than simply more GPIO or an existing radio. Choose this path only when the stated improvement is a requirement.

Tradeoffs

  • Requires an STM32 toolchain and peripheral/library port.
  • No integrated Wi-Fi; clock rate alone does not improve a complete design or replace Pico PIO.

Additional hardware

  • Board-compatible USB cable/headers and circuit adaptation; external radio if networking is required
Migration steps
  • Review the exact product documentation and chosen carrier before purchase.
  • Rework connections, firmware/library configuration, power and mechanics as required by this path.
  • Validate the new subsystem against the project measurement or timing requirement.

Official product / documentation ↗

Documentation

Keep learning

Learn the principle

Wishlist / acquisition context

ELEGOO Mega 2560 board two-pack: 2 individual units · received

View wishlist →
Inventory record and image evidence

Quantity: 3 · quantity confidence: high

Known countable purchase/BOM contributions. Each source line is a total; do not multiply by container count or add photo observations.

Ownership: source-backed club holding. Identity confidence: confirmed.

Exact product explicitly confirmed owned by user; quantity comes from a separate holding, not this image.

ATmega2560 platform guidance uses official Arduino reference documentation. ELEGOO carrier-specific USB/regulator details are not inferred.

Source holdings

Parent kits

Image confidence: 98% · confirmed. Supplied exact-owned product reference; visible model/form checked. Image is not a physical receipt or count.

Image source: Confirmed exact products (exact product). Images describe identity and form; they do not establish quantity.