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
2
votes
1answer
658 views

What protocols and tools does Arduino Due use for flashing and debugging?

I am interested in writing a simple C program outside of the Arduino IDE and respective libraries, but deploying it directly to an Arduino Due (which uses a SAM3X8E ARM MCU). I am trying to figure out ...
1
vote
3answers
175 views

Simple compiler design help: Variable length arrays in Arduino?

I'm trying to write a simple compiler in the Arduino language that I am making up for my lab. The compiler will have to be able to turn a string like this: "do command_one 3 times" into a data ...
1
vote
1answer
2k views

Arduino: ARM, MCU, SoC and RTOS

I'm trying to understand the relationship between embedded RTOSes, SoCs and chip architectures. Specifically, I have a hobby project that would involve me writing a real-time, embedded application for ...
3
votes
1answer
239 views

Is it harmful to write to unused bits in PORT registers?

Background: I'm looking at writing a library to drive an LED matrix panel (one of these:http://www.adafruit.com/product/607) from my newly acquired Arduino Due. My background is C++ programming, not ...
1
vote
0answers
117 views

Arduino DUE and a ledmatrix with issues

I am trying to code something for fun using an Arduino Due and a LED matrix. The led matrix has a backpack controller. This device is using SPI. So I connect MOSI and SCLK to their respective pins and ...
1
vote
2answers
561 views

How to interface DS1801 digital resistor with Arduino DUE SPI interface? What clock rate so use?

I am trying to program a digital resistor and set it's wiper resistance. The general circuit looks a little like this where "pot" represents the Maxim DS1801 digital resistor and DUE is, of-course the ...
1
vote
1answer
345 views

fast memory buffer and setting output state

I'm intending to set up a digital delay using a circular buffer (in SRAM) with an Arduino Due (@84MHz). The lenth of the buffer determines the delay. I need about 1us resolution and the delay needs to ...
1
vote
0answers
496 views

Has anyone modified a 16x2 LCD shield to work with Arduino DUE?

Since the DUE works on 3.3 volts has anyone successfully modified a 5V 16x2 LCD shield to work with Arduino DUE? I'm thinking 3.3V will be seen as a logic "1" by the 5V LCD shield and there are no 5V ...
0
votes
1answer
401 views

OSC parsing code. Can it be optimised?

I'm using this OSC library and TouchOSC to controls some motors. Right now I'm receiving those two kind of messages: /u/1 // move motor 1 of default steps /u/2 // move motor 2 of default ...
1
vote
0answers
470 views

Arduino Due - Multiple Serial Lines

I'm trying to interface with a serial device utilizing Serial1 (pins 18,19) on the Arduino Due. The normal serial port (Serial) is working just fine and is acting as a debug port at the moment - It's ...
0
votes
1answer
615 views

Why doesn't the Micro OLED library compile on my DUE?

I have an Arduino DUE and just got a Micro OLED display from SparkFun. Using their library, when I try to compile I get the error below. Other example code works just fine and I've programmed this ...
1
vote
1answer
449 views

Has anyone used an Arduino to transfer software to an Apple IIe?

Yes, you read that right. An Apple IIe. I have many retro computers and I was thinking that since the Apple II line of computers (especially the IIe) have pretty speedy serial ports that it should ...
1
vote
0answers
80 views

How to program your Arduino Due while its connected to a display?

Im trying to program my Arduino Due and it seems that I have to disconnect the display from it every time. Is there a work around for this? Im using a 7" TFT with a CTE TFT LCD/SD Shield with a ...
1
vote
1answer
1k views

Problem with piezo readings and Arduino Due

I'm using 1mOhm resistor in parallel to a piezo that is connected to analog1 pin on the Due, and the following code to observe the readings in the serial monitor: int piezo = A0; int threshold = ...
1
vote
0answers
219 views

Daisy Chaining USB Communication over Arduino Due

I have two Arduino Due boards. I would like to connect one to my computer through the programming port as USB Serial so that I can send it commands, but I would like it to also be able to communicate ...
0
votes
1answer
2k views

Can I drive this relay shield with an Arduino Due?

Sorry I'm new to electronics while I've some experience in coding. This let me very curious about the Arduino Due board: it is super powerful and I can run some C++ code that I can not with the normal ...
2
votes
1answer
4k views

Arduino DUE and optocoupler 4N25

I'm using an Arduino Due board with an optocoupler 4N25 to simulate a button pressed. I have to open and close a circuit that drive an actuator. In that circuit, when connected, with the tester I'm ...
0
votes
1answer
44 views

Is this set up appropriate?

Hello Internet Arduino enthusiasts! I'm totally new to Arduino and as my first project, I'd like to make a controller connected to computer A (the master) and computers B and C as 'slaves'. The ...
3
votes
1answer
275 views

Adding devices makes I2C read 0

I'm using an Arduino Due with a logic level converter to interface with two different 5v sensors via I2C. Being of poor quality, these sensors have no data sheet. When either one of these sensors is ...
0
votes
2answers
1k views

AnalogRead too slow… Faster alternative?

For a program that I'm working on, I want to get an accurate reading from a noisy pressure sensor. So, the idea that I have is to do a thousand AnalogRead commands on the same port very quickly and ...
1
vote
0answers
405 views

Interfacing arduino due to MAX5724 DAC

I have a MAX5724 8 channel 10 bit DAC's connected to a due, i believe i have it wired up correctly, however when  i try to write a value to it doesn't seem to output anything. Either i misunderstood ...
0
votes
2answers
2k views

Using a 16 bit ADC chip with arduino

I need to measure voltage between 0-10 volts using my Arduino Due. I have an ADS7805p chip, which I believe will work, but am not sure how to wire it on my breadboard. I'm used to just using the ...
0
votes
1answer
381 views

Cannot upload program to Arduino Duemilanove w/ Atmega328

This is the error I receive while trying to upload to the Arduino. I have installed FTDI drivers for mac. (http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_2_18.dmg) The board is ...
0
votes
2answers
625 views

Parse data from sensor without delimeters

Im using a variant of Arduino Due embedded on a ARM (Udoo). And I have connected a Medlab SPO2 Pearl 200 sensor to Serial1. Im just trying to parse input from Serial1 to Serial, in a human-readable ...
2
votes
1answer
4k views

How to compile code for the Arduino Due?

I have set up Eclipse to compile for the Arduino Due using all the tools shipped with the Arduino IDE 1.5.6-r2. It compiles without errors, but when uploaded, the Arduino does nothing, and isn't ...
1
vote
0answers
205 views

There is any way to simulate an arduino due? [duplicate]

As the title says there is any program that can simulate an arduino due? I like the design of Proteus 8 but he can't simulate it. Only the arduino Uno R3, Mega and another one that I forgot the name.
1
vote
2answers
1k views

Arduino Control over the internet

I am really interested in IoT (enthusiastic noob) and I would like to use the arduino board. Here are the steps according to me, with my queries: User goes to example.com/arduino_switch Interacts ...
2
votes
1answer
504 views

MCU Type ATmega16U2 not avaliable in Eclipse AVR Plugin

I am following this guide. Now I want to create the Create the "ArduinoCore library". But when I am creating a new project, I can not select ATmega16U2 as MCU type. But my Arduino Due R3-E and UNO ...
2
votes
2answers
9k views

SerialEvent handling when using multiple serial ports

I would like to use multiple (three) serial ports on an Arduino Due. Instead of polling the ports continuously, I would like to use a Serial.Event function for each of the ports. These handler ...
7
votes
3answers
6k views

Breadboard-to-Arduino wiring with flat flex cable assemblies?

I want to wire Arduino Due connectors to a breadboard 8-at-a-time, so they're easier to remove and more reliable. I tried these Flat Flex Cable Assemblies (FFC assemblies) terminated with "solder ...
2
votes
1answer
441 views

Input a signal from a sensor to an Arduino Due

I'm working with Arduino Due and I have a sensor that outputs a square signal with voltages in the range of 0-5V. In the Due specs there is a warning that says: "Warning: Unlike other Arduino ...
-5
votes
2answers
81 views

Reading speed of different arduinos

I'm thinking about using an Arduino for one of my Projekts. This would require that the Arduino can read/write a digital input/output in the order of 100kHZ to 1MHz. Is this possible or do I have to ...
1
vote
1answer
1k views

Wired serial connection between two Arduinos - do they need a common Ground (GND)?

I would like to connect two Arduinos by a serial connection. Is it sufficient to connect TX1<-->RX2 and RX1<-->TX2 or do I also need to connect the GND of the two Arduinos?
2
votes
1answer
1k views

Arduino/Arduino clone board suggestions

I am planning to buy a Arduino board. I am also considering Arduino clones, too. My requirements are that the board should inbuilt communication modes like Ethernet, WiFi and a SD card slot, too. Also ...
4
votes
0answers
385 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 ...
2
votes
1answer
736 views

Reading CMPS10 raw values

I've got a cmps10 compass module hooked up to my arduino due through a logic level converter. I am writing code to convert the raw magnetometer readings into a bearing that I can use but have run into ...
1
vote
1answer
282 views

Why doesn't the master branch BOSSA work on Arduino Due?

I have downloaded BOSSA for Linux, and have run bossash->scan. I have also tried erasing and resetting the board before scanning. It does not work. According to the Arduino website, the native USB ...
3
votes
1answer
3k views

Faster GPS update rate for parser

I really hope somebody can help me. I need help making my code receive updates faster to the parser...I need the received GPS coordinates (Latitude and Longitude) to update 5 or more times a second, ...
5
votes
1answer
16k views

How to connect 5V sensors to 3.3V digital input (Due)?

I'm completely new with Arduino and microcontrollers in general. I have several 5V sensors, and need 3.3V because that's the max for the Due. Is it possible to use a resistor to connect it to the ...
10
votes
1answer
27k views

A digital I/O pin as ground

I want an I/O pin to return current in a circuit, similarly to the function of ground. Which of these will achieve what I require? pinMode(pinnumber, OUTPUT) digitalWrite(pinnumber, LOW) or ...
12
votes
1answer
2k views

Internet connectivity for the Arduino Due using AtmelStudio?

What hardware and software solutions work and what are the tradeoffs for connecting an Arduino Due to the internet? I gather the ethernet hardware is much cheaper than WiFi hardware (€29 versus €69). ...
10
votes
1answer
3k views

How can a 5v Uno talk to a 3.3v Due?

I currently have an Uno (which operates at 5v), and I'm looking at buying a Due (which only operates at 3.3v). I'd like to make them communicate via Serial or SPI or similar, but presumably connecting ...
5
votes
1answer
1k views

Connecting breakout board to Arduino with UART

I'm using a DigiX (Arduino Due based 3.3V) board to connect to a GPRS/GSM SIM908 breakout board. The SIM908 EVB board has the following pins on its RS232: I've got all three UART TX lines hooked up ...

1
5 6 7 8
9