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
324 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 ...
10
votes
4answers
19k views

Arduino Time Clock Accuracy

I'm currently trying to create an Arduino time clock by using the PJRC Time library (http://www.pjrc.com/teensy/td_libs_Time.html). I know that since most of the Arduino boards are running with a ...
1
vote
0answers
96 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
1answer
549 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 ...
1
vote
0answers
34 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
1k 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
73 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 ...
1
vote
3answers
427 views

Why does my LED turn off automatically after about 18 seconds on its own?

I am using the Arduino Due and I am programming it with Atmel Studio 6.2. I have had a HUGE learning curve using this IDE and the Atmel ASF. Nothing is straightforward as it is in the Arduino IDE. ...
1
vote
0answers
239 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 ...
0
votes
1answer
5k views

Arduino Uno: avrdude: stk500_recv(): programmer is not responding

I have an original Arduino Uno board purchased directly from the official arduino website. I have used it successfully with IDE v1.8.5 on my Windows 10 laptop for various projects in the last 6 months....
1
vote
2answers
983 views

Analog vs Digital Accelerometers - pro's and con's? [closed]

For my project i need to measure accelerations up to 16g. My options are either digital accelerometers such as the MPU6050 or MPU9250 or an analog accelerometer such as the ADXL326. What are any ...
0
votes
3answers
3k views

Advanced ADC setup on Due (SAM3X8E) to increase precision

I want to make some precise measurements with Arduino Due. Although I'm using very good external voltage reference (LTC6655) measured data is still jumping around, especially significant when I'm ...
0
votes
2answers
2k views

The fastest way to read out a digital pin state in an Arduino Due

What is the fastest way to read a digital pin status in an Arduino Due? Is it possible to achieve speed in the Nanosecond area? With which type of code I can achieve this? Edit: This question is not ...
1
vote
1answer
138 views

Error with Sparkfun MP3 Shield and Arduino Due playing music files

The code worked on my Ardino Uno. I plugged it up the exact same way and am now getting an error. Here is the error I get when I try to upload my code to the due: Arduino: 1.8.5 (Windows 10), Board: ...
1
vote
2answers
56 views

Most efficent way to adjust value

I am working on a system that starts a process based of a set time value (startHour). The user sets the start hour and can only select values from 00-23. I have been asked to start the same process at ...
1
vote
0answers
1k views

Errors when deploying Simulink model to Arduino Due

I am trying to connect an Arduino Due to Simulink to run it in external mode. I am unable to successfully deploy to hardware. I'm testing it with a blinking light model: A pulse generator connected ...
0
votes
2answers
2k views

LCD not displaying text

I am working with an Arduino due and currently using the Arduino liquid crystal library to display data on an LCD screen (mc42004A6wk-bnmlw) which uses the Hitachi HD44780 controller. The LCD has been ...
1
vote
2answers
140 views

Porting the FastNoise c++ library to Due

I'm trying to use the FastNoise library with a Due, however, I get something like the following errors, when I try to complie. error: 'abs' was not declared in this scope error: 'mt19937' is not a ...
1
vote
1answer
533 views

Trouble configuring Arduino Due SPI to ADC

I am having trouble configuring Arduino Due SPI to an AD7490 ADC. Here is how I have the pins connected: +3.3V > 7490 pin 22 Vin +3.3V > 7490 Vref DUE CS (8) > 7490 pin 20 SS - slave select) DUE ...
3
votes
1answer
261 views

Arduino Due randomly slows down, serial communications stops

I've got an Arduino Due connected to a Raspberry Pi via Serial3. The Due will randomly stop sending data to the Pi after a few days, or sometimes after several hours. Using an oscilloscope, I can see ...
1
vote
1answer
518 views

16 bit SPI on Arduino Due

I'm trying to control AD7091-8 using Arduino Due. This IC calls for 16 bit SPI R/W. I'd read that I can change the transmit and receive bits of Arduino DUE by changing a register (bits 4-7 of SPI_CSR)...
1
vote
1answer
3k views

Arduino Due not executing code after power on

My Arduino Due does not execute its code when powered on after being powered off for ten seconds or longer. I have to press the reset button for the code to execute. I've read some older threads ...
1
vote
4answers
2k views

How to speed up Due ADC

I'm doing a project where in I'm using Arduino Due to measure the time difference of arrival of signals to four piezoelectric sensors. The piezo sensors where glued on a board and we want to localize ...
0
votes
1answer
44 views

ESP8266EX along with Arduino Due rev3 to check wifi status

Hi i am using ESP8266EX along with Arduino Due rev3 to check wifi status. when i compile my following sketch compiler give me error User\Awais\Document\Arduino\liberaries\espsoftserialmaster\...
0
votes
1answer
79 views

MAX232 chip fails to initialize properly with arduino

I have connected a MAX232 chip for RS232 communication with my Arduino. The chip input is connected to Arduino Tx and it is getting power from external 3.3 volt dc power source. My Arduino is also ...
0
votes
2answers
1k views

Using Due (SAM3X8E) native USB port for programming?

I would like to make my own version of the Arduino Due. What I can't find the answer to is; Can I program a blank SAM3X8E using the native USB port from within the Arduino IDE, or do I first need to ...
1
vote
1answer
103 views

Garbled high bits on serial output

I'm trying to send the byte 0x5A (0b01011010) on the serial output of an Arduino Due. My program is based on this example project, but I've stripped out all the unrelated parts: #![feature(lang_items)...
0
votes
2answers
6k views

How to give an analog output of 0-5V

I'm trying to program an Arduino to control a motor at different intensities by giving a 0-5V reference value from the board. I have some programming experience, but have very little knowledge of ...
-1
votes
1answer
133 views

ssPin, resetPin, updatePin, ps0, ps1, osk - was not declared in this scope

The code below produces the error: ssPin was not declared in this scope This error is repeated for all elements of DDS, i.e. ssPin, resetPin, updatePin, ps0, ps1 and osk Can anyone spot the ...
1
vote
3answers
13k views

Plotting a real time graph of sensor data from Arduino on Processing, MatLab or Python

I have an accelerometer connected to my Arduino Due to spit out data on my serial monitor as described in my earlier post. I'm trying to find a sketch I could use to plot a continuous real-time graph ...
1
vote
0answers
35 views

Connecting Arduino with GPS receiver

I have the components as shown and I installed the TinyGPS library. I'm pretty new to hardware stuff and I'm not sure if these wires would work? (pins on both sides) The GPS module has 5 pins - GND,...
1
vote
0answers
289 views

Blink example compilation error

I just installed the Arduino IDE on Mac and connected the programming port to my Arduino Due. I selected the corresponding board from Tools (though not sure which ATMEL programmer I should choose) I ...
0
votes
2answers
2k views

Can all Arduino Due pins be used as digital input/output?

I am using an Arduino Due for a project. I am running out of digital pins, using 22 to 53. Can pins 0 to 13 and SCL1, SDA1 be used as digital inputs? How about analog pins (A0 to A11) and DACs? ...
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 ...
0
votes
1answer
527 views

Utilizing two different serial ports simultaneously on a due

I am trying to understand how the serial ports are configured on the due board. Please correct me if i'm wrong, but to my understanding, the due has: Four separate serial ports ("serial", and "serial ...
0
votes
1answer
8k views

Code example SPI multiple slaves Arduino DUE

I'm trying to get 2 devices (camera and sd card)to work on the SPI interface with an Arduino DUE. I'm having trouble finding example code online showing how to communicate with multiple slaves on the ...
4
votes
2answers
184 views

FastLed LED Strip Output Checksum

I am wondering if anyone has ever connected the output of their LED strip back to the Arduino to read and make sure the strip is functioning correctly, kinda like checksum functionality. I am using ...
0
votes
1answer
93 views

Rc receiver giving wrong values when controlling servo

So I'm building a helicopter. That why I need a receiver (tgy 9x) to read the values from my controller. Those values get passed to my Arduino due where some calculation happen and then get sent to ...
0
votes
2answers
1k views

Increase Serial Rx buffer

I am working with an Arduino Due and I am having some issue with the serial Rx buffers size. I am using a GSM module and some of the replies to the Arduino exceed the number of bytes I can store in ...
0
votes
1answer
764 views

Measuring ADC sample rate - Arduino DUE

I want to measure the conversion rate of an arduino DUE. I know I could just take it from the datasheet but I need to measure it because I am running the ADC in free running mode. Hints are welcome, I ...
-2
votes
1answer
121 views

USB reset fails on arduino due because of 5v on digital pins

I have the signal channels of four 5v magnetic encoders connected directly to the digital pins of the arduino due. I am aware that this is not allowed according to the specification which says that ...
0
votes
2answers
386 views

Arduino Due & Spec gas sensor - how to choose specific information from a stream of incoming bytes to store

I'm trying to build an air pollution sensor for a college project, with an Arduino Due and a series of Spec Sensors digital gas detectors. However, I'm having a little trouble getting the first one of ...
9
votes
3answers
17k views

SAM3X8E (Arduino Due) Pin IO registers

How do the IO registers of Arduino Due work? On Arduino Uno just set DDRx, then PINx to read, PORTx to write, I'd like to do the same thing with an Arduino Due, but it has many more registers, such as ...
0
votes
1answer
821 views

How to use an external clock with the Due timer?

I want to use an external clock signal as an interrupt for the Due timer. How do I do that? I could not find any info on this on the net.
0
votes
1answer
89 views

Digital Pins reads 1 when configured with internal_pullup

I work with Arduino DUE. I would like to configure few of my digital pins as INPUT pins. When the µc sets these particular 4 pins , the DUE must be activated. Something like a DATAREADY pin in the SPI,...
0
votes
2answers
2k views

Arduino DUE samples per second with the DAC

I want to know how many samples per second the arduino due DAC can generate, I need to generate an ultrasonic signal (40Khz), the arduino due is not going to do anything else that generate this ...
0
votes
1answer
391 views

Arduino DUE as a FTDI programmer

I want to use Arduino DUE board as a FTDI programmer. The task is to program ESP32 module which is connected to the Arduino Serial port. I can use only DUE Native port. There is no DUE programming ...
0
votes
1answer
99 views

Using digital pins 0/1 on Arduino Due when writing/reading over serialUSB port

I am aware that you cannot use pins 0 and 1 as digital pinouts when communicating over serial via serial.print(), but what if you are using the native port on the due with serialUSB.write()? Thanks
0
votes
3answers
2k views

IR controlled light dimmer

I am doing a project on Arduino controlled light dimmer circuit... I have a separate circuit for zero crossing detector and IR receiver but when I am combining both of them in arduino then my IR ...
0
votes
1answer
195 views

Arduino due temperature reading shows random temperatures

I am using an Arduino Due board to read three temperatures from three separate smt160-30 digital sensors but the program is behaving very randomly. the code I am using is one I got from arduino ...

1 2 3
4
5
9