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

learn more… | top users | synonyms (1)

0
votes
2answers
44 views

Sending Large Packets and Reassembling over Serial

I'm trying to send info of about 30-40kB over the Serial ports on an Arduino Due. But I'm running into a few problems. First, before we get into the actual transfer over the Serial, I want to try ...
2
votes
0answers
40 views

Arduino Due randomly slows down, serial communications stops

I've got an Arduino Due connected to a Raspberry Pi via Serial3. The Due will randomly stop sending data to the Pi after a few days, or sometimes after several hours. Using an oscilloscope, I can see ...
0
votes
0answers
33 views

Quadcopter stability [closed]

I'm working on a quadcopter that I built from scratch, I'm using gy87 sensors (mpu6050, hmc1l, bmp180). I have a dji f450 frame kit and an Arduino Due board. My problem is, I can't stabilize the ...
1
vote
0answers
27 views

Reading Serial Data Using readBytes() and Use of Serial.read()

I'm trying to mix Serial.read() and Serial.readBytes() when reading over one of the Serial ports on my Arduino Due. I thought that using Serial.read() would clear what is on the serial, and then ...
1
vote
0answers
17 views

Bug read an image from SD card and draw it on TFT

I have developed a code to read an image stored on my SD Card and display it on a TFT. I can read the image from the SD Card successfully but I cannot draw it on the TFT. I dunno where is the bug. ...
-1
votes
0answers
20 views

Launch and send SMS module sim800l with Arduino DUE

How can I set up the Sim800l and compatible with Arduino DUE code,The codes are not incompatible with the board please to my guide thanks
1
vote
1answer
17 views

Arduino Due: multiple TCS sensors

I am trying to run 2 TCS3200’s from one Arduino Due. Next, I must increase to 4 sensors. I need to read the data from the 2 digital pins but how do I read both within the same loop rather than in ...
0
votes
1answer
25 views

ISR halts in DUE

I am using the following simple code to test the interrupt functionality of due: void aMillion(){ for(int i = 0; i < 1000000; i++){ if(i % 1000 == 0){ Serial.print("m"); ...
1
vote
0answers
23 views

Arduino Due works perfectly on Windows but doesn't on Linux (SAM-BA operation failed)

I've been working with the Arduino Due for a project, we have been setting up these Arduinos with an ARM Board that hosts a Linux System with Busybox that connects to the Arduino. Recently I got ...
0
votes
1answer
21 views

Advanced ADC setup on Due (SAM3X8E) to increase precision

I want to make some precise measurements with Arduino Due. Although I'm using very good external voltage reference (LTC6655) measured data is still jumping around, especially significant when I'm ...
1
vote
1answer
53 views

Problem with Using an array inside a Switch Statement

I am having a problem when using a switch statement to check for something inside an array. I am using an int as my switch, then I compare the character arrays using strstr. So it reads like this: ...
0
votes
1answer
18 views

How to make PCA9685 work with Arduino Due?

I have Arduino Due and PCA9685. I use this library: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library The board does not do anything with servo connected. I tried to use SDA/SCL pins and ...
0
votes
3answers
44 views

Arduino is freezing during Serial.Print() while passing a char array

This problem is on an Arduino Due. I am trying to populate a char array buffer that is receiving information over a serial port. I am reading the information off of the serial port and storing it into ...
1
vote
1answer
25 views

Arduino Due ( Atmel Microcontroller) IC Heat up and led goes off

I was connecting L293d Motor Driver IC with an Arduino Due Board. May be due to wrong connections, but when I made the grounds common, the Arduino LED goes off and Atmel IC heats up. When I reconnect ...
0
votes
1answer
81 views

How to configure 2nd Quadrature Decoder IO pins in Arduino IDE

I am working to read two quadrature encoders using a single Arduino DUE, as part of my summer vacations project. According to the following link http://atmel.force.com/support/servlet/fileField?id=...
0
votes
1answer
85 views

Reading Two Quadrature Encoder using a single Arduino Due

I am working on an autonomous robot in my summer vacations. I am currently working on running the motors of my robot in a closed loop. In order to do so, I have to interface two Quadrature encoders of ...
3
votes
2answers
66 views

Arduino Due - using built in ADC as a DSO causes issues at high frequencies (kHz)

I am trying to use the inbuilt ADC of the Arduino Due to measure voltage signals. The frequency range I'm interested in measuring is up to about 30 kHz.But I'm observing a strong capacitor behaviour ...
0
votes
1answer
60 views

Arduino due + mcp2551

I am currently using an atmega328 along with the mcp 2515 and the 2551 for CAN communication in my systems. However, I've now decided to upgrade to the arduino due for my operations. Can anybody tell ...
0
votes
0answers
49 views

How can I use more tx/rx pin with Arduino Due?

I know that Arduino due has 4 serial ports: Serial...Serial3. But I need more than 4, so I have tried the SoftwareSerial library, but it didn't work. I have also tried the soft_uart library and it ...
0
votes
0answers
25 views

Arduino due programming with notepad+

I use Atmel Studio 7 to program the Arduino (due), but i' m a bit frustrated by it and I'm interested to check an alternative solution. Can anyone guide me to how difficult will it be to use notepad+ ...
1
vote
2answers
40 views

Arduino Due SRAM

I'm trying to create an array in Arduino Due and when the array exceeds the size of 32768 integer elements the compiler (Atmel Studio) complains. I read that Arduino Due SRAM size is 96K in 2 banks....
1
vote
1answer
40 views

What is the proper way to implenet 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 ...
0
votes
1answer
93 views

Code example SPI multiple slaves Arduino DUE

I'm trying to get 2 devices (camera and sd card)to work on the SPI interface with an Arduino DUE. I'm having trouble finding example code online showing how to communicate with multiple slaves on the ...
0
votes
1answer
105 views

Arduino oscilloscope

I have been working on a recent project to build an Arduino Oscilloscope interfaced with a 4X4 keypad membrane with Nokia 5110 LCD display.I have successful individual code fragments/portions which 1)...
0
votes
0answers
235 views

Arduino Due and mcufriend 3.5" TFT LCD ( ili9488 )

I have the Due and the referenced LCD screen, and nothing I do gets it to work. I have tried ( at last count ) 5 different libraries and sketches to no avail. I have even downloaded the spec sheet ...
1
vote
2answers
49 views

Linker error when trying to use functions in separate header and source files

It is my first day of working with Arduino (it is a Due). I want to read from TMP102 through I2C. I wrote some code and it works just fine. But now I want to separate the TMP102 code from the main ...
0
votes
1answer
38 views

Not able to upload program to “Arduino Due”

I'm not able to upload sketch on Arduino Due, using Programming Port. Even blink sketch from examples is not working. So tried with blank sketch, I got following messages.
0
votes
0answers
56 views

Help with modifying PWM code on DUE

I've found this really helpful, much faster PWM code online that works perfectly, but only for one output pin. I need 2 different duty cycles on 2 different pins, whether or not they are on the same ...
1
vote
0answers
41 views

initial power output in the digital io pins of an Arduino controller

I am a newbie.. I am integrating Arduino controller with Matlab I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3) So when I ...
0
votes
1answer
31 views

initial power output in the digital io pins of an Arduino controller [closed]

I am a newbie.. I am integrating Arduino controller with Matlab I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3) So when I ...
3
votes
2answers
2k views

Why was the Due retired? [closed]

Looking at the Sparkfun comparison, it seems that the Due is by far the fastest of the Arduinos and has I/O capabilities similar to the Mega. So why was it retired with no obvious successor?
0
votes
3answers
54 views

Variable scope error

guys. I'm writing here because I cannot find an obvious error, so I'm stuck. Could you please help me? Here's the code: int arrayAAA[] = {6, 8, 10, 12}; int arrayBBB[] = {9, 15, 27, 41}; const int ...
3
votes
1answer
710 views

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 ...
1
vote
0answers
25 views

What is the protocol that uses ROS with arduino? [closed]

I'm trying to know what is the protocol that uses ROS and arduino, Is it Firmata?
0
votes
1answer
40 views

Is it possible to run 2 functions, that communicate with 2 different serial devices, in parallel using FreeRtos library?

This might seem like a very broad question but that's what i want it to be for multiple ways of implementation. I've an Arduino UNO communicating with 2 Serial devices interfaced using SoftwareSerial ...
5
votes
1answer
101 views

Syncing/taking external clock for SPI on Arduino Due

I have an Arduino Due with a SAM3X8E chip and am trying to read SPI data from an external source that is communicating in SPI. I was able to get data by identifying specific bytes that are identifiers ...
1
vote
2answers
2k views

Unable to upload to Arduino Due using 1.6.8 of SAM tools; bossac.exe throwing an error

I can successfully see the Arudino Due when I plug it in, I can compile the code, but when I attempt to upload it to the board I get the following error: C:\Users\user\AppData\Roaming\Arduino15\...
0
votes
1answer
121 views

What does this error mean?? Arduino Due loop warning

I am getting this error on compilation of the code given further below; warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] leds[XY (x, y)].r = redarray[x][y]; ...
0
votes
0answers
54 views

Arduino Due for CAN communication

I'm using the Arduino Due to read and send some CAN messages using this library https://github.com/collin80/due_can via 2 SN65HVD235 transceivers for each CAN channel, but I'm currently having two ...
0
votes
1answer
41 views

wrong leds lit in matrix display - wrong coding?

I wrote the following code for displaying a bitmap (small size) on a LED matrix (formed using APA102 led strip): //for 24-bit bitmaps // the header files for the RGB data #include <FastLED.h&...
1
vote
1answer
57 views

Time Stamping data on an Arduino and reading it on a Java IDE

Does anyone have an idea on the best way to time stamp an arduino sketch that contains a data packet which is to be read out using a java IDE (IntelliJ) for graphic visualization of the packet. I ...
1
vote
0answers
67 views

Help with Arduino Due and APA102 LED strip Vs Matrix

I am in a fix since last one week regarding this: As mentioned in a previous question (asked here only), I have been working to develop a APA102 LED based display. Now for this I have an Arduino Due. ...
1
vote
0answers
70 views

Parallel Chaining of APA102 LED matrices

I have four APA102 LED matrices (those flexible ones) and I want to connect them together to make a display for showing images. Now my problem is this: Consider the coordinate system with four ...
5
votes
4answers
483 views

Employing C++ code for Arduino

I have Googled quite a lot regarding using a C++ program for uploading to Arduino and related, however I am confused now. Right, my problem is this: I have written a C++ program which imports RGB ...
0
votes
2answers
72 views

CC3000 cannot sending post data with content length more than 104

I'm trying to post data from my Arduino due to my web server (php) through POST using the CC3000 breakout board and for some reason, data with content length more than 104 is not being sent? I've ...
0
votes
0answers
73 views

Arduino Due Port Configuration Problems

When uploading 'Blink" to the Due the uploading process hangs indefinitely. The following message results: processing.app.debug.RunnerException at cc.arduino.packages.uploaders.SerialUploader....
0
votes
1answer
69 views

Two or More Arduinos Handshaking

research would show that there are numerous ways for two arduinos to talk to one another. But i was looking for a 'basic robust protocol' (..it doesn't sound basic ....I know!), to allow for two ...
1
vote
0answers
66 views

Arduino Due Serial garbage

I have made a custom board based on the Arduino Due but have some problems with the Serial communication with the 16u2 chip. i have usb connection with the 16u2 chip and was able to load the arduino-...
1
vote
0answers
38 views

Due as USB Host timing issues

I own a UDOO Quad board which features two CPUs (SAM3X8E like Arduino Due and a ARM Cortex-A9) connected with an internal OTG USB. I am trying literally for months to use the USB Host Shield Library ...
1
vote
0answers
62 views

HM-10 and Arduino Due

I am trying to communicate between HM-10 module (without any breadboard or soldering) and experience problem with reading data from serial. Here is the code: #define TO_HEX(i) (i <= 9 ? '0' + i : ...