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.
440
questions
1
vote
0answers
35 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
60 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)...
1
vote
0answers
79 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
402 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 ...
1
vote
0answers
36 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 ...
1
vote
0answers
316 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 ...
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
518 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
32 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
70 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
0answers
234 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 ...
1
vote
2answers
919 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
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
1answer
136 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 ...
2
votes
4answers
4k views
How to package a 16 bit integer to send it with serial.write?
I am trying to display the values i get from reading a potentiometer (0-1023) in the program called 'processing'.
when I just use Serial.write(integer) and display the value on a line graph in '...
0
votes
1answer
1k views
Triggering an SPI transfer with an interrupt in Arduino Due
I have a DDS that is controlled by an Arduino DUE, loop() waits for Serial commands and based on them calls one or another function that sets the DDS's frequency, phase, amplitude etc via SPI. In ...
1
vote
2answers
134 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
514 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 ...
1
vote
1answer
260 views
void loop() stops running after an hour or so
So I have a program that measures temperature and humidity over time. Here isthe code I use:
#include <SD.h>
#include <SPI.h>
#include <DHT.h>
#include <Wire.h>
#include "...
1
vote
1answer
499 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)...
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
64 views
Output set to 'low' when new variable in buffer
I would like to turn on and off the output of two pins on my arduino independently from each other. However, so far all my attempts have failed.
My current idea is to save the status (which I chose ...
0
votes
1answer
77 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
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
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
280 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 ...
1
vote
1answer
2k views
fatal error: avr\wdt.h: No such file or directory in arduino due
I am using Arduino DUE for vehicle tracking gps/gprs device. Before using Arduino DUE I used Arduino UNO. When I am trying to load my code in Arduino DUE It shows me "fatal error: avr\wdt.h: No such ...
0
votes
1answer
509 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 ...
4
votes
2answers
180 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
91 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
372 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 ...
-2
votes
1answer
119 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
1answer
88 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,...
2
votes
0answers
383 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 ...
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 ...
0
votes
2answers
770 views
Code compatibility with Arduino Due
I am currently working on a quadcopter project that involves an MPU6050 accelerometer+gyroscope module, an ultrasonic sensor and control of electronic speed controllers. I have used existing examples ...
0
votes
1answer
97 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
-2
votes
1answer
3k views
Only getting error from ESP8266 AT commands
I am trying to get the ESP8266 work with Arduino AT commands. I am using the due. How do I get the ESP8266 to respond with anything other than ERROR?
Here is the current serial output:
AT
ERROR
...
-1
votes
1answer
2k views
analogWrite(DAC0, X), Analog voltage on DAC0 pin is higher for lower X value - is this normal?
I am using an Arduino DUE. Using the analogWrite(DAC0, X) command I am writing an analog value to this pin. X = 0 - 255 as I understand it.
I am observing that when X is lower, the voltage on DAC0 ...
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 ...
-2
votes
1answer
363 views
Power Arduino Due and 6 servo motor with Battery [closed]
I would like to create a project contains 6 servo motors and Arduino Due board, but I have no idea how to operate should I use only a 9V battery only or in addition to 4 AAA battery?
1
vote
1answer
911 views
Communication over UDP between Dues with Arduino WiFi Shield
I'm using the Arduino WiFi Shield to make two Arduinos Due communicate using UDP. The first node to send a message (the Client) doesn't always receive a reply from the other node (the Server). The ...
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 ...
8
votes
4answers
1k views
delay(time); vs if(millis()-previous>time); and drift
Going through an old project, I had code on two Arduino Due that looked like this
void loop()
{
foo();
delay(time);
}
taking to heart the majority of literature on using delay(); I recoded this ...
1
vote
1answer
102 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
17k views
How to connect Arduino 5v pin with multiple things?
I am trying to connect a Bluetooth module and a gas sensor to Arduino.
Bluetooth module: HM-10
Gas sensor: MQ-2
I read the guides for the HM-10 and MQ-2 and they both need to use the Arduino's 5v ...
0
votes
0answers
212 views
Use of a logic level converter with Arduino Due PWM
Maybe I am way over my head here, but here it is:
I am trying to regulate a spindle RPM. The tachymeter part is now working flawlessly.
Now I am on the PID part, to control and regulate that speed. ...