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
0answers
16 views

TFT menu system sometimes doesn't refresh the screen properly

I have a project in which I control a display using an Arduino Due microcontroller. The user can navigate on the TFT display (RA8875 driver ic) with a rotary enconder/pushbutton. The display shows a ...
1
vote
0answers
34 views

Connect output of Arduino DUE to input of Arduino Uno

I have a distance sensor connected to an Arduino DUE and I want to wire its output to an Arduino UNO. In Arduino DUE, after calculating the distance, I convert a range of distances (0-10cm) to Volts (...
1
vote
0answers
17 views

How to access bootloader recovery mode (like the Micro) or equivalent on the Due?

I would eventually like to use a Due as a custom USB device PC-side (through programming port) while using it as a USB Host on the native port. Adding the programming port endpoints (perhaps willingly ...
2
votes
0answers
18 views

Getting atsam3x8e (Arduino Due) to work

I decided to make a pcb based on the atsam3x8e (microcontroller used in Arduino Due). For the design I copied most of the layout that I found on this site and looked at the official Arduino Due ...
0
votes
1answer
32 views

How to break out the due power supply and USB connectors?

I am planning a build with my own enclosure for the arduino due. As an alternative i would like to bypass the power jack and usb port that are factory soldered onto the board, in order to use jacks ...
2
votes
1answer
25 views

Reset a UART connection on a Due

I have a system that involves an Arduino Due connected to a Raspi 4 through UART in which the Due sends a heartbeat signal over UART for the pi to receive and send back as confirmation. One of the ...
0
votes
0answers
24 views

Arduino Due Master Programming

I am newbie. In my application Arduino Due is configured as Master and Arduino Uno as Slave. I need to transfer 24-bit Hexadecimal data of about 79-registers to slave device. At the slave end in ...
0
votes
0answers
27 views

arduino due: how to read more than one byte at a time in serial uart with tfmini liar sensor

I'm trying read tfmini lidar sensor from arduino due board with uart. Here i can read only one byte at a time using serail.read() method but i need to read 9 byte at a time and store it in array. ...
0
votes
1answer
99 views

SPI Slave Programming for Arduino

In my application Arduino Due is configured as master and instead of the actual slave device I am making use of Arduino Uno as Slave.I will share the Master code which I have worked out. Can Anyone ...
0
votes
1answer
34 views

Ardiuno DUE board. Sketch uploading Error

I am working on Arduino UDE board in Ubuntu 18.04. I've followed following link tutorial. https://www.arduino.cc/en/Guide/ArduinoDue#:~:text=Use%20your%20Arduino%20Due%20on%20the%20Arduino%20Desktop%...
0
votes
0answers
59 views

Arduino Due with Logitech F710 gamepad

I'm having Arduino Due board and Logitech F710 Wireless Gamepad. I have connected the receiver dongle to native port of Due board via OTG cable. As the native usb host library supports only keyboard ...
0
votes
0answers
25 views

Does DFR0063 I2C LCD work with Arduino Due? I cannot even pass i2C scanner

I have 2 Due and Two DFR0063 I2C LCD. I cannot even pass i2C scanner. I always got No I2C devices found. I tried both SCL/SDA and SCL1/SDA1. For SCL1/SDA1, I do add 10K pull up resister. But still ...
0
votes
1answer
32 views

Arduino Due SPI clock pauses each octet

I'm trying to communicate with SPI slave using Arduino DUE as master. Device requires commands to be 32 bit wide, SPI mode 3. I've ran the minimum code (using Arduino IDE 1.8.12) to send some 32 bit ...
0
votes
1answer
47 views

Is it possible to count rising edges of a 4 MHz clock on an Arduino Due and trigger an interrupt like all 4'000'000 edges?

I am struggling with my Arduino Due and the Timer Counter functionallity. The following is what I am trying to achieve: I want to execute a function to a specific point of time or more precisley ...
1
vote
1answer
125 views

Does the MKR WIFI 1010 support the arduino mouse and keyboard controller?

I am working on a project right now that needs to connect to my computer via bluetooth and access the arduino mouse and keyboard library. In my research, I've found that only the Leonardo, Due, and ...
0
votes
0answers
76 views

How to use NVM or EEPROM on SAMD51?

I had to upgrade to Arduino Grand Central M4 ( running SAMD51 ) due to large code and demanding memory . I know SAMD51 does not have a classic EEPROM but it still has NVM for user data storage between ...
0
votes
0answers
52 views

MLX90129 - SPI protocol

I don't know if someone has already worked with the MLX90129. Right now, I'm trying to establish the SPI protocol between MLX90129 and an Arduino. I'm using the example that it is showed in the ...
1
vote
2answers
52 views

Use of “static” with “RTClib”

I've got a question concerning the Arduino library "RTClib" by Adafruit and the use of the word "static". Here you can see an excerpt from the example provided for the pcf8523 real-time clock: #...
1
vote
0answers
25 views

Why calling digitaWrite(pinNum,HIGH) before setup() not working? [duplicate]

I am writing a library to operate a linear actuator, let's call the library ActuatorV2. It is composed of two files, a .h and and .cpp files. To create an object, I instantiate the object as follows ...
0
votes
0answers
27 views

How to calibrate Arduino DUE analog readings?

I am having a problem with the analog readings on my Due. On pin A4 and A5 I am measuring voltages: double vcc = 3.288 // taken on pin 75 (ADVREF) ; analogReadResolution(12); result = analogRead(A4) ...
0
votes
0answers
18 views

File location of core libraries used in arduino Due

I am creating a library for arduino DUE that assumes the core libraries are installed. Where are these files located? I am using a different IDE to write the code since its much easier and it is my ...
1
vote
1answer
70 views

Set SPI MOSI pin to idle low on a Due?

I have an SPI slave connected to Due. I send the SPI slave into sleep mode. During sleep, I need to pull all pins low, including MOSI. What's the best way to pull the SPI-4 pin low on a Due? Here's a ...
1
vote
1answer
59 views

Home made drum kit - How can I speed up the response time after my sensor gets triggered?

I am trying to make a psudo drum kit with my Arduino Due and a couple Force Sensitive Resistors (activated with my fingers, no drum sticks). So far in my testing I'm only using one FSR. I've attached ...
0
votes
1answer
39 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
132 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
34 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
90 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 ...
4
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
40 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
127 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
43 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
80 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
115 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
76 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
44 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
43 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
72 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
53 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, ...
1
vote
1answer
80 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
30 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
339 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
24 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
57 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
77 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
148 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
59 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
54 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
85 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
143 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
59 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 ...

1
2 3 4 5
9