Skip to Content

Mega 2560 Pro Mini, ATmega2560-16AU (5V, no Pin Headers) RobotDYN

The RobotDyn Mega Pro Mini is a compact Arduino Mega 2560-compatible development board based on the ATmega2560 8-bit AVR microcontroller. Measuring approximately 38 x 52 mm, it provides the processing capabilities and I/O resources of a standard Arduino Mega 2560 in a smaller form factor, making it suitable for embedded projects and permanent installations on custom or solderable prototyping boards. The board operates at 5V with a 16 MHz clock and provides 54 digital I/O pins, 16 analog inputs, 15 PWM outputs, and four hardware UART interfaces. Unlike a standard Arduino Mega, it does not have an onboard USB connector or USB-to-serial converter. A compatible USB-to-TTL adapter is required for programming and serial communication with a computer.

Package Includes

  • 1 x RobotDyn Mega Pro Mini
92.40 AED 92.40 AED (Tax included)

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features

  • ATmega2560 Microcontroller: 8-bit AVR microcontroller operating at 16 MHz.
  • Compact Size: Approximately 38 x 52 mm for embedded applications and custom installations.
  • 54 Digital I/O Pins: Supports digital input and output connections for sensors, actuators, and other peripherals.
  • 16 Analog Inputs: Provides 16 analog input channels with 10-bit ADC resolution.
  • 15 PWM Outputs: Supports PWM signals on digital pins 2–13 and 44–46.
  • Four Hardware UART Ports: Allows serial communication with multiple external devices.
  • SPI and I2C Interfaces: Supports communication with compatible sensors, displays, storage modules, and peripherals.
  • External Programming: Requires a compatible USB-to-TTL serial converter for uploading sketches through the bootloader.
  • ICSP Header: Provides connections for in-circuit programming.
  • Power Regulation: Includes onboard voltage regulation for the specified external input supply.

Principle of Operation

The ATmega2560 microcontroller executes the program uploaded to the board and manages its input/output connections. It reads digital signals and analog measurements from connected sensors, processes the information, and controls outputs such as LEDs, relays, motors, and displays.

Programs are developed using the Arduino IDE. Since this board does not include a USB interface, a USB-to-TTL converter is connected to the serial RX0 and TX0 pins. The onboard bootloader communicates through this serial connection to receive and upload sketches.

The ATmega2560 also includes hardware peripherals for UART, SPI, I2C, timers, PWM generation, and analog-to-digital conversion. These features allow the board to control multiple devices and communicate with external modules without requiring additional communication controllers.

Pinout

RobotDyn Mega Pro Mini pinout diagram

  • Digital I/O Pins (D0–D53): Configurable as digital inputs or outputs using pinMode(), digitalRead(), and digitalWrite().
  • Analog Inputs (A0–A15): Sixteen analog input channels connected to the 10-bit ADC. These pins can also be used as digital I/O.
  • PWM Outputs: Fifteen PWM-capable pins: D2–D13 and D44–D46. PWM signals are generated using analogWrite().
  • UART / Serial Pins:
    • Serial0: RX0 (D0), TX0 (D1)
    • Serial1: RX1 (D19), TX1 (D18)
    • Serial2: RX2 (D17), TX2 (D16)
    • Serial3: RX3 (D15), TX3 (D14)
  • I2C Pins: SDA (D20) and SCL (D21), used for communication with I2C-compatible devices.
  • SPI Pins: MISO (D50), MOSI (D51), SCK (D52), and SS (D53). These signals are also available through the ICSP header.
  • Hardware Interrupt Pins: D2, D3, D18, D19, D20, and D21 support external hardware interrupts.
  • AREF: External analog reference input, used with analogReference() when required.
  • GND: Ground connections for the board and external circuits.
  • 5V: Regulated 5V supply connection.
  • 3.3V: Regulated 3.3V output. The ATmega2560 board specification lists a maximum current of 50mA, subject to the onboard regulator's capability.
  • VIN: External input voltage connection for powering the board through its onboard regulator.
  • RESET: Resets the microcontroller and restarts the running sketch when activated.
  • ICSP Header: Provides MOSI, MISO, SCK, RESET, VCC, and GND connections for in-circuit programming.
  • Built-in LED: Connected to digital pin 13 and can be controlled through a sketch.

USB-to-TTL Programming Connection

RobotDyn Mega Pro Mini USB-to-TTL programming connection

The RobotDyn Mega Pro Mini does not have a USB connector. A compatible USB-to-TTL converter is required to connect the board to a computer for programming and serial communication.

  • Converter TX: Connect to the board's RX0 pin (D0).
  • Converter RX: Connect to the board's TX0 pin (D1).
  • Converter GND: Connect to board GND.
  • Converter 5V: Can power the board if the converter provides a suitable regulated 5V supply with sufficient current. Do not connect this pin when the board is already powered by another 5V source.
  • Reset: Manual reset may be required when uploading if the converter does not support automatic reset.

Use a converter with compatible 5V logic levels. Check its pin labels and voltage specifications before connecting it to the board.

Wiring and Power Supply

  • External Power: Apply the specified 7–9V DC input through VIN or the designated external power input, observing the correct polarity.
  • USB-to-TTL Power: The converter's 5V output can be used as a power source if it can supply sufficient current. Avoid connecting independent 5V supplies simultaneously.
  • Digital Modules: Connect digital signals to the available digital I/O pins and configure them using pinMode().
  • Analog Sensors: Connect analog outputs to A0–A15. Keep input signals within the board's permitted voltage range.
  • I2C Modules: Connect SDA to D20 and SCL to D21, with a common GND connection.
  • SPI Modules: Connect MISO, MOSI, and SCK to D50, D51, and D52. Use a suitable chip-select pin for each SPI device.

Important: The board uses 5V logic. Check the electrical requirements of connected modules before wiring. The 20mA per I/O pin figure is the recommended operating current, not a power supply rating for motors, relays, or other high-current loads. Use suitable driver circuits and external power supplies for such devices.

Applications

  • Weighing Machines: Interface with load-cell amplifiers and displays for measurement systems.
  • Traffic Light Controllers: Control signal lights, countdown displays, and pedestrian indicators.
  • Parking Systems: Monitor vehicle entry and exit using sensors and counters.
  • Embedded Systems: Develop compact controllers and data acquisition devices.
  • Home Automation: Control lighting, appliances, sensors, and security modules.
  • Industrial Automation: Build small-scale monitoring and control systems.
  • Measurement Instruments: Interface with analog sensors, displays, and communication modules.
  • Railway Emergency Lighting: Control lighting indicators and monitoring functions in suitable low-voltage systems.

Library

The RobotDyn Mega Pro Mini is compatible with the Arduino Mega 2560 software environment and the standard Arduino AVR core. Additional libraries depend on the sensors and modules connected to the board.

  • Wire: I2C communication.
  • SPI: SPI communication.
  • Servo: Control compatible servo motors.
  • EEPROM: Access the ATmega2560 internal EEPROM.

Code

This example blinks the built-in LED connected to digital pin 13. Upload it using a compatible USB-to-TTL converter.

const int LED_PIN = 13;

void setup() {
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_PIN, HIGH);
  delay(1000);

  digitalWrite(LED_PIN, LOW);
  delay(1000);
}

Connecting with Arduino IDE for the First Time

  1. Install Arduino IDE: Download and install the Arduino IDE from the official Arduino software page.
  2. Connect the USB-to-TTL Converter: Connect the converter's TX, RX, and GND pins to the board's RX0, TX0, and GND pins respectively. Connect power only if required and compatible.
  3. Select the Board: In Arduino IDE, open Tools > Board and select Arduino Mega or Mega 2560 from the Arduino AVR Boards package.
  4. Select the Processor: Select ATmega2560 if the processor selection is available.
  5. Select the Port: Open Tools > Port and select the serial port assigned to the USB-to-TTL converter. The port may appear as a COM port on Windows or a serial device on macOS and Linux.
  6. Upload a Sketch: Open or write a sketch, select Verify to compile it, and then click Upload. If automatic reset is not supported, press the board's RESET button when the IDE begins uploading.

Note: The computer detects the USB-to-TTL converter, not the Mega Pro Mini itself. Therefore, the serial port name may show the converter's chipset rather than the board name.

Specifications

  • Board: RobotDyn Mega Pro Mini
  • Microcontroller: ATmega2560
  • Architecture: 8-bit AVR
  • Operating Voltage: 5V
  • Recommended Input Voltage: 7–9V DC
  • Digital I/O Pins: 54
  • PWM Outputs: 15
  • Analog Inputs: 16
  • ADC Resolution: 10-bit
  • Flash Memory: 256 KB (8 KB used by the bootloader)
  • SRAM: 8 KB
  • EEPROM: 4 KB
  • Clock Speed: 16 MHz
  • Hardware UART Ports: 4
  • Communication Interfaces: UART, SPI, and I2C
  • USB Interface: No onboard USB connector; external USB-to-TTL converter required for serial programming
  • Recommended I/O Pin Current: 20mA per pin
  • 3.3V Output: Maximum 50mA, subject to onboard regulator capability
  • Dimensions: Approximately 38 x 52 mm

Arduino Mega Pro Mini and Arduino Uno Comparison

The Mega Pro Mini provides more I/O connections and memory than the Arduino Uno R3, making it suitable for projects involving multiple sensors and peripherals. Its compact form factor is useful for embedded installations, but it requires an external USB-to-TTL converter for programming. The Uno R3 includes an onboard USB interface, making it more convenient for beginners.

Feature RobotDyn Mega Pro Mini Arduino Uno R3
Microcontroller ATmega2560 ATmega328P
Operating Voltage 5V 5V
Clock Speed 16 MHz 16 MHz
Digital I/O Pins 54 14
Analog Inputs 16 6
PWM Outputs 15 6
Hardware UART Ports 4 1
Flash Memory 256 KB 32 KB
SRAM 8 KB 2 KB
EEPROM 4 KB 1 KB
USB Programming External USB-to-TTL converter required Onboard USB interface
Approximate Dimensions 38 x 52 mm 68.6 x 53.4 mm

 

Resources