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
2 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
54 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
29 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
38 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
22 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
26 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
19 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
39 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
83 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
96 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
30 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
27 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
27 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
40 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
29 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
866 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
48 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
283 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
23 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
34 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
72 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
1answer
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
57 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
39 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
38 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
48 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
46 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
41 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
427 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
66 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
59 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
45 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
55 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
26 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
52 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 : ...
1
vote
1answer
52 views

How to disable the write protection of the USART mode register?

I have a device which transmits USART with inverted polarity, and I would like to read data from it with the help of an Arduino. I use an Arduino Due, which has a SAM3X processor, so it should be able ...
6
votes
0answers
102 views

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 ...
5
votes
2answers
152 views

Arduino onboard LED pin number as a constant

To use the onboard LED on an Arduino one usually has to know the pin number (13 in most cases), but is there a constant in the Arduino IDE one can use as well? So is it possible to use something ...
0
votes
3answers
342 views

Programming Arduino in Pascal?

My question is simple: there is any Pascal or Pascal-class (FPC, Delphi, mikroPascal) programming language for Arduino? Preferably (I hope I don't ask too much) that language should not be older ...
4
votes
2answers
107 views

How to program arduino due without arduino ide

Is it possible to program the Arduino Due without the Arduino IDE? Is there a standalone program that can be downloaded, and be used to upload a .bin file (which has already been generated from the ...
0
votes
1answer
339 views

Arduino is not responding to a Tiny RTC I2C modules, How to fix?

We have an arduino due with a Tiny RTC I2C module and we're trying to print the current time to the serial monitor. However its not working, currently its printing the time as 2165/165/165 (Monday) ...
0
votes
0answers
27 views

Can we change the frequency of LED illumination

I had a problem during imaging of illumination of 8*8 LED series(rainbowduino V3.0b). The light source has flickering issue. I have camera operating maximum at 15 frames per second. Is there any ...
-1
votes
1answer
23 views

Programing uploading to Arduino due

I am new to Arduino and bit blur on how it works. lack of info on the net about it. please help me with these questions! Does Arduino due allow you to upload a program on programming port and then ...
3
votes
1answer
153 views

Need some explain before desigin my own custom Arduino Due board

I'd like to ask you some questions about ARM processor from Atmel like the SAM3X8E, the one used in the Arduino Due. I have found this [AVR programming guide] from abcminiuser on avrfreaks very ...
0
votes
3answers
64 views

Serial Monitor not displaying anything

I have a very basic script that is supposed to display something to the serial monitor but no matter what I try the serial monitor won't display anything...I;ve watched about 5 tutorials now and each ...
0
votes
1answer
173 views

Arduino Due Port Not Found

I've got an arduino due and I'm having great difficulty connecting to it. The problem seems to come and go, I was using it just fine only 3 or 4 hours ago but now it just won't connect. I've got the ...
0
votes
1answer
141 views

Arduino Due interrupt is taken but not executed completely

I tried to build a simple l-meter with my arduino due. I programmed a simple frequency meter with one timer and one counter. The timer takes an interrupt each 10s, 100ms, 10ms and 1ms. But ones the ...
-1
votes
3answers
156 views

Distance sensor

I am adding a distance sensor to existing project that uses Arduino due, do I connect the trigger pin and the echo pin of the HC-SR04 ultrasonic sensor directly to Arduino due which uses 3.3V while ...
0
votes
2answers
110 views

Dimmer on Due: digitalWrite on one pin affects digital value of another

I'm trying to make dimmer for heater using Arduino Due. I'm using a variant of this very common scheme: My scheme has MOC3043 with zero-crossing detection. I use two pins to control the dimmer: ...
1
vote
0answers
64 views

Understanding types of timer interrupts

I'm learning this note about timer's api on Arduino Due. Interrupt can be attached with the next function: void tc_enable_interrupt( Tc * p_tc, uint32_t ul_channel, uint32_t ...