Questions tagged [arduino-due]
Arduino DUE is an microcontroller card based on the Atmel SAM3X8E ARM Cortex-M3 CPU. This is a 32bit ARM core MCU.
462 questions
3
votes
1
answer
2k
views
Creating a sine wave with a DAC and feeding it back
I want to produce a digital sine wave, send it to DAC0, and then receive it back as input on A0 and plot the graph. I am using an Arduino Due. I wrote the following code:
#define maxSamplesNum 120
#...
0
votes
1
answer
98
views
Arduino DUE - I Have enabled A14, will this break anything?
I developed a quick custom PCB using the ATSAM3X8EA-AU as I wanted to use Arduino to program it as an Arduino DUE, I kept most of the schematic the same, however I used pin A14 pin 52 as an analog ...
0
votes
1
answer
13k
views
SPI Slave Programming for Arduino
In my application Arduino Due is configured as master and instead of the actual slave device I am making use of Arduino Uno as Slave.I will share the Master code which I have worked out. Can Anyone ...
2
votes
3
answers
34k
views
How to connect Arduino 5v pin with multiple things?
I am trying to connect a Bluetooth module and a gas sensor to Arduino.
Bluetooth module: HM-10
Gas sensor: MQ-2
I read the guides for the HM-10 and MQ-2 and they both need to use the Arduino's 5v pin. ...
2
votes
2
answers
96
views
DWT to measure time between rising edge of two pulse waves
I have given two square waves as input to an Arduino Due's digital pins, and I'm trying to find the propagation delay between them. For this purpose, instead of using micros() I want nanoseconds ...
-1
votes
2
answers
1k
views
AnalogRead too slow... Faster alternative?
For a program that I'm working on, I want to get an accurate reading from a noisy pressure sensor. So, the idea that I have is to do a thousand AnalogRead commands on the same port very quickly and ...
1
vote
1
answer
1k
views
UDPSendReceiveString example using Arduino Due with ENC28J60 Ethernet Module
I was trying to learn how to use UDP protocol to use in my automation project to send commands to an Arduino Due on ethernet with an ENC28J60 breakout board which I have connected to the Due from SPI ...
-1
votes
1
answer
561
views
SPI with DMA in a Arduino Due
I have a project where I need to store data (~16 Mo) on a memory and be able to fetch the data fast (<36000 bits/s) with DMA because I have other signals to take care of.
Currently I use an SD card ...
3
votes
2
answers
1k
views
Send data through SPI with DMA
I need to send data as fast as possible from an Arduino DUE to an extern DAC. To do so I use DMA & SPI and I want DMA to fetch data from the memory and send it to the SPI which will just relay it ...
1
vote
0
answers
242
views
LCD Wiki screen (ILI9341) works on Mega. How to get it working on the Due?
I have this exact LCD shield: http://www.lcdwiki.com/2.8inch_Arduino_Display
SKU: MAR2808
Driver IC: ILI9341
It works on an Arduino Mega 2560 using the old libraries the manufacturer (I assume) ...
0
votes
1
answer
5k
views
fatal error: avr\wdt.h: No such file or directory in Arduino Due
I am using an Arduino Due for vehicle tracking with a GPS/GPRS device. Before using Arduino Due I used an Arduino Uno. When I tryi to load my code in the Arduino Due, it shows me "fatal error: ...
2
votes
1
answer
382
views
Best Solution to Parallel UART reads with Arduino Due
I have 4 Arduino boards pushing data over UART to 4 serial ports on the Arduino Due at 115200 baud rate.
Data format - <Short URL>,<Number of the Node>
Eg: px.ht/d/mCxG,1"
Arduino Due ...
3
votes
1
answer
554
views
Has anyone modified a 16x2 LCD shield to work with Arduino DUE?
Since the DUE works on 3.3 volts has anyone successfully modified a 5V 16x2 LCD shield to work with Arduino DUE? I'm thinking 3.3V will be seen as a logic "1"
by the 5V LCD shield and there ...
1
vote
1
answer
322
views
Arduino and Processing Call and response not working
I have been trying to develop a connection from the arduino IDE to Processing so I can send data measured on the arduino Pins to processing to display.
I first packaged the 10-bit integers I was ...
2
votes
5
answers
317
views
How to remove Arduino Due and Mega shields without bending pins?
What's your suggested technique for reliably removing Arduino Due and Mega shields while minimizing the chance of bending the strip header pins?
For example, there's a similar discussion here where ...