Saturday, March 19, 2016

How to setup Arduino Due IDE (Part 1)

There are three free IDEs for Arduino Due programming on Windows:
       1. Arduino official IDE
       2. Visual Studio Community Edition with Visual Micro Extension
       3. Eclipse Arduino

In following steps I will discuss setting up the IDEs for Arduino Due:

1. Arduino official IDE
 Setting up Arduino official IDE is easy and simple.
Just download Arduino Due official IDE from https://www.arduino.cc/en/Main/Software. Latest IDE version is 1.6.8.

IDE is available for all platforms (Linux, Windows and Mac).

You can either download installer or zip file for Windows.
After installation open the IDE. It looks like:

The IDE will show you the default program for blinking Arduino default LED.

Getting familier with Arduino IDE:

Selecting Arduino Due Board to upload the code:
Point to menu Bar then:
Tools->Board->Scroll down and Select Arduino Due (programming Port) under Arduino Arm (32-bits) Boards

After proper selection of programming board you will see the selected board in status bar of Arduino IDE as shown in below picture:
Setting up the hardware:

  • Connect USB port to one of the USB port available on your computer

  • Connect micro USB port to your arduino Programming port

Back View of Arduino Due Board

Front view of Arduino Due Board

Wndows automatically installs Arduino Due drivers if your operating system is windows 8 or above.
Installing driver for Arduino Due Board

After successfully connecting Arduino due to your computer, Arduino Due default LED will glow as shown Above.

Follow the above steps and you are done.

Now open the Arduino IDE.

Default led blink code will be opened in the IDE. Just click on upload button to compile and upload the code to Arduino Due Board.

Compiling Code
After Compilation and upload

Now you will see default LED of your Arduino Due blinking.

Please share the post if you liked it.
Thanks

Friday, March 18, 2016

Introduction to Arduino Due

The Arduino Due is the first Arduino board based on a 32-bit ARM core microcontroller.
It is based on Atmel SAM3X8E ARM Cortex-M3 CPU.
It is open-source hardware.
Technical specs are:

Microcontroller
AT91SAM3X8E
Operating Voltage
3.3V
Input Voltage (recommended)
7-12V
Input Voltage (limits)
6-16V
Digital I/O Pins
54 (of which 12 provide PWM output)
Analog Input Pins
12
Analog Output Pins
2 (DAC)
Total DC Output Current on all I/O lines
130 mA
DC Current for 3.3V Pin
800 mA
DC Current for 5V Pin
800 mA
Flash Memory
512 KB all available for the user applications
SRAM
96 KB (two banks: 64KB and 32KB)
Clock Speed
84 MHz
Length
101.52 mm
Width
53.3 mm
Weight
36 g

Official Arduino Due website: https://www.arduino.cc/en/Main/ArduinoBoardDue