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
1
vote
1
answer
3k
views
Recording and playback sound
I'm working in an art project, is some kind of loop between contact microphones and walkie talkies. I want to create some kind of noisy feedback.
I'm putting one walkie-talkie inside of a bottle, and ...
2
votes
2
answers
4k
views
Is Arduino Ethernet shield compatible with arduino due?
Arduino Due's operating voltage is 3.3 volt and Ethernet shield operates on 5 volt supply. So my question is that this Ethernet shield will work on an Arduino Due and also if it will not harm the ...
0
votes
2
answers
755
views
Reducing noise and finding sampling rate
I have Arduino Due R3 (84MHz) and I am trying to find the mean of value from AnalogRead. I have to set the sampling rate of 8000 samples/second with 4 channels. I tried using for loop for this purpose....
1
vote
1
answer
727
views
Compilation issues on Arduino Due
I wrote an code on Arduino and I getting compilation errors. I am using Arduino Due . I wrote the following code :
void setup() {
Serial.begin(9600);
analogWriteResolution(12); // set the analog ...
0
votes
2
answers
191
views
Hardware interrupts for buttons not directly assigned to pins
The Adafruit LCD shield offers an LCD and access to 4 button, using only a two wire connection with the Arduino.
This is achieved with the MCP23017 I2C port expander IC.
These buttons are not ...
2
votes
0
answers
385
views
Sleep mode Arduino Due through IR receiver control
I need to put my Arduino Due into sleep mode in order to consume less power. My Arduino Due receives IR data and does some work with it, but I need to make it sleep until there is no data. If data ...
2
votes
2
answers
13k
views
How to choose SDA/SCL pair on Arduino Due?
On Arduino Due, there are two pairs of SDA/SCL pins that I can use for I2C. There is SDA0 and SCL0 at, respectively, pins 20 and 21 and another near AREF. How do I choose which one of them I use? I ...
0
votes
2
answers
3k
views
Arduino DUE samples per second with the DAC
I want to know how many samples per second the arduino due DAC can generate, I need to generate an ultrasonic signal (40Khz), the arduino due is not going to do anything else that generate this ...
-1
votes
1
answer
2k
views
Cannot locate Rx Tx pins on SIM800a GSM module
I recently bought a SIM800a GSM module in India and I am unable to find the Rx Tx pins of the module to make calls using a Arduino duimilanove.
The main problem is also that I can't find the data ...
8
votes
3
answers
42k
views
Arduino Due vs Mega 2560
What can an Arduino Due do that a Mega 2560 can't? What can a Mega 2560 do that a Due can't? I've heard the Due is 3.3V so it can't work with most shields.
1
vote
1
answer
50
views
Persistence of user input after reboot
I am creating an application where user input is required. After a user browses through available choices (via buttons and LCD) depending on the choice of the user a function is run from several ...
1
vote
2
answers
368
views
Scheduled loops using same function
I am using an Arduino due and have multiple schedules running at the same time. I am using this Library.
I have a function that 3 different loops use. Two of the loops are driven by user interaction ...
2
votes
0
answers
202
views
Arduino Due, program not there after power off
When i program my arduino Due after a RESET, my program is still there.
However, when i power off my Due and then turn it back on, no program is there!
There is no persistence in the program and i ...
2
votes
0
answers
238
views
attachInterrupt HIGH
I'm trying to understand the implementation of attachInterrupt. For LOW, CHANGE, RISING and FALLING it seems simple enough; it sets some chip-specific registers and stores the given callback in ...
0
votes
2
answers
111
views
Advice needed, commercializing an Arduino Due project
We have a project using an Arduino Due, and we are looking to commercialize the project. How would one typically proceed? Would you use the Arduino Due inside the project? This seems very amateur.
...
1
vote
2
answers
419
views
Did I fry my DUE by powering it from a external source and USB at the same time? If so, why?
I guess I just fried my second DUE in a week. The first I didn't really see what happened, but I couldn't upload any sketches, even if the computer could recognize it, and the SAM would get really hot....
0
votes
2
answers
5k
views
Fastest communication between Arduino and PC
I am using an Arduino 2 which collects data from a set of microphones and stores it in an array of unsigned short of 40000 elements and sends them to the PC via Serial USB.
It is working but I'd ...
0
votes
1
answer
1k
views
Trouble while using Arduino DUE as programmer [duplicate]
I'm trying to use the arduino DUE board as a AVR Programmer. My target device is atmega328p. After uploading the ArduinoISP into the DUE Board. I've tried to let a pin toggle using the following code:...
0
votes
1
answer
876
views
Measuring ADC sample rate - Arduino DUE
I want to measure the conversion rate of an arduino DUE. I know I could just take it from the datasheet but I need to measure it because I am running the ADC in free running mode. Hints are welcome, I ...
0
votes
1
answer
530
views
Arduino DUE as a FTDI programmer
I want to use Arduino DUE board as a FTDI programmer.
The task is to program ESP32 module which is connected to the Arduino Serial port.
I can use only DUE Native port. There is no DUE programming ...
2
votes
1
answer
3k
views
while(1) loop blocks program to enter interrupt
I want to build a program in C that enables / disables a passive matrix display. But my problem occurs before I can even implement one function of this display.
I have a simple switch connected to ...
0
votes
1
answer
967
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() {
...
2
votes
1
answer
499
views
Sim800L's library can not compile on Arduino Due
Sim800L's library can not compile on Arduino Due. Is there any way to create a library for Arduino Due?
#include <Sim800l.h>
#include <SoftwareSerial.h>
Sim800l Sim800l;
char* text;
char*...
1
vote
2
answers
7k
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
1
answer
5k
views
SerialUSB on Arduino Due
I'm starting fiddling with a Due but I can't seem to be able to communicate over USB with it. Here is my code:
int bauds = 9600;
void setup() {
SerialUSB.begin(bauds);
}
void loop() {
if (...