We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
0answers
43 views

Creating a sine with PWM Arduino DUE

I've been trying to create a sine wave using the pwm function of the Arduino DUE. The sine wave has te be at higher rates than the analogWrite() function can handle, so I've been using the native ...
0
votes
1answer
48 views

Variable sets to 32767 - MATLAB Arduino

I am running out of ideas of what may be causing this problem, and I would appreciate some help identifying anything I am overlooking. Quick Problem Summary A variable gets set to 32767 quite often ...
0
votes
0answers
32 views

Arduino Due: Measuring the time between pulses

I have a 'pulse train' generated from a photo interrupter and slotted disc mounted on a rotating shaft. My goal is to measure the time between each rising edge. I have looked at the data sheet for ...
0
votes
2answers
34 views

Creating and Arduino synthesizer without the tone library

I am thinking about trying to make an Arduino synthesizer using the true analog output on the Due. However I would like to be able to play multiple notes at the same time on a single buzzer. Is this ...
-3
votes
0answers
24 views

DUE stops transmitting to Raspberry Pi

I have an Arduino DUE connected to a Raspberry Pi which is used to read sensors via NodeRed Dashboard. After approximately 10 minutes the Arduino DUE suddenly stops transmitting data to the Raspberry ...
0
votes
1answer
23 views

Arduino Due 16U2 Programming Port Documentation

Are there any documentation or whatsoever on what the 16U2 does when trying to program the Sam3X in Arduino Due? I reallynwant to know what's wrong with my made up board but can't get pass the No ...
0
votes
1answer
34 views

Running many devices on 5V pin. How to provide external power

I'm using my Arduino DUE 5V pin to power a lot of sensors and I'm worried about the drop in current. I'm powering the board using the USB port. Is this the correct way or is there a different way of ...
0
votes
0answers
33 views

No Device Found On Bare-bones SAM3X Chip

0 I've been trying to make my own board with a SAM3X and W5500 (Arduino Ethernet Shield) on it with those two chips connected via SPI. From the Arduino Due Board, most of the stuff, we don't need. ...
0
votes
1answer
89 views

How to decrease delay for String concatenation + Arduino Due

In my project I need to add a delimiter between integer numbers. In the following code. I add a "," between integer numbers obtained from inputsig matrix. The problem is that concatenation of these ...
0
votes
0answers
43 views

pin change interrupt on arduino Due

Greeting! I am finding it difficult setting up a pin change interrupt on an arm board ( I am using Arduino due). I found a sample online which I have used but I discovered that when ever an interrupt ...
0
votes
1answer
66 views

Arduino Due as Triggered DMA SPI Slave is possible?

Is it possible for arduino Due to act as DMA-SPI-slave device which can exchange SPI data (uint16_t TX[10] and RX[10]) in triggered slave mode? I have a setup in which time period is very short (~...
0
votes
2answers
47 views

Serial.availableForWrite versus Serial.flush

Is there a difference between the following two line codes? while (Serial.availableForWrite <= 0) {} versus Serial.flush() Thanks!
0
votes
1answer
52 views

Soft wdt reset error on NodeMCU (ESP8266)

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace. I am using SIM808 module and DFRobot_sim808 as the library. 0x4010030d: ...
0
votes
1answer
30 views

Does MFRC522 supports native SPI of Arduino Due?

Does MFRC522 library support native SPI interface of Arduino Due? By native SPI I mean this one: I came here with this question because the initializer asks for 2 pins: SS and Reset: MFRC522(byte ...
0
votes
1answer
34 views

Which Arduino-compatible microcontroller for 2 continuous analog audio recording and 2 digital pin snapshots every second?

Apologies if the title is not very well worded. I'm new to electronics and trying to learn more about embedded systems too. I have a small project that requires recording an analog audio input at 8-...
0
votes
0answers
44 views

Voice receiver arduino

I have the following situation. I would like to develop a bracelet prototype that identifies when a person is on the go and also issue a question to the person for that bracelet and get an ...
1
vote
1answer
99 views

Motor with sinusoidal motion

I need to run a motor to have a harmonic motion with specified amplitude and frequency ( harmonic motion mean that the angular position of the motor is a sine function of the time). I’m Looking to do ...
0
votes
1answer
29 views

Arduino Due Digital Inputs without Response

On two of my Arduino Due, when connecting the pin 3.3V to any digital inputs (37,36,35,34), no serial message nor LED_BUILTIN is thrown as output, only the Test message. Digital Pins are set as ...
0
votes
0answers
21 views

WiFiServer Stops After Reconnection to WiFi

In the following code, the Arduino is reconnecting to the WiFi after several loops. The idea is to check and re-establish WiFi connection every 30 minutes or so. However, the WiFiServer seems to ...
0
votes
0answers
40 views

Arduino Due ADXL345 Interference

I am working with an Arduino Due and the Analog ADXL345 through a module following this tutorial, with the wire.h library at Fast Speed (400kHz), the Accelerometer Sampling at 800Hz (for the Maximum ...
1
vote
1answer
790 views

Faster Arduino Mega

I am using Arduino Mega 2560 for interfacing devices such as the Maxim MAX22500E and TI ADS1241. Now I am requiring more speed for hopefully the same coding, and I am thinking in the Arduino Due (84 ...
2
votes
0answers
33 views

Arduino due erase button and power switching

Last days I have been investigatin schematics of arduino due board. The purpose of proper understanding of schematics in crucial for me, beacuse I indend to build myself my own board with some minor ...
2
votes
1answer
69 views

Arduino DUE and 5V logic sensor?

For an application I use Arduino DUE and VNH2SP30 as the motor driver.I think this motor drive is only compatible with 5V logic but DUE provide 3.3V logic.Will my problem be solved if I use logic ...
1
vote
1answer
43 views

Convert Arduino MEGA Code to Arduino DUE Code?

I've been working with MEGA before. This code works completely with MEGA. I'm still at beginner level in Arduino. Q: How do I adapt this code to DUE? Note: I'm asking this question because I think ...
1
vote
1answer
41 views

Why the global variables info is not shown for Arduino Due in IDE?

If I compile a sketch for the Arduino Mega: Sketch uses 1804 bytes (0%) of program storage space. Maximum is 253952 bytes. Global variables use 188 bytes (2%) of dynamic memory, leaving 8004 bytes ...
1
vote
1answer
101 views

Arduino communication protocol with python - beyond pyserial and Arduino example

TL;DR does someone know of a advance and reliable/redudent USB protocol for communicating between a raspberry pi and Arduino due (native port) I am trying to learn how to build a little robot which I ...
0
votes
0answers
32 views

Combining ADC IRQ with SPI peripherals results in SPI not working

I'm working on a pet project that requires ADC, SD card (SPI interface, SdFat library) and a display in the future (also SPI). I have put together a piece of code that initializes ADC at the highest ...
1
vote
1answer
289 views

Trouble with setting the PWM frequency for Arduino Due

I'm using Arduino Due and I set the analog read and write resolution to 12-bit for better resolution. Basically all I do is to vary PWM duty cycle by controlling analog DC input voltage from 0 to 3.3V....
1
vote
0answers
56 views

Reading data by port manipulation (Arduino Due)

I have shorted the 23rd pin of port A with 3.3v output pin (i.e. tieing 23rd pin of port A to logic high). Now I am trying to read the 23rd pin of port A by using following code- void setup() { ...
0
votes
0answers
26 views

Failure after audio Conversion

Using adafruit's Music Maker on an arduino due I am playing WAV files. The program and hardware work great except for two exceptions. One 8 second and one 14 second audio clips that were converted ...
0
votes
1answer
24 views

What type of power supply is the Arduino Due’s 5v pin and what is its current?

I’m looking to use a Futaba Servo with my arduino Due and was told it requires a “high current 5 volt supply” and I don’t know much about current so excuse my arrogance. I know the arduino Due has a 5 ...
0
votes
0answers
45 views

arduino due SPI

I'm trying to get spi communication to work on my due, but I am getting some unexpected results. I know how to use SPI on the Uno, Nano and Mega board but somethings happening to the Due. I connected ...
0
votes
0answers
17 views

Arduino Due and Mega sensor shield control of a 12v dc motor not working

const int pwm = 3 ; const int in_1 = 18 ; const int in_2 = 19 ; //For providing logic to L298 IC to choose the direction of the DC motor void setup() { Serial.begin(9600); pinMode(pwm,OUTPUT) ; ...
0
votes
1answer
69 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 ...
1
vote
1answer
40 views

Programfault when dereferencing a 64bit int on due

I am running into a strange behaviour with my code. The following works without problems on an Arduino Nano but it seems to crash on a DUE void putData64(byte* packet, int pos, uint64_t data) { ...
0
votes
0answers
78 views

Help Connecting Lidar sensor over SPI to arduino Due?

I'm very new to Arduino and have never used the SPI protocol before. I've tried following tutorials online, but my SPI.transfer always returns a value of 255 whether the sensor is connected or not. ...
0
votes
0answers
32 views

BLUETOOTH MODULES Arduino

I am new to the world of electronics so please forgive me if I ask stupid questions. I would like to ask if there is a difference between Bluetooth Modules that state: "for Arduino" as well as those ...
-1
votes
2answers
58 views

Problem of repetition

I have encountered a problem concerning the repetition of the program that means it executes once (since the sensor passes to 1 it calculates 5 seconds (the sensor is still at 1) after the lamp is lit)...
0
votes
0answers
32 views

Arduino_Debug doesn't successfully upload sketch to Arduino if JAVA is not installed

I use arduino_debug to upload my sketch to an Arduino Mega 2560 and to an Arduino Due from my application (Windows). I saw the following issue: When JAVA is not installed or it was installed only ...
0
votes
1answer
106 views

Digital map in A* search algorithm in Arduino [closed]

I am building an Automated Guided Vehicle as my graduation project. I'm new to path-finding algorithms and I've only worked with small projects based on Arduino as of now. I've chosen A* search after ...
0
votes
0answers
44 views

SIM800L save message to draft in sim memory

I want to save some data in sim memory as draft message and later read it. I am Using Arduino DUE and SIM800L Basically my main target is to keep in check the total uptime(approximate, error of upto 2-...
0
votes
0answers
28 views

Arduino Due Atmel IC heats up

When i tried powering the board the Atmel IC heats up and led goes of after a second .the board does not get detected on my IDE software . 1) I have tried out finding the issues with the board and ...
0
votes
0answers
136 views

Reasons Flash Page is Locked Due

Using the Arduino Due on a project, I have found that I commonly run into the issue Flash Page is Locked when attempting to upload. I have used the library write functions of DueFlashStorage that ...
0
votes
0answers
73 views

Problem I²C Communication between Arduinos

My Problem seems to be that my I²C slave randomly disconnects. I have an Arduino Due communicating with a Arduino Chestnut board (bought hardware). I now measure data with the Due and then send the ...
0
votes
0answers
32 views

Arduino Due Custom Clock Output

I have Arduino Due, and I want it to output clock at 3.072MHz (which is a clock rate used for I2S) How do I go about this? I tried the following code, but it doesn't give the exact rate, and I ...
0
votes
1answer
181 views

timer library on Arduino DUE

I'm trying to call an interrupt routine (let's call it handler() ) every second on my arduino DUE. I thought the simplest way to do this was to use this library but it seems that i don't know how to ...
0
votes
0answers
23 views

Bool function for color variables

I am new of using Arduino. I have seen code for color variables that has uses bool function. Is there anyone who can say me how this function connect to the colors of RGB LED matrix? This code has ...
0
votes
1answer
445 views

Issues with I2C and Wire.Available()

I am working on a project which requires communication from an Arduino Due (Master) and an FDC2214Q1 C to D IC (Slave), but there is some variability as to whether the code works or not depending on ...
1
vote
0answers
58 views

Using ERASE button as PIO on Due

I'm working on a demo program for which I want to use minimal resources: all I need is one LED and one pushbutton. I'd very much like to use on-board resources. The user LED (PB27) is fine (I'd have ...
0
votes
0answers
132 views

AD7606 DAQ and datalogging

I'm making a Data Acquisition System for force impact usign an AD7606 from Analog Devices, an Arduino DUE and a load cell. I already tested it following this guide an making the proper changes for ...