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.

Filter by
Sorted by
Tagged with
1
vote
1answer
597 views

Arduino Due connection with FLIR Lepton

I'm trying to connect a FLIR Lepton to an Arduino Due. A thread by pureengineering talks of rerouting some pins. I am not sure what they precisely mean. Does this rerouting mentioned in the link also ...
1
vote
1answer
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 ...
-2
votes
1answer
365 views

Power Arduino Due and 6 servo motor with Battery [closed]

I would like to create a project contains 6 servo motors and Arduino Due board, but I have no idea how to operate should I use only a 9V battery only or in addition to 4 AAA battery?
1
vote
1answer
917 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 ...
1
vote
3answers
2k 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
2k views

Arduino DUE deadlock problem, watchdog not working

I am using Arduino DUE in my project. The project is massive (about 7000 lines of code in total, with massive schematic), so I decided not to post the whole code and schematic, except explain the ...
2
votes
1answer
477 views

I2C communication between Arduino Due and Nano

I'm trying to communicate between two Arduino Due and Nano. Nano as Master and Due as a slave. As given in the library description Wire Lib When the master request for data from the slave, first it ...
8
votes
4answers
1k 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
1answer
217 views

Arduino Due for camera control? [closed]

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
645 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
2answers
17k 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 ...
0
votes
0answers
214 views

Use of a logic level converter with Arduino Due PWM

Maybe I am way over my head here, but here it is: I am trying to regulate a spindle RPM. The tachymeter part is now working flawlessly. Now I am on the PID part, to control and regulate that speed. ...
1
vote
1answer
294 views

Why is this IIR Filter unstable on the Arduino Due?

I am using an Accelerometer (on the MPU6050) and connected it to the Arduino Due. In order to filter the signal I am using an IIR Filter with the following transfer function: H(z) = Y(z)/X(z) = B/A ...
1
vote
1answer
427 views

How can I have 2 differents frequency on the 2 DAC outputs on an Arduino Due?

I would like to blink, using specific waveforms, 2 LED controlled by the 2 DAC output of the Arduino Due. I wrote this : #include "Waveforms.h" int i = 0; int sample; void setup()...
1
vote
1answer
574 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
2answers
3k 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 ...
-1
votes
1answer
324 views

Not able to upload program to “Arduino Due” [duplicate]

I'm not able to upload sketch on Arduino Due, using Programming Port. Even blink sketch from examples is not working. So tried with blank sketch, I got following messages.
0
votes
2answers
733 views

Serial1 is not reading the Xbee on a Arduino Due

I am trying to test simple communication between a Xbee on my Arduino Due and a Xbee linked to XTCU. I attached jumper wires from RX and TX to RX1 and TX1 (Serial 1 hardware port) but I cannot send or ...
2
votes
0answers
176 views

Interference in readings

I have an project which control a heat exchanger. I read 4 temperature sensors DS18B20, a distance with HC-SR04 Ultrasonic Sensor, and a flow with YF-S201 (with attach interrupt). I can turn on and ...
1
vote
1answer
283 views

OLED on Hardware SPI, on DUE

I want to use an OLED with DUE. I plan to connect it via hardware SPI. The Due has a 3X2 pin connector labeled SPI. Is it here where i connect the SCK and MOSI? If indeed, i connect it here, then ...
1
vote
1answer
1k 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
1answer
194 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
1answer
160 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 ...
3
votes
3answers
19k views

Why am I getting “fatal error: SoftwareSerial.h: No such file or directory”

I downloaded the Adafruit_GPS library from Adafruit and I'm trying to compile the example code (due_parsing) but I can't seem to get past this silly error: In file included from due_parsing.ino:15: /...
0
votes
1answer
1k views

PROGMEM on Arduino Due (ARM Cortex M3)

I've been working with the PROGMEM function on my Arduino Uno and I'm thinking about changing to the bigger Arduino Due which is based on a ARM Cortex M3 processor instead of the AVR processor on the ...
14
votes
1answer
355 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 ...
1
vote
5answers
5k 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
1answer
78 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 ...
2
votes
4answers
9k views

Unable to upload to Arduino Due using version 1.6.8 of SAM tools; bossac.exe throwing an error

I can successfully see the Arduino 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: C:\Users\user\AppData\Roaming\Arduino15\...
1
vote
1answer
552 views

View Arduino M0 SD card content on a computer

Recently I bought an Arduino M0 board and I'm using it in one of my projects, which logs GPS data into an SD card. Can an Arduino M0 be programmed as a USB SD Card reader? So that I don't have to ...
0
votes
1answer
543 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 ...
1
vote
2answers
341 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....
1
vote
1answer
1k views

Arduino Due Pinout with Explanations?

I am trying to understand what each pin on my Arduino Due is and what it is used for, and so I have been searching for things like "Arduino Due pinout", "Arduino Due pin mapping" and similar. The ...
5
votes
2answers
490 views

What is the proper way to implement PID?

I'm having some trouble conceptualizing how to go about implementing PID into my drone. There are a few ways I'm thinking about implementing the pipeline: Having one PID Object for each of the six ...
0
votes
1answer
108 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
1answer
400 views

Arduino Due unable to access library [closed]

I am unable to run code on Arduino Due that I earlier ran on an Arduino Uno. The error indicates it is unable to recognize the library. Could this library access problem be due to difference of the ...
0
votes
1answer
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 ...
1
vote
1answer
748 views

Arduino Due power supply

I have an Arduino Due. It communicate to the computer with the native usb port. It is also powered by the native port. Anyway, the connected sensors are pretty sensitive to the current, thus I would ...
7
votes
1answer
549 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 ...
0
votes
1answer
820 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
0answers
36 views

ADXL345 hangs the microcontroller as vibrations increase [duplicate]

I am using ADXL345 accelerometer with Adafruit_ADXL345 library for vibration measurement. I am reading acceleration at X, Y, Z-axis of a sensor placed on a vibrating platform.And serially sending it ...
0
votes
2answers
163 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
4answers
12k views

Arduino DUE Interrupt 1MHz

My Due is interfaces with a DAC which I need to update with freq 1MHz. The nice solution seems to be a timer interrupt. I found a thread here called "Arduino Due - creating an 8Mhz clock signal". I ...
-2
votes
1answer
1k views

Arduino Due DAC pins with 0V

I know the DACs on the Arduino Due only allow for a range of output voltages from 1/6*Vdd to 5/6*Vdd (see here). This suits my needs, for the most part. My question is if it is possible to have 0V on ...
0
votes
1answer
382 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 ...
1
vote
1answer
305 views

Serial write skips on Arduino Due

I bought Feetech SCS09 smart servos (also known as SCS009 or SCS0009). Please note that these servos are not regular PWM servos, they are devices that communicate with board using Serial connection ...
4
votes
4answers
3k views

Library to set internal analog gain of the Arduino?

My original question was if there is a library that covers the internal comparator and differential and gain modes for the Arduino Uno, Mega 2560, Leonardo, Due, Zero, M0. The answer is obvious: "No". ...
1
vote
0answers
400 views

Time to read/write memory on the DUE

I am onto a project where a need more memory. I saw the 23LC1024 chips are very popular with the Arduino DUE. A very helpful person told me he did some timing tests on the 23LC1024 and a page read/...
5
votes
3answers
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(){ ...
-2
votes
1answer
253 views

Why would digital outputs on Arduino Due be less than 3.3V?

We are working on a project that requires a temperature sensor to tell the Arduino Due to turn a digital pin to HIGH (3.3V) to active a relay so a heating pad can be powered on. We have diagnosed all ...

1
3 4
5
6 7
9