Arduino DUE is an microcontroller card based on the Atmel SAM3X8E ARM Cortex-M3 CPU. This is a 32bit ARM core MCU.
0
votes
0answers
4 views
Errors when deploying Simulink model to Arduino Due
I am trying to connect an Arduino Due to Simulink to run it in external mode. I am unable to successfully deploy to hardware.
I'm testing it with a blinking light model: A pulse generator connected ...
0
votes
0answers
9 views
Plotting a real time graph of SENSOR data FROM ARDUINO on PROCESSING, MATLAB OR PYTHON
I have an accelerometer connected to my arduino DUE to spit out data on my serial monitor as described in my earlier post pushing accelerometer data in packets from an arduino due to the pc and unto ...
0
votes
2answers
24 views
Are DAC pins useful for anything besides working with audio?
Whenever I run into information about DAC, it seems to be related to audio processing. Are there any other use cases where DAC might be useful, or have any advantages over regular ADC PWM output on an ...
1
vote
1answer
26 views
pushing accelerometer data in packets from an arduino due to the pc and unto processing
I'm quite a newbie to this and I've been struggling for sometime now with my school project, trying to find a way to send accelerometer data from my MMA7361 in data packets, I understand that I have ...
0
votes
1answer
16 views
433Mhz transmitter interference when using long cable, only on Arduino Due
When the 433 transmitter is wired close to the Arduino Due (within 12" away), it works as expected. But when I put it on the end of a 15' cable, it has the following 2 symptoms:
-All the other nearby ...
1
vote
1answer
17 views
USB detect on Arduino DUE
I want to know when something is connected to USB port by blinking an LED.
I suppose have to check PB10 UOTGVBOF, but how to do this ?
0
votes
0answers
8 views
Arduino DUE Bossac Lockup after Ubuntu Upgrade
I already asked my question in the Arduino Forum here: https://forum.arduino.cc/index.php?topic=353846.0 but got no answer so far. Thus I hope here might be people who have a hint for me.
Since I ...
0
votes
0answers
10 views
arduino due system timers
For the Arduino Mega, Leonardo, UNO ... it is mentioned that timer0 is used for system time functions like delay, mills() etc.
I did not find any information about DUE.
Which timers on DUE are ...
0
votes
0answers
42 views
Arduino Due upload firmware issue
I have Arduino Due on SAM3x8e. I'm on Ubuntu 14.04. Before today I uploaded firmware via terminal using those commands:
$ stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb
$ ...
0
votes
2answers
40 views
After moving project from Arduino Mega to Due, pushbuttons now erratically toggle multiple buttons
I've had a project running successfully for months on an Arduino Mega, and today I tried to swap the Mega for a Due to increase the speed. After making the change, the entire project is working ...
1
vote
0answers
33 views
Arduino Due native programming port
Arduino does not recommend to program the Due board via Native port as it is not reliable:
If the MCU crashed for some reason it is likely that the soft erase procedure won't work as this procedure ...
2
votes
2answers
31 views
Arduino due slow clock
To reduce the components amount I don't want to put the 32.768 kHz oscillator on my own Due.
Can I leave the corresponding XTAL inputs unconnected?
What is the main target of the slow clock?
What I ...
0
votes
0answers
25 views
println() changes values of variables
I have a function which returns a float value.
I want to see what value is returned so I print it just before the return statement.
Surprisingly, the value is 0 (it shouldn't be 0).
When I want to ...
0
votes
1answer
47 views
get current time in nanoseconds
On Arduino due, Is this possible to get the current time in nano seconds?
At 84Mhz, I guess it will always be a multiple of ~12ns.
And a perfect solution would read a register/variable rather than ...
0
votes
1answer
48 views
Writing data from Multiple sensors in Burst mode to an Arduino Due
I need help developing a simple sketch that can read data simultaneously from 3 analog accelerometers and send it in 'Burst' to be stored on an SD card, to reduce the effect of latency.
I used the ...
0
votes
1answer
59 views
arduino due-Python interfacing for high speed data rate
Four our project, I want to send data mesured by an Arduino due to a computer via Pyton very vast. So I tried to make a simple benchmark by sending 10240 int datas to determine the time it take. In ...
1
vote
2answers
82 views
Connecting high sampling rate DAC and ADC to arduino DUE, timer consideration
I'm in the echopen association, our goal is to create a low cost, open source echographic probe. In order to do that, we use an arduino due for the first step. For doing acoustic imaging, we use ...
0
votes
1answer
44 views
What changed in the new Due?
I recently purchased a batch of Due boards and find that they are cosmetically different. After attaching the Atmel-ICE and reading the firmware from both processors, I find that the firmware is ...
1
vote
1answer
21 views
Is it possible to setup a system based on Arduino Due running QNX?
I would like to create some QNX applications and test them in a hardware different than my virtual machine. Since Arduino Due board is based on the Atmel SAM3X8E ARM Cortex-M3 CPU and QNX® Neutrino® ...
2
votes
1answer
53 views
How to use the additional SPIs on Arduino Due
According to the following image it is possible to use a second SPI bus on the Arduino Due by using Serial1 and SCL1 as SCK0 for SPI (or Serial2 and SCK1).
source
However I did not find the code ...
-1
votes
3answers
55 views
expected initializer before void arduino
When I try to compile the following code in Arduino ,I get the error "expected initializer before 'void'".How can I get the code to work?
void setup() {
Serial.begin(9600);
}
float area = ...
0
votes
0answers
23 views
First recieved packet not displayed (Arduino with MRF24j40MA)
I'm trying to make two arduino card communicate, one is a sender and the other only receive packet from the first one and then display them.
My problem is that the first recieved packet is not ...
1
vote
1answer
145 views
Enabling pins of Arduino Due with direct port manipulation
I want to enable pin13 on my SAM3X8E using direct port manipulation. On this chip the pin is bit 27 in port B so I used PIOB->PIO_PER = 1<<27; to enable this pin but it doesn't work. This pin ...
0
votes
1answer
57 views
Arduino Serial.write sending more than 64 bytes
I am using an Arduino Due to collect a large amount of data from an encoder (about 1kb). Afterwards I need to send the collected data to a C# application I wrote over the serial port. I serialized ...
0
votes
3answers
72 views
Integrating an analog signal using Arduino Due
I have an 2 analog signal, and I want to calculate the difference between 2 signals (A0 and A1), then integrate an analog, but it doesn't work (I just started studying Arduino).
Please could you show ...
1
vote
1answer
26 views
arduino boards manager configuration
I installed the Arduino IDE 1.6.4, and used the "boards manager" to install the package for Arduino Due.
I am using c++11 in my project so i need to add the compiler.cpp.extra_flags=-std=gnu++11 like ...
0
votes
2answers
133 views
Adafruit DHT22 Library + Arduino Due not compiling?
i recently purchased a DHT22's and tried to get it to work using Adafruit's DHT library on Github.
When i compile it with a Arduino DUE, it gives me the following error:
...
-1
votes
2answers
41 views
Wrong code ouput, when the specific function runs more than once
If I run the following code, I get the correct output, and the path is displayed on the serial monitor. However when I run the code together with the commented out portion (in the code below) I don't ...
0
votes
1answer
35 views
Using arduino Due for camera control
Could the arduino Due take and send image data from 5MP camera module to PC in the following condition?
frame rate = 1fps
resolution = 2592 x 1944
format = 10 bit bayer raw RGB
interface : ...
0
votes
2answers
48 views
Why do only specific arduinos support the keyboard and mouse libraries?
The Arduino website suggests that only three boards are supported for the Mouse and Keyboard library page:
Leonardo
Micro
Due
What is special about those boards, that the other boards in the ...
1
vote
1answer
160 views
Arduino Due and BNO055 address in i2c mode
I have a project where I need to have several IMUs, the BNO055 shuttle board (I explained my project here), I manage to get the Euler angles from one BNO055 sensor, which have the address 0x29, ...
0
votes
0answers
163 views
Arduino Due and BNO055
For a physical activity monitoring project, I am developing a prototype based on an Arduino Due and several IMUs (BNO055 from Bosch).
I have to collect the data from the sensors simultaneously (3 for ...
0
votes
1answer
32 views
Arduino Due for camera control?
Could one use the Arduino Due to control camera module like OV5642 and send the data to spi device? My project is to capture image with OV5642 and then to send the image data(RGB565) to other device ...
0
votes
2answers
37 views
How to send keyboard signals to two separate computers (arduino due)
The arduino due has 2 micro-usb ports that you can connect to two separate computers. I need to send different keyboard signals to each computer. How would I do this?
0
votes
1answer
35 views
SimpleAudioPlayer + sleep function
I have tested the SimpleAudioPlayer example.
https://www.arduino.cc/en/Tutorial/SimpleAudioPlayer
This works fine, but when I add a sleep(1000) at the end of the loop() function, the music sounds ...
1
vote
1answer
50 views
Can I implement a LFM method on an Arduino? [closed]
Can I implement a LFM method for autocorrelation process using an Arduino?
For example if I have a signal input LFM as a real signal and other signal as an imaginer signal.
My question is can I ...
0
votes
1answer
53 views
Where are the Arduino Due registers?
Having most of my experience on ATmega chips, and just starting up with Arduino (to reduce hardware development time) I'm happy to see that the usual registers such as TIMSK0, PCICR, TCNT1H and others ...
1
vote
1answer
195 views
Read OUTPUT pin value in Arduino Due
I am trying to read the value of an output pin. online forums say that digitalRead(pinNum); should work, but that is not the case here. digitalRead always returns 0 (LOW).
This is the code:
int pin = ...
0
votes
2answers
91 views
How to disable Due USB power?
I need my Arduino Due to work only from external power supply, not from USB power. Is there any way to modify the circuit to allow this? I still need to keep USB communication, but it should happen ...
0
votes
3answers
474 views
Can I Implement a PLL on an Arduino?
Is it possible to create a system like a PLL using an Arduino?
I ask this because there are some parts in the PLL system, such as: phase detector, VCO, divider, and I don't know how to make for each ...
0
votes
0answers
43 views
Programming Arduino for Mindflex
I am learning brain wave programming from Tinkernut tutorial.
#include <IRremote.h>
#include <IRremoteInt.h>
#include <Brain.h>
IRsend irsend;
Brain brain(Serial);
const int ledPin ...
0
votes
0answers
268 views
How to use the native USB of the Arduino Due for high-speed communication?
All the Arduino examples involving communication via USB I could find use a virtual COM Port.
On the Arduino part it's
Serial.begin(baudrate);
Serial.write(byte);
And on the PC part it's just ...
0
votes
0answers
41 views
Can I use an Arduino Due as a flash drive?
More specifically, can I use an Arduino Due to have an interface that can plug in/out of a USB port on a computer, connect it to an SD card or similar via a sd card logging shield, and have it present ...
2
votes
2answers
243 views
How to read/write variables persistenly on Arduino Due (no EEPROM/shield)?
I am relatively new to Arduino and I am currently writing some code to control a relay board. The on/off times are provided by the user at run-time and should be stored persistently (EEPROM or flash) ...
0
votes
1answer
45 views
Can't drive long NeoPixel strips with Due or Duemilanove?
I spent a significant part of today developing a sprite movement library for a 30-pixel NeoPixel strip using my Arduino Duemilanove (ATmega 168). It works like a charm. However, if I change N_LEDS to ...
1
vote
1answer
95 views
CAN Bus without Transceivers
I am trying to set up a CAN-bus with its two nodes on the same Arduino. By Using an Arduino DUE without any transceivers. As my first experiment, I want to send a message from one CAN unit to the ...
0
votes
1answer
53 views
How to use an external clock with Due timer
I want to use an external clock signal as an interrupt for Due timer. How do I do that?I could not find any info on this over the net.
0
votes
0answers
29 views
Due ADC specs: fpbw
I'm trying to compute Johnson resistance noise in a simple resistor circuit. However, since all frequencies contribute equally, I am getting an answer of infinity.
It then dawned upon me that the ...
0
votes
0answers
58 views
I am running 1.6.5, but the folder says 1.6.3?
I just downloaded the latest version of the Arduino software (1.6.5). However, when I look into the Application Support folder under Library (I have a mac), I find that I have a folder named 1.6.3:
...
1
vote
0answers
11 views
Arduino IDE Board Manager: Unable to install Due on 1.6.5 [duplicate]
I have an Arduino Due I'd like to start using. I've been using Unos, Megas etc no problem. The newer IDEs have removed the Due support. I've been trying to install Due support through the Board ...