Home > Ideas > Arduino LED Project Ideas > Getting Started with Arduino Due

Getting Started with Arduino Due

Summary of Getting Started with Arduino Due


This article introduces the Arduino Due, a 32-bit ARM-based board ideal for advanced projects like image processing. It highlights the SAM3X8E controller's speed (84 MHz) and GPIO capabilities compared to the 8-bit UNO. The guide details setting up the Arduino IDE with version 1.6.8 or newer to support DUE libraries and explains connecting the board via the Native USB port. Finally, it outlines a basic LED blinking project using specific hardware components.

Parts used in the Arduino Due LED Blinking Project:

  • Arduino Due board
  • Connecting pins
  • 220Ω resistor
  • LED
  • Bread board
  • PC with USB cable
  • Arduino nightly software (version 1.6.8)

ARDUINO DUE is an ARM controller based board designed for electronic Engineers and Hobbyists. ARM architecture is very influential in modern electronics. We are using the ARM architecture based controllers everywhere. For example we are using ARM controllers in our mobiles, iPods and computers etc.  If someone wants to design industrial systems, it must be on ARM controllers. ARM controllers are very important because of the frequency of their operation and data bus size.

Getting Started with Arduino Due

ARM controllers can achieve results better than normal controllers and they have more functions than a normal controller.  With this, it is obvious that we must learn ARM controller for designing higher functions like image processing etc.

To understand the ARM architecture, best way to do is by studying the ARDUINO DUE. Below figure shows Arduino Due board.

There are different types of ARDUINO boards in the market, with UNO being the most popular and DUE being the most sophisticated.  DUE core is from “SAM3X8E” controller as shown in figure. This controller works at 84 MHz clock, which is more than 5 times the speed of UNO. With almost 60 GPIO (General purpose Input Output) we can use this board at will, without any need of shift registers. We have already covered many Arduino and Arduino Uno Projects, from beginner to advanced level and they cover almost all topics to learn Arduino from scratch.

UNO designed from ATMEGA controller, which is 8 bit type, and DUE designed from ARM type, which is a 32 bit type. This number itself differentiates the achievement, power and speed gap between two boards. We chose DUE board because it is the easiest way to understand ARM controller especially for starters. So in this tutorial we are going to Blink a LED using Arduino Due, for getting started with Arduino Due Board. This Program and tutorial will also goes with Arduino Uno to blink LED with it. The software and download, upload process are same for the Uno.

The ARDUINO DUE boards also possess Shield boards, they are basically extensions for ARDUINO. These shields add additional features to the ARDUINO. These shields are stacked one over the other on ARDUINO.

Required Components:

Hardware: Arduino Due board, connecting pins, 220Ω resistor, LED, bread board.

Software: Arduino nightly, download it from this link: https://www.arduino.cc/en/Main/Software

Open the above given link, under download session, we have the latest version of ARDUINO software, which is 1.6.8 (at the time of writing this article). Even if you have the older version, download the newer version. In previous versions the DUE board libraries are not present. So the previous versions cannot detect the DUE board. You can update the previous version to get the DUE board working.

Click on the windows installer button for the software:

Now click on the just download button for the setup to start downloading. The setup file would be around 85 Mb.

After download install the file by double click. Once the install is complete, you will get a icon on the desktop as shown below.

Double click on the program to start.

Now you see, there are two connectives on the DUE board.

Both of the ports can be used to program the DUE, but we are going to use NATIVE USB port. Now connect the USB plug and connect the other end to PC, you should see the power LED ON.

Once the ARDUINO program is running, you should choose the ARDUINO DUE board from the ‘TOOLS’ menu of the program. Once you choose the DUE board you will see the selected board at the right bottom, as shown in the figure given below in next section.

Getting Started with Arduino Due schematic

We connected the USB to NATIVE port, so we have to choose the ‘NATIVE port’ in the software. This option will also be in ’TOOLS’ option. Once you select it, you are ready to upload the program.

Circuit and Working Explanation:

In here we are going to write a program to blink an LED for every 1000ms.We will connect an LED at PIN13 through a 220Ω current limiting resistor.

Read more: Getting Started with Arduino Due

Quick Solutions to Questions related to Arduino Due LED Blinking Project:

  • Why is the Arduino Due considered better than the Uno?
    The Due uses a 32-bit ARM controller running at 84 MHz, offering more than five times the speed of the 8-bit ATMEGA based Uno.
  • Which USB port should be used to program the Arduino Due?
    You should use the NATIVE USB port on the board for programming.
  • What is the minimum required software version for the Arduino Due?
    You need Arduino nightly version 1.6.8 or newer because previous versions lack the necessary DUE board libraries.
  • How do you select the correct port in the Arduino IDE for the Due?
    Select the NATIVE port option from the TOOLS menu after choosing the Arduino Due board.
  • What component limits the current when connecting an LED to pin 13?
    A 220Ω current limiting resistor is connected in series with the LED.
  • Can this LED blinking tutorial also work with the Arduino Uno?
    Yes, the program and upload process are the same for both the Uno and the Due.
  • What is the core controller used in the Arduino Due?
    The core controller is the SAM3X8E.
  • How many GPIO pins does the Arduino Due have?
    The board has almost 60 General Purpose Input Output pins.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top