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
0answers
14 views

Arduino Due: ADC gain adjustment problem

I want to increase gain of the ADC channel. To achieve this I'm using adc_set_channel_input_gain function from adc.h. Here is the entire sketch: const byte aPin = A6; void setup() { ...
1
vote
1answer
45 views

Arduino DUE deadlock problem, watchdog not working

I am using Arduino DUE in my project. The project is massive (about 7000 lines of code in total, with massive schematic), so I decided not to post the whole code and schematic, except explain the ...
0
votes
0answers
36 views

Keyboard: type backslash

I'm working on an enhanced version of RubberDucky using an Arduino Due. A lot less stealth, but much more powerful. My problem is that I can't make the Keyboard library type a backslash when using a ...
0
votes
1answer
49 views

Shared 5v power for Due dedicated application

I would appreciate input on this situation: I plan to power a fairly high current, 5 volt supply, 3.3v signal, device from a suitable wall wart. I would like to power the due that controls it through ...
1
vote
1answer
28 views

Sim800l's library can not compile with Arduino due

Sim800l's library can not compile with Arduino due, Is there any ways to create a library for Arduino due? #include <Sim800l.h> #include <SoftwareSerial.h> Sim800l Sim800l; char* text; ...
1
vote
1answer
27 views

How do I code my arduino to return a throttle servo to idle?

I have an Arduino powering a small 180 degree Parallax servo that is used to control the throttle link for a small engine. I have code right now that will allow me to open/close the throttle (in ...
0
votes
2answers
51 views

How to measure free RAM on an Arduino Due in Runtime?

I use this Library to measure my free RAM on a Mega in runtime. But this Library does not work on the Due.
1
vote
2answers
37 views

What is the best type of Arduino board for simple delivery robot? [closed]

I'm new to arduino, and I want to design a Simple Delivery Robot for Data Center, which has an arm to move items, and it follows line while moving. I have no idea if there is a special arduino board ...
0
votes
1answer
48 views

SerialUSB on DUE

I'm starting fiddleing with a due but i can't seem to be able to comunicate over usb with it. Here is my code : int bauds = 9600; void setup() { SerialUSB.begin(bauds); } void loop() { if (...
0
votes
0answers
31 views

Read Data From USB Device (Laser Range Finder Sensor) Using Arduino Due

I currently have a LIDAR sensor which has USB interface. The sensor works just fine using USB connection and the provided software. Now I want to connect it to the Arduino Due so that the ardunio can ...
1
vote
2answers
61 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
53 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 ...
1
vote
0answers
39 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
24 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
vote
1answer
25 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
29 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
44 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
50 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
84 views

Problem 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
32 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
51 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
42 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
122 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
167 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
70 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
108 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
52 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
26 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
49 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
71 views

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 ...
0
votes
1answer
209 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
148 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
421 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
73 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
45 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
97 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
43 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 ...
2
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
59 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
1k 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
33 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
46 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
165 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
3k 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
261 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
79 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
51 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
65 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
82 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
86 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 ...