Arduino Due: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{Project|primary=[[User:Msemtd|Michael Erskine]]|created=2013-08-12|status=prototyping‎}}
The new Arduino Due board is the first Arduino to be based on an ARM Coretex M3 micro (rather than the usual AVR micro). This is still an Atmel chip but it will have more in common with the Mbed, LPCXpresso, etc. At time of writing I am still yet to receive my first Due board but I'm reliably informed that it's in the post!
The new Arduino Due board is the first Arduino to be based on an ARM Coretex M3 micro (rather than the usual AVR micro). This is still an Atmel chip but it will have more in common with the Mbed, LPCXpresso, etc. At time of writing I am still yet to receive my first Due board but I'm reliably informed that it's in the post!


Line 191: Line 194:


I first set up the Arduino 1.5.2 zip install onto a Windows XP machine and had a jolly old time with the various CDC serial port drivers! After a while everything was pretty nice using the programming port for uploading code and running a small command terminal. I had to employ the while(!Serial); technique to get a reliable startup of my code.
I first set up the Arduino 1.5.2 zip install onto a Windows XP machine and had a jolly old time with the various CDC serial port drivers! After a while everything was pretty nice using the programming port for uploading code and running a small command terminal. I had to employ the while(!Serial); technique to get a reliable startup of my code.
There is a 12-bit DAC onboard and there are exciting new projects that demonstrate impressing WAV audio output. Combined with the 3.3v voltages for cheap SD card interfacing, we have a simple means for adding good quality audio to our projects.

Revision as of 13:59, 19 August 2013

Arduino Due
[[{{{image}}}|border|frameless|220px|center]]
Primary Contact Michael Erskine
Created 2013-08-12
Completed {{{completeddate}}}
Dormant {{{dormantdate}}}
Version {{{version}}}
Members {{{members}}}
Manufacturer {{{manufacturer}}}
Model {{{model}}}
Location [[{{{location}}}]]
GitHub / Repo {{{repo}}}
Status prototyping‎
Type Undefined
Live Status {{{livestatus}}}
QR code


The new Arduino Due board is the first Arduino to be based on an ARM Coretex M3 micro (rather than the usual AVR micro). This is still an Atmel chip but it will have more in common with the Mbed, LPCXpresso, etc. At time of writing I am still yet to receive my first Due board but I'm reliably informed that it's in the post!

So what is all the fuss about? Did you even notice any fuss? Well, it's a move away from the old AVR architecture and into a bigger arena. ARM is massive! What we, as Arduino users, get is an Arduino with a shed load more speed, and capacity. There are some potential downsides in the area of legacy Arduino convenience (e.g. the 3.3v logic) but these are small problems for those who appreciate the extra power.

Useful links in these early days:-

This handy comparison table is from one of the sites above - not sure of the origin but I know that the 250k EEPROM for the Due is wrong as it doesn't have any!


Arduino UNO

Arduino Mega

Arduino Due

MCU

ATMega 328

ATMega 2560

AT91SAM3X8E

Architecture

8 bit AVR

8 bit AVR

32 bit ARM Cortex M3

CPU Speed

16Mhz

16Mhz

84 Mhz

Flash Memory

32K

256K

512K

RAM

2K

8K

96K

EEPROM

1K

4K

250K

Digital Pins

14

54

54

PWM Pins

6

15

16

AnalogInputs

6

16

12

DAC

0

0

2

First Due Arrived

OK, Aug 15th 2013, and I've got my first Due clone: a nice red SainSmart Due (http://www.sainsmart.com/sainsmart-due-atmel-sam3x8e-arm-cortex-m3-board.html) for the bargain price of £25 (a UK ebay seller).


Pinout diagram: http://forum.arduino.cc/index.php?topic=132130.0

New Magic

The main new magic is a pair of USB sockets: "programming port" and "native port". We also have an "erase" button which looks scary!

I first set up the Arduino 1.5.2 zip install onto a Windows XP machine and had a jolly old time with the various CDC serial port drivers! After a while everything was pretty nice using the programming port for uploading code and running a small command terminal. I had to employ the while(!Serial); technique to get a reliable startup of my code.

There is a 12-bit DAC onboard and there are exciting new projects that demonstrate impressing WAV audio output. Combined with the 3.3v voltages for cheap SD card interfacing, we have a simple means for adding good quality audio to our projects.