Questions tagged [arduino-due]

Arduino DUE is an microcontroller card based on the Atmel SAM3X8E ARM Cortex-M3 CPU. This is a 32bit ARM core MCU.

The arduino DUE is different than most Arduino boards on the market since it runs at 3.3V.

The Arduino Due 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. It has 54 digital input/output pins (of which 12 can be used as PWM outputs), 12 analog inputs, 4 UARTs (hardware serial ports), a 84 MHz clock, an USB OTG capable connection, 2 DAC (digital to analog), 2 TWI, a power jack, an SPI header, a JTAG header, a reset button and an erase button.

Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Providing higher voltages, like 5V to an I/O pin could damage the board.

The board contains everything needed to support the microcontroller; simply connect it to a computer with a micro-USB cable or power it with a AC-to-DC adapter or battery to get started. The Due is compatible with all Arduino shields that work at 3.3V and are compliant with the 1.0 Arduino pinout. The Due follows the 1.0 pinout: TWI: SDA and SCL pins that are near to the AREF pin. The IOREF pin which allows an attached shield with the proper configuration to adapt to the voltage provided by the board. This enables shield compatibility with a 3.3V board like the Due and AVR-based boards which operate at 5V. An unconnected pin, reserved for future use.

Full specs and information.


Other features:

  • 32 bit microcontroller: 4 byte wide instructions during one CPU cycle.
  • 84 MHz MCU clock (Uno is 16 MHz on a less efficient architecture.)
  • 96KB SRAM
  • 512KB Flash

This gives it much more power than a standard ATmega chip.

463 questions
14
votes
1 answer

Mysterious RX pulses on UART connect on OS X Arduino Due

Arduino IDE 1.6.8, Arduino Due, Mac OS 10.11.3 I am seeing eight mysterious pulses on the RX line when I connect to the serial port using multiple client libraries (Python, JavaScript as well as the built-in Serial Monitor in the IDE). About 78-79us…
Blake Ramsdell
  • 241
  • 1
  • 2
13
votes
1 answer

Internet connectivity for the Arduino Due using AtmelStudio?

What hardware and software solutions work and what are the tradeoffs for connecting an Arduino Due to the internet? I gather the ethernet hardware is much cheaper than WiFi hardware (€29 versus €69). In either case (wired or wireless), what…
Bob Stein
  • 303
  • 3
  • 9
12
votes
4 answers

Arduino Time Clock Accuracy

I'm currently trying to create an Arduino time clock by using the PJRC Time library (http://www.pjrc.com/teensy/td_libs_Time.html). I know that since most of the Arduino boards are running with a 16MHz clock and a single resonator, the time can…
KK6FSL
  • 125
  • 1
  • 1
  • 6
11
votes
4 answers

SAM3X8E (Arduino Due) Pin IO registers

How do the IO registers of Arduino Due work? On Arduino Uno just set DDRx, then PINx to read, PORTx to write, I'd like to do the same thing with an Arduino Due, but it has many more registers, such as PIO_OWER, PIO_OSER, PIO_CODR, PIO_SODR, etc. I…
Alex
  • 315
  • 2
  • 3
  • 9
11
votes
1 answer

Why does the Arduino Due have a native and USB programming port?

According to the schematics, the Arduino Due has two USB inputs: Native Programming Why is this? And when would I use the different ports?
poseid
  • 325
  • 1
  • 4
  • 11
10
votes
1 answer

A digital I/O pin as ground

I want an I/O pin to return current in a circuit, similarly to the function of ground. Which of these will achieve what I require? pinMode(pinnumber, OUTPUT) digitalWrite(pinnumber, LOW) or pinMode(pinnumber, input)
rajat
  • 203
  • 1
  • 2
  • 7
9
votes
1 answer

SPI Arduino Due conflict with pinMode(), bug?

Consider the following minimal example, where I set pinMode before calling SPI functions: #include void setup() { pinMode(10, OUTPUT); SPI.begin(10); SPI.setDataMode(10,SPI_MODE1); } void loop() { delay(1000); …
newandlost
  • 223
  • 1
  • 4
9
votes
3 answers

delay(time); vs if(millis()-previous>time); and drift

Going through an old project, I had code on two Arduino Due that looked like this void loop() { foo(); delay(time); } taking to heart the majority of literature on using delay(); I recoded this as void loop() { static unsigned long PrevTime; …
ATE-ENGE
  • 941
  • 3
  • 19
  • 32
9
votes
1 answer

How can a 5v Uno talk to a 3.3v Due?

I currently have an Uno (which operates at 5v), and I'm looking at buying a Due (which only operates at 3.3v). I'd like to make them communicate via Serial or SPI or similar, but presumably connecting them directly isn't an option (I guess the Due's…
Peter Bloomfield
  • 10,982
  • 9
  • 48
  • 87
8
votes
3 answers

Arduino Due vs Mega 2560

What can an Arduino Due do that a Mega 2560 can't? What can a Mega 2560 do that a Due can't? I've heard the Due is 3.3V so it can't work with most shields.
James Young
  • 95
  • 1
  • 1
  • 6
7
votes
3 answers

Breadboard-to-Arduino wiring with flat flex cable assemblies?

I want to wire Arduino Due connectors to a breadboard 8-at-a-time, so they're easier to remove and more reliable. I tried these Flat Flex Cable Assemblies (FFC assemblies) terminated with "solder lugs" from Digi-Key, but the pins are just a little…
Bob Stein
  • 303
  • 3
  • 9
7
votes
1 answer

On Arduino Due webserver, there is a 5 second delay on Windows, only when connected via native port

My Due webserver was working perfectly fine for months when connected to Linux via the native port. But when connected to Windows 10 via the native port, if the Arduino webserver is idle for about 5 minutes (when no client calls a webpage), then…
Jerry
  • 533
  • 1
  • 6
  • 21
6
votes
1 answer

References (e.g, libraries and tutorials) for connecting the 24-bit ADS1256 ADC to arduino

The ADS1256 chip is a high precision 24bit, 8 channel, analog digital converter based on SPI communication that is suitable for biomedical applications and perfect for sensing ECG and EEG signals. I want to hook it up to an arduino, e.g., an arduino…
mrsteve
  • 181
  • 1
  • 5
6
votes
2 answers

What is the proper way to implement PID?

I'm having some trouble conceptualizing how to go about implementing PID into my drone. There are a few ways I'm thinking about implementing the pipeline: Having one PID Object for each of the six motors. Having one PID Object for each axis. How I…
tuskiomi
  • 205
  • 1
  • 11
6
votes
1 answer

How do I read from /dev/ttyACM0 in Linux without a terminal emulator?

I just bought an Arduino Due and I'm having trouble reading from a simple serial IO program. I have a SparkFun RedBoard which is like an Uno. With that, I just ran a "stty" command to configure the baud rate and other terminal settings, and then I…
Metamorphic
  • 477
  • 2
  • 7
  • 9
1
2 3
30 31