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.

119 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
387 views

Arduino Due - wireless programming via Xbee

I would like to integrate an Arduino Due into a project, which probably will evolve over time and will need some re-programming. Instead of having to disconnect and pull out the Arduino Due out from ...
3
votes
0answers
68 views

Black screen when using higher SPI-speed for RA8857 LCD-controller

I'm using an Arduino Due that talks via SPI to an LCD (800x480) with the RA8875 controller chip. The most recent datasheet I could find is: RA8875 datasheet. Everything works as expected when using ...
3
votes
0answers
120 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 ...
3
votes
0answers
1k views

Interfacing WM8731 code to Arduino Due

WM8731 codec was successfully interfaced with Atmega328 like variants in Arduino. It was first done successfully by Open music labs who are the makers of the breakout board for WM8731. Taking this ...
2
votes
0answers
21 views

Generating Externally Triggered Complimentary PWM with Arduino Due

I need a 2KHz complimentary PWM waves with adjustable duty and phase that is triggered by an external 4KHz source. After reading the datasheet I think there might be 2 way to do this: Use a TC unit ...
2
votes
0answers
81 views

Native USB port on custom ATSAM3x8e board not recognised in windows

I have been designing my own PCB using the atsam3x8e chip, the same as the Arduino due which I used to prototype with. So far I've managed to get my boards up and running by programming them via the ...
2
votes
0answers
37 views

Weather station project Transmitter not communicating with Receiver

I am building a weather station that contains a transmitter and a receiver and the data at the receiver's serial monitor shows either ovf, nan, 0.00 or some crazy number for the outside data (...
2
votes
0answers
44 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
391 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 ...
2
votes
0answers
177 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 ...
2
votes
1answer
2k views

Creating Sine wave with DAC and feeding it back

I want to produce Digital Sine wave send it to DAC0 and then receive it back as input on A0 and plot the graph. I am using Arduino Due. I wrote the following code: #define maxSamplesNum 120 #define ...
2
votes
0answers
281 views

Sleep mode Arduino Due through IR receiver control

I need to put my Arduino Due into sleep mode in order to consume less power. My Arduino Due receives IR data and does some work with it, but I need to make it sleep until there is no data. If data ...
2
votes
0answers
3k views

Reading Serial Data Using readBytes() and Use of Serial.read()

I'm trying to mix Serial.read() and Serial.readBytes() when reading over one of the Serial ports on my Arduino Due. I thought that using Serial.read() would clear what is on the serial, and then ...
2
votes
0answers
87 views

Bug read an image from SD card and draw it on TFT

I have developed a code to read an image stored on my SD Card and display it on a TFT. I can read the image from the SD Card successfully but I cannot draw it on the TFT. I dunno where is the bug. ...
2
votes
0answers
558 views

Arduino Due works perfectly on Windows but doesn't on Linux (SAM-BA operation failed)

I've been working with the Arduino Due for a project, we have been setting up these Arduinos with an ARM Board that hosts a Linux System with Busybox that connects to the Arduino. Recently I got ...
2
votes
0answers
562 views

ArduinoDue - Matlab: SerialUSB.write() sends ASCII?

I'm trying to get some binary data from an Arduino Due to Matlab. Basically this is the setup: Due: byte usbMsg[33]= {0}; // filled with dummy as example usbMsg[1] = '00000001';// in[3]; usbMsg[2] ...
2
votes
0answers
69 views

initial power output in the digital io pins of an Arduino controller

I am a newbie.. I am integrating Arduino controller with Matlab I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3) So when I ...
2
votes
0answers
285 views

Help with Arduino Due and APA102 LED strip Vs Matrix

I am in a fix since last one week regarding this: As mentioned in a previous question (asked here only), I have been working to develop a APA102 LED based display. Now for this I have an Arduino Due. ...
2
votes
0answers
308 views

Parallel Chaining of APA102 LED matrices

I have four APA102 LED matrices (those flexible ones) and I want to connect them together to make a display for showing images. Now my problem is this: Consider the coordinate system with four ...
2
votes
0answers
481 views

Arduino Due Serial garbage

I have made a custom board based on the Arduino Due but have some problems with the Serial communication with the 16u2 chip. i have usb connection with the 16u2 chip and was able to load the arduino-...
2
votes
0answers
346 views

Connecting Arduino Due's DAC output to pc sound card with protection

I would like to connect the DAC outputs of my arduino board to my pc sound card input so that I can use my sounds card as an osciloscope. I have two questions: 1- if I don't use an amplifier, how ...
2
votes
0answers
111 views

Reading Reveive Hold Register from USART in SPI Mode on Arduino Due

Sending with this function here works fine: uint16_t usart0spiTransfer16(uint16_t spiMessage16) { uint16_t sdo = 0; byte firstByte = spiMessage16; byte secondByte = (spiMessage16 >> ...
2
votes
0answers
287 views

Arduino Due upload firmware issue

I have Arduino Due on SAM3x8e. I'm on Ubuntu 14.04. Before today I uploaded firmware via terminal using those commands: $ stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb $ /home/q/apps/devel/...
2
votes
0answers
813 views

Arduino Due native programming port

Arduino does not recommend to program the Due board via Native port as it is not reliable: If the MCU crashed for some reason it is likely that the soft erase procedure won't work as this procedure ...
2
votes
0answers
3k views

How to use the native USB of the Arduino Due for high-speed communication?

All the Arduino examples involving communication via USB I could find use a virtual COM Port. On the Arduino part it's Serial.begin(baudrate); Serial.write(byte); And on the PC part it's just ...
2
votes
0answers
5k views

Aduino Due Can messages

I am trying to read/send CanBus messages using a Arduino Due. As of now I have used https://github.com/collin80/due_can library to setup my Can Bus interface. I am using Vector Software CanAylzer ...
2
votes
1answer
147 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 ...
1
vote
0answers
24 views

DHT-sensor-library-master

I only uploaded the library to check whether it has installed correctly. It's installed and i am having this error. Using library DHT-sensor-library-master at version 1.4.1 in folder: C:\Users\Mcniven\...
1
vote
0answers
33 views

Arduino Due Serial Port Not Showing - Mac

Using a Mac (Big Sur 11.1) When trying to set up the IDE I was able to install the package that contained the Due board, but the serial port for my Arduino Due isn't appearing in Tools -> Port ->...
1
vote
0answers
37 views

Due examples for using DFPlayer mini

After researching many sketches on interfacing with the DFPlayer Mini, all of them include softwareserial.h which the Due does not use. So are there any example sketches for the Due interfacing with a ...
1
vote
0answers
52 views

Arduino LCD only display image for few second and turn screen to white

I have a problem with my Arduino and LCD touch screen. I create a few functional button in my Arduino. One of the button is START button. Right now, I want the image is display when I touch START ...
1
vote
0answers
83 views

Writing a 32-bit register to 32 pins as fast as possible in Arduino Due

Problem: I'm using Due's QDEC function to decode a 32bit quadrature encoder. I need to pipe out the counter value as fast as possible to another instrument's DIO. The rear strip is selected as ...
1
vote
1answer
58 views

Register writing by compound assignment and pointer in Arduino due

I'm confused with register wrting method by compound assignment and/or pointer because I don't know where are some of the values come from. Example 1 REG_PMC_PCER1 |= PMC_PCER1_PID36; // Enable PWM - ...
1
vote
0answers
58 views

Maximizing SPI-speed between Arduino DUE and RA8875 display driver

For a project I would like to be able to control my RA8875 display driver as quick as possible using an Arduino due. I started from the Adafruit library and replaces all "digitalWrites" ...
1
vote
0answers
18 views

Brushless ESC Recommendations

I've got a project in which I'll be controlling 8 24V/10A brushless DC motors with an Arduino Due on a quadrupedal robot. I've been having trouble finding ESCs that would work well for this ...
1
vote
0answers
105 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
45 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
29 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 ...
1
vote
0answers
97 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
55 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
0answers
52 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) ...
1
vote
0answers
322 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 ...
1
vote
0answers
45 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) ...
1
vote
0answers
116 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
27 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 ...
1
vote
0answers
113 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 ...
1
vote
0answers
199 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 ...