Arduino DUE is an microcontroller card based on the Atmel SAM3X8E ARM Cortex-M3 CPU. This is a 32bit ARM core MCU.
1
vote
0answers
25 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
2answers
79 views
Why was the Due retired?
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
2answers
30 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
62 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 ...
0
votes
0answers
10 views
What is the protocol that uses ROS with arduino?
I'm trying to know what is the protocol that uses ROS and arduino, Is it Firmata?
0
votes
1answer
25 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
40 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 ...
0
votes
1answer
580 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:
...
0
votes
1answer
39 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
30 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
31 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 ...
1
vote
1answer
37 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
23 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
31 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
397 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
59 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
36 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 ...
0
votes
1answer
33 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
43 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 ...
1
vote
0answers
19 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 ...
0
votes
0answers
30 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
0answers
32 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 ...
5
votes
0answers
75 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
143 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
217 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
68 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
242 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
24 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
15 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
132 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
54 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
118 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
106 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
101 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
88 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
54 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 ...
-1
votes
1answer
94 views
Control brightness of 20 watt street LED light using Arduino
I have searched google and I now know that if we change the resistance, we can change the brightness of an LED, but I was wondering how to change resistance by using a micro controller.
0
votes
3answers
389 views
Simultaneously reading data from multiple serial ports
I have three sensors latched on to three different Arduino devices.
The respective Arduino devices are connected on to an Arduino Mega on Serial1, Serial2 and Serial3.
The data from each device ...
0
votes
2answers
62 views
Arduino & ARM - Replacement for avr-libc?
There is very cool avr-libc library that provides direct access for all functions of AVR microcontrollers. I'm writing a project for Arduino Due and I want to use timers and ISRs directly. Is there a ...
-1
votes
1answer
150 views
Arduino Due with Atmel Studio 7
I was trying to switch to Atmel Studio for programming my Due project since it became more and more complex.
I managed to use the Arduino Importer Wizard to load a blink.ino file and included all the ...
0
votes
0answers
33 views
AJ_WSL_DriverStart is unable to start the driver
I am getting the same error as mentioned in below link while running the alljoynThin on the ArduinoDue + GT202 :- ...
1
vote
0answers
31 views
Connecting Arduino Due's DAC output to pc sound card with protection
I would like to connect the DAC outputs of my arduino board to my pc sound card input so that I can use my sounds card as an osciloscope.
I have two questions:
1- if I don't use an amplifier, how ...
3
votes
1answer
318 views
Arduino Due: Interrupt-based ADC hangs processing
I am trying to build an oscilloscope using an Arduino Due and an LCD. I have the LCD running perfectly and started working on using the ADC peripheral to sample signals. Here's what I have so far:
...
1
vote
0answers
83 views
Bluetooth help with Arduino Due
I have been able to establish a successful connection between an RN-42 Bluetooth module and Arduino Uno, but I could not do the same with an Arduino Due. The module connects to the phone but whatever ...
3
votes
1answer
46 views
Due : DMAC BTSIZE trimmed modulo 8192?
On Arduino Due, I set-up DMA transfers using direct control of memory mapped hardware registers.
There is a 16-bit BTSIZE field in CTRLA which indicates the number of (width sized) transfers. If I ...
0
votes
2answers
53 views
Permanent connections with Arduino Due
The Arduino Uno (for some models) has the ability to dislodge its IC chip. You can mount this on a piece of perfboard and, in essence, have a permanent connection. I will need the beefier Arduino Due, ...
0
votes
1answer
84 views
Arduino due - Getting 0xFF (garbage) from serial
I am developing application with serial communication with arduino due.
Like this:
while(1)
{
if(Serial2.available() > 0){
byte l_byData = Serial2.read ();
Serial.println(l_byData,HEX);
}
...
0
votes
1answer
226 views
Migrating from ATMega2560 to ARM based — Teensy vs Due?
I currently have a project that is working on an AtMega2560 platform (heavily derived off the Arduino Mega). It mainly involves a GPS module and SD card.
Going forward I am looking to add a few more ...
1
vote
0answers
60 views
Flash Arduino Due via UART
I would like to write code in Arduino language, compile it in the Arduino IDE, grab the resulting binary code, and flash it to the Due via the TX/RX UART pins, bypassing both the USB Programming Port ...
4
votes
0answers
135 views
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 ...