Skip to content

All items ship from our office in Colorado USA - $4.95 Flat-Rate US shipping & free shipping on orders over $75!

MEGA2560 PRO MINI ATmega2560-16AU CH340G Development Board Users Guide

MEGA2560 PRO MINI ATmega2560-16AU CH340G Development Board

The MEGA2560 Pro Mini is a compact, low-cost, Arduino Mega 2560-compatible development board built around the ATmega2560-16AU microcontroller. It delivers the same processing power and I/O capabilities as the full-size Arduino Mega 2560, but in a dramatically smaller form factor of just 54mm × 38mm (2.1″ × 1.5″) — making it ideal for embedded projects, prototyping, and space-constrained applications.

This board uses the CH340G USB-to-UART interface and connects via a Micro-USB cable.


1. Install Software (Required Before Connecting)

✅ Install Arduino IDE

Download and install the Arduino IDE:

https://www.arduino.cc/en/software

✅ Windows Only: Install CH340 Driver (Critical Step)

This board uses a CH340 USB interface, which requires a driver on many Windows systems.

Before plugging in your board:

  1. Install the CH340 driver - See Appendix A below for detailed driver installation instructions
  2. Restart your computer
  3. Then connect the board

⚠️ If you skip this step, your board will not appear in the Arduino IDE.


2. Connect the Board

Plug the included Micro-USB cable into your board and computer.

✅ The power LED should turn ON

🔌 If Your Board Is Not Detected

The most common issue is using the wrong USB cable.

  •  Charge-only cables will power the board but will NOT allow communication
  •  Data cables will both power the board AND allow programming

How to tell the difference: A data-capable USB cable will cause your computer to make a "device connected" sound or show a new COM port in Device Manager (Windows) or /dev/tty entry (Mac/Linux).

Try a different cable — this solves the problem in most cases.


3. Configure the Arduino IDE

Select the Correct Board

  1. Open the Arduino IDE
  2. Go to Tools → Board
  3. Select "Arduino Mega or Mega 2560"

Select the Correct Processor

  1. Go to Tools → Processor
  2. Select "ATmega2560 (Mega 2560)"

Select the Correct Port

  1. Go to Tools → Port
  2. Select the COM port that appeared when you plugged in the board
    • Windows: Look for COM3, COM4, etc.
    • Mac: Look for /dev/cu.usbserial-xxxx or /dev/cu.wchusbserial-xxxx
    • Linux: Look for /dev/ttyUSB0 or similar

💡 Tip: If you're unsure which port is correct, unplug the board, check the list, plug it back in, and see which new port appears.


4. Upload Your First Sketch (Blink Test)

This verifies that your board, cable, driver, and IDE settings are all working correctly.

  1. Go to File → Examples → 01.Basics → Blink
  2. Click the Upload button (→ arrow icon)
  3. Wait for the message: "Done uploading."

✅ The onboard LED (connected to pin 13) should now blink on and off every second.

If the upload fails, double-check:

  • The correct Board is selected ("Arduino Mega or Mega 2560")
  • The correct Processor is selected ("ATmega2560 (Mega 2560)")
  • The correct Port is selected
  • You are using a data-capable USB cable
  • The CH340 driver is installed (Windows)

5. Board Specifications

Specification Details
Microcontroller
ATmega2560-16AU
USB Interface Chip
CH340G
Compatible With
Arduino Mega 2560
Operating Voltage
5V (logic level)
Input Voltage (USB)
5V via Micro-USB
Input Voltage (VIN)
7–9V DC (6–12V peak)
Digital I/O Pins
54
PWM Output Pins
15
Analog Input Pins
16
Hardware Serial Ports (UARTs)
4
SPI
Yes (pins 50–53)
I²C / TWI
Yes (SDA pin 20, SCL pin 21)
Flash Memory
256 KB (8 KB used by bootloader)
SRAM
8 KB
EEPROM
4 KB
Clock Speed
16 MHz
Output Current per I/O Pin
20 mA (40 mA max)
Total Output Current
800 mA
USB Connector
Micro-USB
Board Dimensions
54mm × 38mm (2.1″ × 1.5″)

6. Power Supply Options

The MEGA2560 Pro Mini can be powered in two ways:

Method Voltage Notes
Micro-USB
5V
From computer or USB power adapter
VIN + GND Pins
7–9V DC
External power supply; onboard LDO voltage regulator (up to 12V peak)

⚠️ Do not exceed 12V on the VIN pin — this may damage the onboard voltage regulator.

💡 Tip: When powered via VIN, the board's onboard 5V regulator provides a stable 5V output to the I/O pins and the 5V pin header.


7. Pinout Overview

The MEGA2560 Pro Mini breaks out all 54 digital I/O pins, 16 analog inputs, and power/communication pins in a compact dual-row header layout.

Key Pin Groups

Pin Group Pins Notes
Digital I/O
D0–D53
54 total; D0/D1 shared with Serial0 (USB)
PWM Outputs
D2–D13, D44–D46
15 pins capable of analogWrite()
Analog Inputs
A0–A15
16 pins; 10-bit ADC (0–1023)
Serial0 (USB)
D0 (RX), D1 (TX)
Connected to CH340G / USB
Serial1
D19 (RX1), D18 (TX1)
Hardware UART
Serial2
D17 (RX2), D16 (TX2)
Hardware UART
Serial3
D15 (RX3), D14 (TX3)
Hardware UART
I²C / TWI
D20 (SDA), D21 (SCL)
For I²C devices
SPI
D50 (MISO), D51 (MOSI), D52 (SCK), D53 (SS)
For SPI devices
Built-in LED
D13
Onboard LED
Power Pins
5V, 3.3V, GND, VIN, RST
Power and reset

💡 Tip: The pin layout on the MEGA2560 Pro Mini is different from the full-size Arduino Mega 2560. Refer to the silkscreen labels printed on the board for accurate pin identification.

MEGA2560 Pro Mini Pinout and Dimensional Drawings

MEGA2560 PRO MINI ATmega2560-16AU CH340G Development Board Pinout
MEGA2560 Pro Mini Pinout Drawing
MEGA2560 PRO MINI ATmega2560-16AU CH340G Development Board for Arduino Dimensional Drawing- Envistia Mall
MEGA2560 Pro Mini Dimensional Drawing

8. Comparison: MEGA2560 Pro Mini vs. Arduino Mega 2560 vs. Arduino Uno R3

Feature MEGA2560 Pro Mini Arduino Mega 2560 Arduino Uno R3
Microcontroller
ATmega2560-16AU
ATmega2560
ATmega328P
Digital I/O
54
54
14
PWM Pins
15
15
6
Analog Inputs
16
16
6
UARTs
4
4
1
Flash Memory
256 KB
256 KB
32 KB
SRAM
8 KB
8 KB
2 KB
EEPROM
4 KB
4 KB
1 KB
Clock Speed
16 MHz
16 MHz
16 MHz
USB Connector
Micro-USB
USB-B
USB-B
USB Chip
CH340G
ATmega16U2
CH340
Board Size
54 × 38 mm
101 × 53 mm
69 × 53 mm
Form Factor
Compact / Breadboard-friendly
Full-size
Standard

9. Troubleshooting

❌ Board not detected / No COM port appears

  1. Install the CH340 driver (see Step 1 and Appendix A)
  2. Try a different USB cable — charge-only cables will not work
  3. Try a different USB port on your computer
  4. Restart your computer after installing the driver
  5. Check Device Manager (Windows) for "USB-SERIAL CH340" under Ports

❌ Upload fails with error

  • Verify Board is set to "Arduino Mega or Mega 2560"
  • Verify Processor is set to "ATmega2560 (Mega 2560)"
  • Verify the correct Port is selected
  • Close any other programs that may be using the serial port (e.g., Serial Monitor in another IDE window)

❌ Board powers on but LED doesn't blink after upload

  • Confirm the upload completed with "Done uploading." message
  • The onboard LED is connected to pin 13 — ensure your sketch uses LED_BUILTIN or pin 13

❌ Erratic behavior or resets

  • Check your power supply — insufficient current can cause instability
  • If using VIN, ensure voltage is within 7–9V DC
  • Avoid drawing more than 20 mA per I/O pin or 800 mA total

10. Useful Links & Resources


11. Where to Buy the MEGA2560 Pro Mini

Buy the MEGA2560 Pro Mini Microcontroller →


📄 Appendix A: How to install the CH340G driver on your computer

The CH340 USB IC is made by WCH. You can find the latest version of their drivers in their English translated website here:

http://www.wch-ic.com/downloads/CH341SER_ZIP.html

Click on the “download” button on the WCH page to download the ch341ser.zip file to your computer.

Unzip (extract) the ch341ser.zip file.

Run the Setup application in the CH341SER folder of the unzipped file. See the screenshot below:

CH340 Windows Driver Installation Image 1

Click the “Uninstall” button first to remove any old versions, then click on the “Install” button.

CH340G Driver Verification for Windows

To verify that your CH340G driver is working, you should see a difference in the Windows Device Manager and Arduino IDE Ports after plugging the Arduino board with a CH340 into a USB port on your computer.

Device Manager

To check that the CH340 associates to a COM port, open the Windows Device Manager. You can click the Start or ⊞ (Windows) button and type “device manager” to search for the application.

After opening the Device Manager, you will need to open the Ports (COM & LPT) tree. The CH340 should show up as USB-SERIAL CH340 (COM##). Depending on your computer, the COM port may show up as a different number.

CH340 Windows Driver Installation Image 2

Arduino IDE

If you have the Arduino IDE installed, you should also see a change in the number of available COM Ports (you may need to restart the Arduino IDE for the board to populate). Without the CH340 connected to your computer, in the IDE click on Tools > Port. Take note of the Serial Ports available:

CH340 Windows Driver Installation Image 3

Connect the Arduino board with the CH340 to your computer’s USB port. Click somewhere else on the screen for the menu to refresh itself. Then go back to Tools > Port. A new COM port should appear. By process of elimination, the CH340 should have associated to the new COM port. Select this COM port in order to connect the IDE to your Arduino board.

In the example shown in these two screen shots, the new Arduino CH340 board is associated to COM Port 3.

CH340 Windows Driver Installation Image 3A

 


This guide is provided by Envistia Mall for educational and technical reference purposes. The manufacturer and Envistia LLC (dba Envistia Mall) are not responsible for any damages or losses resulting from the use of this product. Always follow proper electrical safety practices when working with electronic components. Specifications are based on manufacturer data and are subject to change without notice.

Share this guide:
in

🛒 Related Products

Find the components mentioned in this guide in our store.

Browse Products →