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
1answer
26 views

Gauss solver for IIR filter

I write a piece of code in online GDB using c++, the code calculates some coefficients for a IIR filter which tries to approximate a fractional derivative and integral for a fractional PID control. ...
1
vote
0answers
25 views

How to access native USB port of Arduino Due on Synology NAS?

I would like to flash my Arduino Due from my Synology DS218+ NAS which runs on an Intel 64bit Linux-derivate platform. Previously, I was able to flash a Mega 2560 from this NAS via avrdude and ...
0
votes
0answers
10 views

Newbie trying to interface MLX90614 with Arduino Due

Im a newbie and Im trying to interface the temperature sensor mlx90614 to the arduino due using i2c bus. After a lot of digging I found this code which works,but it works only on the sda(20),scl(21) ...
0
votes
0answers
27 views

Wire library (#include utility/twi.h) is not working

I have an Arduino DUE and I recently purchased a TCA9548A I2C Multiplexer from Adafruit to control multiple time of flight sensors. While reading Adafruit's documentation on how to use it I used their ...
0
votes
0answers
19 views

Newbie interfacing MLX90614 with arduino Due (Atmel3X8E)

I am a newbie trying to interface the infrared temperature sensor MLX90614 with the arduino Due. But it keeps sending out junk values in the serial monitor. I've tried it out on the Arduino Mega and ...
3
votes
4answers
5k views

Newbie Using Brown Out detector on Arduino Due for saving variables to eeprom?

Hi I'm a newbie and working on a project with Arduino Due(Atmel3X8E).I want to try and save the important variables to the eeprom during a power outage,using the brown out detector.Is it possible to ...
0
votes
1answer
31 views

Servo Program Questions

Hi programming in arduino, I am trying to get a nested for loop inside a for loop with industrial servo which used PUL +- DIR+- (bought motor off amazon). My goal is to get the puls delay to increase....
1
vote
1answer
42 views

How to create an inverted PWM on the Due via software

Hello I am i need of a piece of code that lets me invert a PWM signal of two PWM pins on the due. Example D1 will be 101010 and D2 will be 010101. Is it possible? Im pretty limited in my options ...
0
votes
1answer
29 views

How many I2C lines does the Arduino Due have?

According to the Arduino pin Mapping 20 PB12 SDA 3 6 21 PB13 SCL 3 6 70 PA17 SDA1 3 6 71 PA18 SCL2 15 9 The first one seems pretty obvious, the second one though is ...
0
votes
2answers
47 views

Is it possible to use the Arduino Due's specials pins for digital writing and reading?

Hello the arduino documentation on the due specifies the pin mapping of the pins.I am making a custom board using the dues schematics and i am running still a bit low on pins. Also some of the special ...
0
votes
2answers
65 views

Interfacing Arduino with Python Serial

I am implementing an FIR filter using Arduino. I am using an input signal as an audio signal. The audio signal has a duration of 3 seconds with total samples, 66150. What I am doing is reading this ...
0
votes
1answer
34 views

Reading multiple pins via registers on the Arduino Due

I would like to read multiple pins at once in Arduino Due via registers just like PINB, PINC, PIND of the arduino uno. I know that the pins will be scattered to multiple registers, but i deduce it ...
0
votes
0answers
29 views

Arduino Due 9-bit serial - Can core Due Libraries be modified to get this functionality similar to Mega and Uno?

Need help to see if I can get an Arduino due to receive and send 9-bit com as already implemented on AVRs like Uno, Mega and even teensy boards, by modifying hardware serial cores. Have not found any ...
0
votes
0answers
26 views

Arduino Due PWM and Interrupt pins

PWM and Interrupts on the Arduino Due can be achieved by ALL its GPIO pins but not all GPIO pins can perfom these task the same. I would like to know: What pins have the highest PWM frequency ? ...
0
votes
1answer
47 views

Which arduino will be suitable with bill acceptor

I want to connect a bill acceptor (protocol ID003) and 3 switches and an Ethernet shield to Arduino. I am building a system that accepts bill and pass on the information to our software. Which Arduino ...
0
votes
1answer
40 views

Porting “far” flash memory access from Arduino Mega to Due

I have a project that runs on the Arduino Mega 2560 which takes up almost the complete amount of flash memory available (https://github.com/fredlcore/bsb_lan/blob/master/BSB_lan.ino). Because of this, ...
0
votes
1answer
37 views

PC not recognizing Arduino when working with a class and MIDIUSB library

I've recently bought an Arduo Due to create some sort of a Midi controller together with the MIDIUSB library. I have create a simple a test program with 1 potentiometer (without the use of a class) ...
0
votes
0answers
24 views

Understanding SAM3x8e boot program. Misunderstanding the datasheet

I'm trying to make my own firmware uploader for the Arduino DUE by using an ESP32. While reading through the datasheet I saw that once there's data transmitted over the UART port, the sam3x8e will ...
0
votes
1answer
53 views

Circuit requirement for Arduino Due custom circuit without the ATMEGA16U2

I would like to create a custom Arduino board based on the Arduino Due. Upon looking at the Due's schematics under the documentation tab there are some stuff that i do not need and removed them. the ...
0
votes
0answers
23 views

how to wrire into the contents of the registers in ADMV1013 up converter using arduino Due?

There are nine registers inside and the contents of the registers can be changed to perform several operations. The link of the data-sheet is given here(Page 26). The write cycle sampling must be ...
0
votes
0answers
25 views

Program the Arduino Due with the ESP32

I'm trying to do OTA firmware updates for the Arduino Due with the ESP32. Now so far I'm able to get the firmware from a website and transfer it over UART. Now I'm looking to get the firmware and ...
0
votes
2answers
57 views

Will an Arduino Uno be able to read 3x incremental encoders?

Encoders are quadrature 600ppr encoders with X2 counting. Therefore 1200 counts per revolution for each encoder. Is there an edge rate limit? I currently have one encoder hooked up using code with ...
0
votes
0answers
87 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
53 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
35 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
72 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 ...
0
votes
1answer
61 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
42 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
38 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
98 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
109 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
141 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
148 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
289 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
102 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
38 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
219 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
33 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
34 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
63 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
835 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
48 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
91 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
59 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
43 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
262 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
50 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 ...
0
votes
1answer
652 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
84 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() { ...

1 2 3 4 5 8