Arduino Due R3

Contents

Arduino Due R3 Board User Manual

ATmega16U2 & SAM3X8E ARM, 32-bit 84MHz Microcontroller Board

1. Introduction

The Arduino Due R3 is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU. It is the first Arduino board based on a 32-bit ARM core microcontroller. With 54 digital input/output pins, 12 analog inputs, 2 DAC (Digital to Analog Converter) outputs, 2 TWI, a power jack, an SPI header, a JTAG header, a reset button, and an erase button, the Due is suitable for advanced projects in robotics, 3D printing, and other complex applications requiring high processing power.

Arduino Due R3 Board with USB Cable
Figure 1: Arduino Due R3 Board with included USB Cable.

2. Setup Guide

Follow these steps to get your Arduino Due R3 board ready for programming:

  1. Install Arduino IDE: Download and install the latest version of the Arduino IDE from the official Arduino website (arduino.cc/en/software).
  2. Connect the Board: Use the provided USB cable to connect your Arduino Due R3 board to your computer. The board has two USB ports:
    • Native USB Port: Connected directly to the SAM3X8E. This port can act as a USB host and allows for advanced USB functionalities.
    • Programming USB Port: Connected to the ATmega16U2, which acts as a USB-to-serial converter. This is the recommended port for uploading sketches.
    Arduino Due R3 Board showing USB ports and power jack
    Figure 2: Arduino Due R3 board with power jack and USB ports labeled.
  3. Install Board Support Package: In the Arduino IDE, go to Tools > Board > Boards Manager.... Search for "Arduino SAM Boards (32-bits ARM Cortex-M3)" and install it.
  4. Select Board and Port: Go to Tools > Board and select "Arduino Due (Programming Port)" or "Arduino Due (Native USB Port)" depending on which port you are using. Then, go to Tools > Port and select the serial port corresponding to your connected Due board.
  5. Power Supply: The Arduino Due can be powered via the USB connection or with an external power supply. If using an external supply, connect a 7V to 12V DC adapter to the power jack.

3. Operating Instructions

Once set up, you can begin programming and interacting with your Arduino Due R3 board:

  1. Writing Sketches: Open the Arduino IDE and write your program (sketch) in the editor. The Due uses C/C++ syntax.
  2. Uploading Sketches: Click the "Upload" button (right arrow icon) in the Arduino IDE. The IDE will compile your code and upload it to the Due board via the selected USB port.
  3. Digital I/O: Use pinMode(), digitalWrite(), and digitalRead() functions to control the 54 digital pins. Remember that the Due operates at 3.3V.
  4. Analog Input: The 12 analog input pins can read analog sensor values. Use analogRead(). The default resolution is 10-bit, but can be configured up to 12-bit.
  5. Analog Output (DAC): The two DAC pins (DAC0 and DAC1) can generate true analog output voltages. Use analogWrite() with these pins.
  6. Serial Communication: The Due has four hardware serial ports (UARTs). Use Serial, Serial1, Serial2, and Serial3 for communication. The Programming Port uses Serial, while the Native USB Port uses SerialUSB.
Top-down view of Arduino Due R3 board showing components and pin labels
Figure 3: Top-down view of the Arduino Due R3 board, highlighting key components and pin headers.

4. Maintenance

To ensure the longevity and proper functioning of your Arduino Due R3 board:

  • Handle with Care: Avoid dropping the board or subjecting it to physical stress.
  • Static Electricity: Microcontroller boards are sensitive to electrostatic discharge (ESD). Handle the board by its edges and avoid touching the components directly, especially in dry environments.
  • Keep Dry: Protect the board from moisture and liquids, which can cause short circuits and damage.
  • Cleanliness: Keep the board free from dust and debris. Use a soft, dry brush or compressed air for cleaning if necessary.
  • Software Updates: Regularly update your Arduino IDE and board support packages to benefit from the latest features and bug fixes.

5. Troubleshooting

If you encounter issues with your Arduino Due R3 board, consider the following:

  • Board Not Recognized:
    • Ensure the USB cable is securely connected to both the board and your computer.
    • Verify that the correct board type and serial port are selected in the Arduino IDE (Tools > Board and Tools > Port).
    • Reinstall the Arduino SAM Boards support package via the Boards Manager.
    • Try a different USB cable or USB port on your computer.
  • Upload Errors:
    • Check for syntax errors in your sketch.
    • Ensure the correct board and port are selected.
    • Press the 'Reset' button on the board before attempting to upload.
    • If using the Native USB port, ensure the board is in the correct bootloader mode.
  • Unexpected Behavior:
    • Double-check your wiring, especially power and ground connections.
    • Remember the Due operates at 3.3V. Connecting 5V components directly to I/O pins can damage the board. Use level shifters if interfacing with 5V logic.
    • Verify external power supply voltage is within the recommended range (7-12V).
  • Erase Button: If your board becomes unresponsive or you need to clear the flash memory completely, press and hold the 'Erase' button for a few seconds, then release. This will erase the sketch and bootloader. You will then need to re-upload a sketch via the Programming Port.

6. Specifications

FeatureSpecification
MicrocontrollerAT91SAM3X8E (ARM Cortex-M3)
Operating Voltage3.3V
Input Voltage (recommended)7-12V
Input Voltage (limit)6-20V
Digital I/O Pins54 (of which 12 provide PWM output)
Analog Input Pins12
Analog Output Pins (DAC)2
Total DC Output Current for all I/O lines130 mA
DC Current for 3.3V Pin800 mA
DC Current for 5V Pin800 mA
Flash Memory512 KB (all available for user applications)
SRAM96 KB (two banks: 64KB and 32KB)
Clock Speed84 MHz
USBNative USB, Programming USB (ATmega16U2)
Dimensions101.52 mm x 53.3 mm (approx.)
Weight0.05 kg

7. User Tips

  • 3.3V Logic: The Arduino Due operates at 3.3V. Unlike most other Arduino boards, the I/O pins are NOT 5V tolerant. Connecting 5V signals directly to the Due's I/O pins will permanently damage the board. Always use logic level shifters when interfacing with 5V components.
  • Power Consumption: The Due can draw more current than other Arduino boards. Ensure your power supply (USB or external) can provide sufficient current, especially when driving many peripherals.
  • Native vs. Programming Port: For most basic programming and serial communication, the 'Programming Port' is sufficient. The 'Native USB Port' offers advanced features like acting as a USB host or a HID device, but requires specific programming.
  • AnalogWrite Resolution: The analogWrite() function on the Due defaults to 8-bit resolution for PWM pins, but can be changed to up to 12-bit using analogWriteResolution(). For DAC pins, it's 8-bit by default, configurable up to 12-bit.
  • Reset vs. Erase: The 'Reset' button restarts the currently loaded sketch. The 'Erase' button wipes the entire flash memory, including the bootloader, requiring a re-upload of the bootloader or a new sketch via the Programming Port.

8. Warranty and Support

This Arduino Due R3 board is designed for hobbyists, educators, and professionals. For technical support, documentation, and community forums, please refer to the official Arduino website (www.arduino.cc). The official website provides extensive resources, tutorials, and a vibrant community to assist with your projects.

For specific warranty information, please consult the retailer or manufacturer from whom you purchased the product. General warranty terms typically cover manufacturing defects for a limited period.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.