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
0
votes
1
answer
75
views
ESP8266EX along with Arduino Due rev3 to check wifi status
Hi i am using ESP8266EX along with Arduino Due rev3 to check wifi status. when i compile my following sketch compiler give me error
User\Awais\Document\Arduino\liberaries\espsoftserialmaster\...
0
votes
1
answer
188
views
MAX232 chip fails to initialize properly with arduino
I have connected a MAX232 chip for RS232 communication with my Arduino.
The chip input is connected to Arduino Tx and it is getting power from external 3.3 volt dc power source.
My Arduino is also ...
-1
votes
1
answer
260
views
ssPin, resetPin, updatePin, ps0, ps1, osk - was not declared in this scope
The code below produces the error:
ssPin was not declared in this scope
This error is repeated for all elements of DDS, i.e. ssPin, resetPin, updatePin, ps0, ps1 and osk
Can anyone spot the ...
1
vote
0
answers
336
views
Blink example compilation error
I just installed the Arduino IDE on Mac and connected the programming port to my Arduino Due. I selected the corresponding board from Tools (though not sure which ATMEL programmer I should choose) I ...
0
votes
1
answer
1k
views
Utilizing two different serial ports simultaneously on a due
I am trying to understand how the serial ports are configured on the due board. Please correct me if i'm wrong, but to my understanding, the due has:
Four separate serial ports ("serial", and "serial ...
0
votes
1
answer
158
views
Rc receiver giving wrong values when controlling servo
So I'm building a helicopter. That why I need a receiver (tgy 9x) to read the values from my controller. Those values get passed to my Arduino due where some calculation happen and then get sent to ...
-2
votes
1
answer
172
views
USB reset fails on arduino due because of 5v on digital pins
I have the signal channels of four 5v magnetic encoders connected directly to the digital pins of the arduino due. I am aware that this is not allowed according to the specification which says that ...
2
votes
0
answers
440
views
Series of µsec pulse generation using Arduino Due
I'm working on a project in which I need a series of very accurate pulses containing 2 shots in every pulse. The pulse should have 100µsec on time followed by 300ms off time. But when I'm programming ...
0
votes
2
answers
1k
views
Code compatibility with Arduino Due
I am currently working on a quadcopter project that involves an MPU6050 accelerometer+gyroscope module, an ultrasonic sensor and control of electronic speed controllers. I have used existing examples ...
1
vote
1
answer
8k
views
Only getting error from ESP8266 AT commands
I am trying to get the ESP8266 work with Arduino AT commands. I am using the due. How do I get the ESP8266 to respond with anything other than ERROR?
Here is the current serial output:
AT
ERROR
Here ...
0
votes
2
answers
2k
views
LCD not displaying text
I am working with an Arduino due and currently using the Arduino liquid crystal library to display data on an LCD screen (mc42004A6wk-bnmlw) which uses the Hitachi HD44780 controller. The LCD has been ...
1
vote
1
answer
1k
views
Communication over UDP between Dues with Arduino WiFi Shield
I'm using the Arduino WiFi Shield to make two Arduinos Due communicate using UDP. The first node to send a message (the Client) doesn't always receive a reply from the other node (the Server). The ...
9
votes
3
answers
2k
views
delay(time); vs if(millis()-previous>time); and drift
Going through an old project, I had code on two Arduino Due that looked like this
void loop()
{
foo();
delay(time);
}
taking to heart the majority of literature on using delay(); I recoded this ...
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. ...
1
vote
1
answer
1k
views
I2C Packet ocasionally send a garbage data
I have a project with Arduino working as I2C slave.
The master request data each 300ms.
The code of Arduino is:
/*
Name: SimpleClass_Applcation.ino
Created: 5/26/2017 4:18:28 PM
Author: ...
1
vote
1
answer
2k
views
L and ON keeps blinking
I am not sure why the ON LED and the L LED keeps blinking on my Arduino.
I was just trying to implement a simple circuit using breadboard, and everything worked fine until I unplugged one wire with ...
1
vote
1
answer
2k
views
Arduino Due's clock frequency
I want to change the clock frequency of the Arduino Due. The default value of the main clock, according to the SAM micro-controller, is 4 Mhz. But I found in some forums that it is 84 Mhz. But I need ...
1
vote
6
answers
7k
views
What is a faster alternative to parseInt()?
I'm making an LED spectrum analyzer with an Arduino Due and my PC. The audio processing is done on the PC, and then sent to the Arduino. The exact data sent is a 'coordinate', or more specifically, a ...
0
votes
1
answer
191
views
Is the Arduino Due compatible with a Dual VNH5019 Motor Driver Shield?
I'm planning on buying an Arduino Due and there is a shield I would like to attach to it. I have seen a lot of things saying that some shields are not compatible with Arduino Due... I was wondering if ...
0
votes
1
answer
178
views
Including Arduino library in a Makefile for Due
I'm currently using a Makefile for the Arduino Due I've found on Github (with some modifications). It's useful to me cause it allows me to add a static library for cryptographic functions I need and I ...
1
vote
1
answer
1k
views
Reduce PWM Frequency Arduino DUE
I'm newbie in arduino due. I need to reduce the default PWM frequency of arduino Due. Anyone have any tutorial to do this? (Frequencys like 25hz, 50Hz for example)
I read in some posts, if i change ...
0
votes
1
answer
830
views
Comparison of Board Shape between Arduino MEGA and Arduino DUE
I'm using KiCAD to design boards, and while it has a lot of Arduino templates, it doesn't have one for the Arduino Due. Now, I've did some searching, and it looks like the Arduino MEGA is very similar ...
0
votes
1
answer
537
views
Arduino Due not properly detecting SD card
I have an SD breakout for my Due that isn't properly detecting the SD card. On one card, it cannot detect at all, and the other it says that the SD isn't formatted with FAT, even though it is. Here is ...
5
votes
3
answers
1k
views
Sizeof variables and Due's RAM
I set out to see how much space some arrays have. I used this test code
bool state = false;
uint16_t BuffA[46000];
uint16_t BuffB[20000];
uint16_t BuffC[20000];
uint16_t all = 0;
void setup(){
...
1
vote
4
answers
3k
views
How to speed up Due ADC
I'm doing a project where in I'm using Arduino Due to measure the time difference of arrival of signals to four piezoelectric sensors. The piezo sensors where glued on a board and we want to localize ...