Javatpoint Logo
Javatpoint Logo

Arduino Due

The Arduino Due is based on the 32- bit ARM core. It is the first Arduino board that is developed based on the ARM Microcontroller. It has two ports, which are named as Native USB port and Programming port.

It consists of 54 Digital Input/Output pins and 12 Analog pins. The Microcontroller present on the board is the Atmel SAM3X8E ARM Cortex-M3 CPU. The Arduino Due is also organized using the Arduino (IDE), which can run on various platforms. Here, IDE stands for Integrated Development Environment.

The Arduino Due board is shown below:

Arduino Due

Serial Ports: The Native USB port and the programming USB port are the two ports on the Arduino Due board.

Native USB port: The Native port is directly connected to the SAM3X MCU. It uses the serial USB object to support the CDC (Communication Device Class) serial communication.

Programming USB port: The programming port is connected to the high-performance 8-bit Microcontroller (ATMEL 16U2), which also acts as a USB to serial converter.

Reset Button: It is used to add a Reset button to the connection. To reset the Microcontroller, we need to press and hold the Reset button.

Power Jack: The adapter can be plugged-in into the power jack to connect it to the Arduino Due board.

Analog pins: The pins numbered as Ao, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, and A11 are the analog pins. The function of Analog pins is to read the analog sensor used in the connection. These pins can also act as GPIO (General Purpose Input Output) pins.

Digital I/O pins: There are 54 digital Input/Output pins. The digital pins have the value HIGH or LOW.

What is the difference between Arduino Due and Arduino UNO?

The difference between Arduino Due and Arduino UNO are listed below:

  • Arduino Due consists of 54 Digital Input/Output pins and 12 Analog pins, while Arduino UNO consists of 6 analog pin inputs and 14 digital pins.
  • Arduino Due is based on the ARM Microcontroller, while Arduino UNO is based on the ATmega328 Microcontroller.
  • Arduino Due uses system voltage of 3.3V, while Arduino UNO uses a system voltage of 5V.

What is the difference between Arduino Due and Arduino Mega?

The difference between Arduino Due and Arduino Mega are listed below:

  • Arduino Due has more memory and better processing power than Arduino Mega.
  • Arduino Due is based on the ARM Microcontroller, while Arduino Mega is based on the ATmega2560 Microcontroller.
  • The library and shields are more compatible with ATmega2560 Microcontroller compared to Arduino Due.
  • Arduino Due consists of 54 Digital Input/Output pins and 12 Analog pins, while Arduino Mega consists of 14 analog pin inputs and 54 digital pins.

Technical Specifications of Arduino Due

The technical specifications of Arduino Due are listed below:

  • The ARM Microcontroller is 32-bit.
  • The 12 pins from the set of digital pins are the PWM pins.
  • The operating voltage of Arduino Due is 3.3V.
  • It consists of two serial ports.
  • There are 4 UART (Universal Asynchronous Receiver Transmitter) serial modules.
  • The 12 pins from the set of pins are the analog pins labeled from A0 to A11.
  • The input voltage of Arduino Due varies from 7V to 12V.
  • It consists of the 512KB Flash Memory and 96KB SRAM.
  • The SRAM consists of two banks of memory, which are 32KB and 64KB.
  • The CPU Frequency of the clock is 84MHz.

To Get Started with Arduino Due

We can program the Arduino Due using the Arduino IDE. The Arduino IDE is the Integral Development program, which is common to all the boards.

We can also use Arduino Web Editor, which allows us to upload sketches and write the code from our web browser (Google Chrome recommended) to any Arduino Board. It is an online platform.

The steps to get started with Arduino Due are listed below:

  • Install the drivers of the board.

We do not need to install the drivers on the OSX. But we may get a dialog box to open the "Network Preferences" on our computer. Click on Network Preferences -> Click on Apply -> Quit the System Preferences.

Due will work but it displays "Not Configured."

But, for Windows XP and Windows 7, follow the below steps:

  1. Download the Arduino software -> Unzip the file -> connect the board to our computer using USB via Programming port only -> Driver Installation will be initiated.
  2. Click on Start -> Control Panel -> System and Security.
  3. Click on System -> Device Manager -> Ports (COM &LPT) -> Open port "Arduino Due Prog. Port."
  4. Right-click "Arduino Due Prog. Port" -> Update Driver Software -> Browse my computer for driver software.
  5. Navigate to the Arduino downloaded folder.
  6. In the main Arduino folder, select and locate the 'Drivers.'
  7. To proceed, click on OK -> Next.
  8. Click on the button 'Continue Anyway.'
  9. Installation finished. We can now see our port in the Device Manager.

Linux : For Linux, we are not required any driver installation.

  • Select the type of board and port.

We should use the Programming port that is adjacent to the power jack for uploading the sketches.

We are required to follow some steps to upload our sketch through the Programming port, which are listed below:

  1. Plug-in the USB cable to the Programming Port.
  2. Click on Tools -> choose the Serial Port.
  3. Click on 'Tools' -> Click on Board -> Select Arduino Due (Programming port), as shown below:
  • Open any sketch from the File -> Examples. We can also create our own sketch.
  • Now, upload and run the written code or sketch.

To upload and run, click on the button present on the top panel of the Arduino display, as shown below:

Arduino Due

Within the few seconds after the compile and run of code or sketch, the RX and TX light present on the Arduino board will flash.

The 'Done Uploading' message will appear once the code is successfully uploaded. The message will be displayed in the status bar.


Next TopicArduino UNO Pinout




Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA