Questions tagged [arduino-due]

The Arduino Due is a micro controller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU.

The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU.

Unlike the "original" Arduinos it is not based on the 8-bit AVRs but on an 32-bit ARM Cortex. 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.

It runs on 3.3 V instead of 5 V. It has significantly higher computational power both due to the higer clock frequency as well as due to the bigger word width. In addition it has more memory 96k SRAM and 512k Flash. However it lacks any EEPROM. Also its current consumption is higher as compared to the AVR cores.

An overview can be found on the official Arduino Due pages. The official pages also provide schematic and board layout information.

90 questions
0
votes
1 answer

Comparing an usart received uint8_t* data with a constant string

I'm working on an Arduino Due, trying to use DMA functions as I'm working on a project where speed is critical. I found the following function to receive through serial: uint8_t DmaSerial::get(uint8_t* bytes, uint8_t length) { // Disable receive…
0
votes
1 answer

Terminals are not working with USBSerial on an Arduino DUE. Ports are ok

I have firmware installed on an Arduino DUE from a different mac, it is designed to interface with a Matlab-based application. It has been tested and known to work. I am attempting to modify the firmware from the mac in my office, but I ran into a…
Edgar Brown
  • 253
  • 2
  • 11
0
votes
1 answer

Calculate amplitude of a signal after application FFT

I'm using Arduino Due and sensor for noise and I applied FFT library to extract frequency and it's working perfectly. But I don't know how to calculate the amplitudes and print them on console? Here is the code: #include "arduinoFFT.h" #define…
0
votes
1 answer

How to connect Arduino due to GPS module?

I am working on an Arduino project, I am beginner with Arduino, so I started to get code from the Internet and trying to study and understand it, https://www.hackster.io/bigboystoys13/diymall-gprs-gps-sim5320e-3g-module-at-commands-d1cbfe I tried to…
user8346623
0
votes
1 answer

Mpu6050 and Adafruit Ultimate Gps not working together on Arduino Due

I have the codes for mpu6050 and adafruit ultimate gps breakout v3 and they are working fine seperately on arduino due but when i try to combine both the codes the gps does not get a fix. Can anybody help me out? The code for mpu6050 is given below …
0
votes
0 answers

Trying to send an image to server using Arduino and wifi module

byte incomingbyte; String full; int a=0x0000,j=0,k=0,count=0; uint8_t MH,ML; boolean EndFlag=0; void SendResetCmd(); void SendTakePhotoCmd(); void SendReadDataCmd(); void StopTakePhotoCmd(); String ssid ="Mudangawe"; char *filename =…
0
votes
0 answers

get stack pointer and return address for sam3x8E

I am currently working on a project using arduino Due (Atmel SAM3X8E), which hit a watchdog reset randomly. (sometimes it reset in 10 minutes, sometimes it runs hours then hit the watchdog reset). My watchdog time-out is set fairly long(7 sec.) The…
MinShu Huang
  • 53
  • 1
  • 2
  • 12
0
votes
1 answer

I found there a function "fopen",but how to use it?

I am amazing that arduino due has file operators.But where is my file? I don't know what's the meaning of a file on a system without file system.
erow
  • 119
  • 5
0
votes
0 answers

arduino due measure rare 1µs pulse with 0.2µs resolution for many channels

I'm a trainee in a research center, I'm studying physics but here I'm working on electronics, so it's not really in my area. I'm using an Arduino DUE witch uses an Atmel SAM3X8E ARM Cortex-M3 and I need to count "precisely" the time between two…
F.André
  • 11
  • 1
0
votes
1 answer

Adafruit_MAX31855 Thermopile IC readcelcius() command returning nan

I am currently using an Adafruit_MAX31855 IC along with a K type thermocouple. For some reason I am getting this in the serial monitor... Internal Temp = 32.44 nan // printed from thermocouple.readCelcius() Internal Temp = 32.44 nan Internal Temp =…
charley
  • 87
  • 4
  • 17
0
votes
0 answers

PySerial receive unknown amount of data

Hi I'm working with Python 2 and I'm trying to receive data from an Arduino via Serial Port. I'm using PySerial to collect the data but I get it chopped and I can't use readline. The size of the array send via serial changes along time. When I put…
0
votes
1 answer

Serial print slowing down execution of code. Arduino Due

We are using an Arduino Due to send serial data via usb to a piece of software produced in visual studio. The problem we are having lies with the Due. We have a section of code that is time critical PumpCycleTime = millis(); // Loop…
charley
  • 87
  • 4
  • 17
0
votes
2 answers

Arduino Due with ESP8266 simple AT command

I have an Arduino DUE and want to connect it to an ESP8266 Board and then test the connection with a simple "AT" command on the serial command line. I have written a lot on the internet but there are so many different answers on this topic and none…
Kev1n91
  • 3,553
  • 8
  • 46
  • 96
0
votes
0 answers

Data loss in Arduino-Android usb communication

I'm transferring data from android to arduino and vice versa(handshaking is done). When I'm transferring one byte everything's fine, but when I try to transfer 64bytes packets there is data loss. I checked the arduino side program and it works using…
0
votes
0 answers

delay in receiving data from Android to Arduino

I'm connecting my android device to arduino via USB and I receive data immediately from arduino by using bulkTransfer, but when I'm going to send acknowledge signal back to arduino using the same command, it receives that some seconds later. My…